1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info
*swig_types
[161];
2623 static swig_module_info swig_module
= {swig_types
, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2649 #define SWIG_name "_windows_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2757 int res
= SWIG_AsVal_long (obj
, &v
);
2758 if (SWIG_IsOK(res
)) {
2759 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2760 return SWIG_OverflowError
;
2762 if (val
) *val
= static_cast< int >(v
);
2770 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2772 if (obj
== Py_True
) {
2773 if (val
) *val
= true;
2775 } else if (obj
== Py_False
) {
2776 if (val
) *val
= false;
2780 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2781 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2787 #define SWIG_From_long PyInt_FromLong
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_int (int value
)
2793 return SWIG_From_long (value
);
2798 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2800 if (PyNumber_Check(obj
)) {
2801 if (val
) *val
= PyFloat_AsDouble(obj
);
2804 return SWIG_TypeError
;
2808 #define SWIG_From_double PyFloat_FromDouble
2810 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2811 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2812 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2813 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2814 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2818 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2820 self
->GetFieldRect(i
, r
);
2823 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2827 #include <wx/popupwin.h>
2830 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2835 : wxPopupTransientWindow(parent
, style
) {}
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2838 DEC_PYCALLBACK__(OnDismiss
);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2849 #include <wx/tipwin.h>
2851 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2852 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2855 #include <wx/tipwin.h>
2858 #include <wx/vscroll.h>
2861 class wxPyVScrolledWindow
: public wxVScrolledWindow
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867 wxPyVScrolledWindow(wxWindow
*parent
,
2868 wxWindowID id
= wxID_ANY
,
2869 const wxPoint
& pos
= wxDefaultPosition
,
2870 const wxSize
& size
= wxDefaultSize
,
2872 const wxString
& name
= wxPyPanelNameStr
)
2873 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2876 // Overridable virtuals
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2905 // this function should return the best guess for the total height it may
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2910 // Also expose some other interesting protected methods
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2935 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2938 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2939 return SWIG_TypeError
;
2942 *val
= (unsigned long)v
;
2947 SWIGINTERNINLINE
int
2948 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2951 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2952 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2957 SWIGINTERNINLINE PyObject
*
2958 SWIG_From_unsigned_SS_long (unsigned long value
)
2960 return (value
> LONG_MAX
) ?
2961 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_size_t (size_t value
)
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2972 #include <wx/vlbox.h>
2974 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2976 class wxPyVListBox
: public wxVListBox
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2980 wxPyVListBox() : wxVListBox() {}
2982 wxPyVListBox(wxWindow
*parent
,
2983 wxWindowID id
= wxID_ANY
,
2984 const wxPoint
& pos
= wxDefaultPosition
,
2985 const wxSize
& size
= wxDefaultSize
,
2987 const wxString
& name
= wxPyVListBoxNameStr
)
2988 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2991 // Overridable virtuals
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2999 // the derived class must implement this method to return the height of the
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3014 // this method is used to draw the items background and, maybe, a border
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3032 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3036 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3037 unsigned long cookie
= 0;
3038 int selected
= self
->GetFirstSelected(cookie
);
3039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3040 PyObject
* tup
= PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3042 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3043 wxPyEndBlockThreads(blocked
);
3046 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3047 int selected
= self
->GetNextSelected(cookie
);
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3051 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3052 wxPyEndBlockThreads(blocked
);
3056 #include <wx/htmllbox.h>
3059 class wxPyHtmlListBox
: public wxHtmlListBox
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3065 wxPyHtmlListBox(wxWindow
*parent
,
3066 wxWindowID id
= wxID_ANY
,
3067 const wxPoint
& pos
= wxDefaultPosition
,
3068 const wxSize
& size
= wxDefaultSize
,
3070 const wxString
& name
= wxPyVListBoxNameStr
)
3071 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3074 // Overridable virtuals
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3083 // These are from wxVListBox
3084 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3085 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3088 // // this method allows to customize the selection appearance: it may be used
3089 // // to specify the colour of the text which normally has the given colour
3090 // // colFg when it is inside the selection
3092 // // by default, the original colour is not used at all and all text has the
3093 // // same (default for this system) colour inside selection
3094 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3096 // // this is the same as GetSelectedTextColour() but allows to customize the
3097 // // background colour -- this is even more rarely used as you can change it
3098 // // globally using SetSelectionBackground()
3099 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3106 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3108 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3109 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3110 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3111 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3117 #ifndef wxHAS_TASK_BAR_ICON
3118 // implement dummy classes for platforms that don't have it
3120 class wxTaskBarIcon
: public wxEvtHandler
3123 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3127 class wxTaskBarIconEvent
: public wxEvent
3130 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3131 { wxPyRaiseNotImplemented(); }
3132 virtual wxEvent
* Clone() const { return NULL
; }
3133 bool IsOk() const { return false; }
3134 bool IsIconInstalled() const { return false; }
3135 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3136 bool RemoveIcon() { return false; }
3137 bool PopupMenu(wxMenu
*menu
) { return false; }
3141 wxEVT_TASKBAR_MOVE
= 0,
3142 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3143 wxEVT_TASKBAR_LEFT_UP
= 0,
3144 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3145 wxEVT_TASKBAR_RIGHT_UP
= 0,
3146 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3147 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3152 // Otherwise make a class that can virtualize CreatePopupMenu
3153 class wxPyTaskBarIcon
: public wxTaskBarIcon
3155 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3157 wxPyTaskBarIcon() : wxTaskBarIcon()
3160 wxMenu
* CreatePopupMenu() {
3161 wxMenu
*rval
= NULL
;
3163 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3164 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3167 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3169 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3174 wxPyEndBlockThreads(blocked
);
3176 rval
= wxTaskBarIcon::CreatePopupMenu();
3183 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3187 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3191 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3192 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3193 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3194 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3195 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3196 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3197 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3199 self
->GetFilenames(arr
);
3200 return wxArrayString2PyList_helper(arr
);
3202 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3204 self
->GetPaths(arr
);
3205 return wxArrayString2PyList_helper(arr
);
3207 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3208 return wxArrayInt2PyList_helper(self
->GetSelections());
3210 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
){
3211 return new wxSingleChoiceDialog(parent
, message
, caption
,
3212 choices
, choices_array
, NULL
, style
, pos
);
3214 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3218 // C++ version of Python aware wxWindow
3219 class wxPyWindow
: public wxWindow
3221 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3223 wxPyWindow() : wxWindow() {}
3224 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3225 const wxPoint
& pos
= wxDefaultPosition
,
3226 const wxSize
& size
= wxDefaultSize
,
3228 const wxString
& name
= wxPyPanelNameStr
)
3229 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3231 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3233 bool DoEraseBackground(wxDC
* dc
) {
3235 return wxWindow::DoEraseBackground(dc
->GetHDC());
3237 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3243 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3244 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3245 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3246 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3248 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3249 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3250 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3252 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3253 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3255 DEC_PYCALLBACK__(InitDialog
);
3256 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3257 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3258 DEC_PYCALLBACK_BOOL_(Validate
);
3260 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3261 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3262 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3264 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3265 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3267 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3268 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3270 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3272 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3277 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3279 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3280 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3281 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3282 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3288 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3289 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3291 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3292 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3293 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3294 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3296 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3298 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3303 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3304 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3306 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3308 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3310 // C++ version of Python aware wxPanel
3311 class wxPyPanel
: public wxPanel
3313 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3315 wxPyPanel() : wxPanel() {}
3316 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3317 const wxPoint
& pos
= wxDefaultPosition
,
3318 const wxSize
& size
= wxDefaultSize
,
3320 const wxString
& name
= wxPyPanelNameStr
)
3321 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3323 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3324 bool DoEraseBackground(wxDC
* dc
) {
3326 return wxWindow::DoEraseBackground(dc
->GetHDC());
3328 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3335 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3336 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3337 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3338 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3340 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3344 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3345 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3347 DEC_PYCALLBACK__(InitDialog
);
3348 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3349 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3350 DEC_PYCALLBACK_BOOL_(Validate
);
3352 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3353 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3354 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3356 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3357 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3359 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3360 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3362 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3364 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3369 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3371 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3372 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3373 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3374 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3376 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3380 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3381 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3383 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3384 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3385 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3386 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3388 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3390 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3392 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3395 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3396 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3398 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3400 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3402 // C++ version of Python aware wxScrolledWindow
3403 class wxPyScrolledWindow
: public wxScrolledWindow
3405 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3407 wxPyScrolledWindow() : wxScrolledWindow() {}
3408 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3409 const wxPoint
& pos
= wxDefaultPosition
,
3410 const wxSize
& size
= wxDefaultSize
,
3412 const wxString
& name
= wxPyPanelNameStr
)
3413 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3415 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3416 bool DoEraseBackground(wxDC
* dc
) {
3418 return wxWindow::DoEraseBackground(dc
->GetHDC());
3420 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3426 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3427 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3428 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3429 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3431 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3432 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3433 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3435 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3436 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3438 DEC_PYCALLBACK__(InitDialog
);
3439 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3440 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3441 DEC_PYCALLBACK_BOOL_(Validate
);
3443 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3444 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3445 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3447 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3448 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3450 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3451 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3453 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3455 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3460 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3462 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3463 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3464 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3465 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3467 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3468 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3469 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3471 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3472 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3474 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3475 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3476 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3477 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3479 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3481 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3483 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3484 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3486 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3487 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3489 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3491 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3494 #include "wx/wxPython/printfw.h"
3497 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3498 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3499 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3501 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3502 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3503 self
->GetPrivDataLen());
3504 wxPyEndBlockThreads(blocked
);
3507 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3508 if (! PyString_Check(data
)) {
3509 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3510 "Expected string object"));
3514 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3515 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3516 wxPyEndBlockThreads(blocked
);
3520 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3522 // Since this one would be tough and ugly to do with the Macros...
3523 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3524 bool hadErr
= false;
3527 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3528 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3529 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3530 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3533 val
= PyTuple_GetItem(result
, 0);
3534 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3537 val
= PyTuple_GetItem(result
, 1);
3538 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3541 val
= PyTuple_GetItem(result
, 2);
3542 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3545 val
= PyTuple_GetItem(result
, 3);
3546 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3553 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3558 wxPyEndBlockThreads(blocked
);
3560 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3565 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3566 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3567 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3568 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3569 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3570 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3571 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3577 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3578 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3581 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3582 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3585 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3586 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3587 PyObject* win = wxPyMake_wxObject(a,false); \
3588 PyObject* dc = wxPyMake_wxObject(&b,false); \
3589 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3593 wxPyEndBlockThreads(blocked); \
3595 rval = PCLASS::CBNAME(a, b); \
3602 class wxPyPrintPreview
: public wxPrintPreview
3604 DECLARE_CLASS(wxPyPrintPreview
)
3606 wxPyPrintPreview(wxPyPrintout
* printout
,
3607 wxPyPrintout
* printoutForPrinting
,
3608 wxPrintDialogData
* data
=NULL
)
3609 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3611 wxPyPrintPreview(wxPyPrintout
* printout
,
3612 wxPyPrintout
* printoutForPrinting
,
3614 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3617 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3618 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3619 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3620 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3621 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3622 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3623 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3628 // Stupid renamed classes... Fix this in 2.5...
3629 #if defined(__WXMSW__)
3630 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3631 #elif defined(__WXMAC__)
3632 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3634 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3637 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3638 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3639 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3640 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3641 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3642 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3643 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3646 class wxPyPreviewFrame
: public wxPreviewFrame
3648 DECLARE_CLASS(wxPyPreviewFrame
)
3650 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3651 const wxString
& title
,
3652 const wxPoint
& pos
= wxDefaultPosition
,
3653 const wxSize
& size
= wxDefaultSize
,
3654 long style
= wxDEFAULT_FRAME_STYLE
,
3655 const wxString
& name
= wxPyFrameNameStr
)
3656 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3659 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3660 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3662 DEC_PYCALLBACK_VOID_(Initialize
);
3663 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3664 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3669 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3671 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3672 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3673 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3676 class wxPyPreviewControlBar
: public wxPreviewControlBar
3678 DECLARE_CLASS(wxPyPreviewControlBar
)
3680 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3683 const wxPoint
& pos
= wxDefaultPosition
,
3684 const wxSize
& size
= wxDefaultSize
,
3686 const wxString
& name
= wxPyPanelNameStr
)
3687 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3690 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3692 DEC_PYCALLBACK_VOID_(CreateButtons
);
3693 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3698 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3699 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3700 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3705 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
= 0;
3707 wxWindow
*arg1
= (wxWindow
*) 0 ;
3708 int arg2
= (int) (int)-1 ;
3709 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3710 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3711 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3712 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3713 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3714 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3715 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3716 wxPanel
*result
= 0 ;
3725 bool temp6
= false ;
3726 PyObject
* obj0
= 0 ;
3727 PyObject
* obj1
= 0 ;
3728 PyObject
* obj2
= 0 ;
3729 PyObject
* obj3
= 0 ;
3730 PyObject
* obj4
= 0 ;
3731 PyObject
* obj5
= 0 ;
3732 char * kwnames
[] = {
3733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3738 if (!SWIG_IsOK(res1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3744 if (!SWIG_IsOK(ecode2
)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3747 arg2
= static_cast< int >(val2
);
3752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3758 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3762 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3763 if (!SWIG_IsOK(ecode5
)) {
3764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3766 arg5
= static_cast< long >(val5
);
3770 arg6
= wxString_in_helper(obj5
);
3771 if (arg6
== NULL
) SWIG_fail
;
3776 if (!wxPyCheckForApp()) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3797 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3798 PyObject
*resultobj
= 0;
3799 wxPanel
*result
= 0 ;
3801 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3803 if (!wxPyCheckForApp()) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (wxPanel
*)new wxPanel();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3816 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
= 0;
3818 wxPanel
*arg1
= (wxPanel
*) 0 ;
3819 wxWindow
*arg2
= (wxWindow
*) 0 ;
3820 int arg3
= (int) (int)-1 ;
3821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3825 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3826 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3839 bool temp7
= false ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3842 PyObject
* obj2
= 0 ;
3843 PyObject
* obj3
= 0 ;
3844 PyObject
* obj4
= 0 ;
3845 PyObject
* obj5
= 0 ;
3846 PyObject
* obj6
= 0 ;
3847 char * kwnames
[] = {
3848 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3853 if (!SWIG_IsOK(res1
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3856 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3858 if (!SWIG_IsOK(res2
)) {
3859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3861 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3864 if (!SWIG_IsOK(ecode3
)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3867 arg3
= static_cast< int >(val3
);
3872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3882 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3883 if (!SWIG_IsOK(ecode6
)) {
3884 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3886 arg6
= static_cast< long >(val6
);
3890 arg7
= wxString_in_helper(obj6
);
3891 if (arg7
== NULL
) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3918 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3919 PyObject
*resultobj
= 0;
3920 wxPanel
*arg1
= (wxPanel
*) 0 ;
3923 PyObject
*swig_obj
[1] ;
3925 if (!args
) SWIG_fail
;
3927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3928 if (!SWIG_IsOK(res1
)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3931 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 (arg1
)->SetFocusIgnoringChildren();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_Py_Void();
3945 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
= 0;
3947 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3948 SwigValueWrapper
<wxVisualAttributes
> result
;
3951 PyObject
* obj0
= 0 ;
3952 char * kwnames
[] = {
3953 (char *) "variant", NULL
3956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3959 if (!SWIG_IsOK(ecode1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3962 arg1
= static_cast< wxWindowVariant
>(val1
);
3965 if (!wxPyCheckForApp()) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3978 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
3982 return SWIG_Py_Void();
3985 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3986 return SWIG_Python_InitShadowInstance(args
);
3989 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
= 0;
3991 wxWindow
*arg1
= (wxWindow
*) 0 ;
3992 int arg2
= (int) (int)-1 ;
3993 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3994 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3997 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3998 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3999 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4000 wxScrolledWindow
*result
= 0 ;
4009 bool temp6
= false ;
4010 PyObject
* obj0
= 0 ;
4011 PyObject
* obj1
= 0 ;
4012 PyObject
* obj2
= 0 ;
4013 PyObject
* obj3
= 0 ;
4014 PyObject
* obj4
= 0 ;
4015 PyObject
* obj5
= 0 ;
4016 char * kwnames
[] = {
4017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4022 if (!SWIG_IsOK(res1
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4028 if (!SWIG_IsOK(ecode2
)) {
4029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4031 arg2
= static_cast< int >(val2
);
4036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4046 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4047 if (!SWIG_IsOK(ecode5
)) {
4048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4050 arg5
= static_cast< long >(val5
);
4054 arg6
= wxString_in_helper(obj5
);
4055 if (arg6
== NULL
) SWIG_fail
;
4060 if (!wxPyCheckForApp()) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4081 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4082 PyObject
*resultobj
= 0;
4083 wxScrolledWindow
*result
= 0 ;
4085 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4087 if (!wxPyCheckForApp()) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
= 0;
4102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4103 wxWindow
*arg2
= (wxWindow
*) 0 ;
4104 int arg3
= (int) (int)-1 ;
4105 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4106 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4107 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4108 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4109 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4110 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4111 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4123 bool temp7
= false ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4127 PyObject
* obj3
= 0 ;
4128 PyObject
* obj4
= 0 ;
4129 PyObject
* obj5
= 0 ;
4130 PyObject
* obj6
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4140 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4142 if (!SWIG_IsOK(res2
)) {
4143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4148 if (!SWIG_IsOK(ecode3
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4151 arg3
= static_cast< int >(val3
);
4156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4166 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4167 if (!SWIG_IsOK(ecode6
)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4170 arg6
= static_cast< long >(val6
);
4174 arg7
= wxString_in_helper(obj6
);
4175 if (arg7
== NULL
) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4202 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4209 int arg6
= (int) 0 ;
4210 int arg7
= (int) 0 ;
4211 bool arg8
= (bool) false ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4230 PyObject
* obj2
= 0 ;
4231 PyObject
* obj3
= 0 ;
4232 PyObject
* obj4
= 0 ;
4233 PyObject
* obj5
= 0 ;
4234 PyObject
* obj6
= 0 ;
4235 PyObject
* obj7
= 0 ;
4236 char * kwnames
[] = {
4237 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4242 if (!SWIG_IsOK(res1
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4245 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4247 if (!SWIG_IsOK(ecode2
)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4250 arg2
= static_cast< int >(val2
);
4251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4252 if (!SWIG_IsOK(ecode3
)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4255 arg3
= static_cast< int >(val3
);
4256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4257 if (!SWIG_IsOK(ecode4
)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4260 arg4
= static_cast< int >(val4
);
4261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4262 if (!SWIG_IsOK(ecode5
)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4265 arg5
= static_cast< int >(val5
);
4267 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4268 if (!SWIG_IsOK(ecode6
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4271 arg6
= static_cast< int >(val6
);
4274 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4275 if (!SWIG_IsOK(ecode7
)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4278 arg7
= static_cast< int >(val7
);
4281 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4282 if (!SWIG_IsOK(ecode8
)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4285 arg8
= static_cast< bool >(val8
);
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_Py_Void();
4300 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
= 0;
4302 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 PyObject
* obj2
= 0 ;
4314 char * kwnames
[] = {
4315 (char *) "self",(char *) "x",(char *) "y", NULL
4318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4323 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4325 if (!SWIG_IsOK(ecode2
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4328 arg2
= static_cast< int >(val2
);
4329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4330 if (!SWIG_IsOK(ecode3
)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4333 arg3
= static_cast< int >(val3
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 (arg1
)->Scroll(arg2
,arg3
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_Py_Void();
4347 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
= 0;
4349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "orient", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4367 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4369 if (!SWIG_IsOK(ecode2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4372 arg2
= static_cast< int >(val2
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_From_int(static_cast< int >(result
));
4386 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4409 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4416 if (!SWIG_IsOK(ecode3
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4419 arg3
= static_cast< int >(val3
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 PyObject
* obj2
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4456 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4458 if (!SWIG_IsOK(ecode2
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4461 arg2
= static_cast< int >(val2
);
4462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4463 if (!SWIG_IsOK(ecode3
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4466 arg3
= static_cast< int >(val3
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetScrollRate(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4481 PyObject
*resultobj
= 0;
4482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4483 int *arg2
= (int *) 0 ;
4484 int *arg3
= (int *) 0 ;
4488 int res2
= SWIG_TMPOBJ
;
4490 int res3
= SWIG_TMPOBJ
;
4491 PyObject
*swig_obj
[1] ;
4495 if (!args
) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_Py_Void();
4509 if (SWIG_IsTmpObj(res2
)) {
4510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4512 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4515 if (SWIG_IsTmpObj(res3
)) {
4516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4518 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4527 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
= 0;
4529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 char * kwnames
[] = {
4542 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4550 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4551 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4552 if (!SWIG_IsOK(ecode2
)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4555 arg2
= static_cast< bool >(val2
);
4556 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4557 if (!SWIG_IsOK(ecode3
)) {
4558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4560 arg3
= static_cast< bool >(val3
);
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 (arg1
)->EnableScrolling(arg2
,arg3
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= SWIG_Py_Void();
4574 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4575 PyObject
*resultobj
= 0;
4576 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4577 int *arg2
= (int *) 0 ;
4578 int *arg3
= (int *) 0 ;
4582 int res2
= SWIG_TMPOBJ
;
4584 int res3
= SWIG_TMPOBJ
;
4585 PyObject
*swig_obj
[1] ;
4589 if (!args
) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_Py_Void();
4603 if (SWIG_IsTmpObj(res2
)) {
4604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4606 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4609 if (SWIG_IsTmpObj(res3
)) {
4610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4612 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4621 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
= 0;
4623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 PyObject
* obj2
= 0 ;
4635 char * kwnames
[] = {
4636 (char *) "self",(char *) "xs",(char *) "ys", NULL
4639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4641 if (!SWIG_IsOK(res1
)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4644 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4645 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4646 if (!SWIG_IsOK(ecode2
)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4649 arg2
= static_cast< double >(val2
);
4650 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4651 if (!SWIG_IsOK(ecode3
)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4654 arg3
= static_cast< double >(val3
);
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 (arg1
)->SetScale(arg2
,arg3
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_Py_Void();
4668 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4669 PyObject
*resultobj
= 0;
4670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4674 PyObject
*swig_obj
[1] ;
4676 if (!args
) SWIG_fail
;
4678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4679 if (!SWIG_IsOK(res1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4682 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= SWIG_From_double(static_cast< double >(result
));
4696 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4702 PyObject
*swig_obj
[1] ;
4704 if (!args
) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4710 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_From_double(static_cast< double >(result
));
4724 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4725 PyObject
*resultobj
= 0;
4726 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4733 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4738 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4741 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4756 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4757 PyObject
*resultobj
= 0;
4758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4761 int *arg4
= (int *) 0 ;
4762 int *arg5
= (int *) 0 ;
4770 int res4
= SWIG_TMPOBJ
;
4772 int res5
= SWIG_TMPOBJ
;
4776 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4778 if (!SWIG_IsOK(res1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4782 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4783 if (!SWIG_IsOK(ecode2
)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4786 arg2
= static_cast< int >(val2
);
4787 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4788 if (!SWIG_IsOK(ecode3
)) {
4789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4791 arg3
= static_cast< int >(val3
);
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= SWIG_Py_Void();
4799 if (SWIG_IsTmpObj(res4
)) {
4800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4802 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4805 if (SWIG_IsTmpObj(res5
)) {
4806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4808 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4817 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4821 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4824 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4827 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4831 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4836 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4837 PyObject
*resultobj
= 0;
4838 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4845 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4850 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4853 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4868 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4869 PyObject
*resultobj
= 0;
4870 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4873 int *arg4
= (int *) 0 ;
4874 int *arg5
= (int *) 0 ;
4882 int res4
= SWIG_TMPOBJ
;
4884 int res5
= SWIG_TMPOBJ
;
4888 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4894 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4895 if (!SWIG_IsOK(ecode2
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4898 arg2
= static_cast< int >(val2
);
4899 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4900 if (!SWIG_IsOK(ecode3
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4903 arg3
= static_cast< int >(val3
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_Py_Void();
4911 if (SWIG_IsTmpObj(res4
)) {
4912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4914 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4917 if (SWIG_IsTmpObj(res5
)) {
4918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4920 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4929 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4933 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4936 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4939 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4943 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4948 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4949 PyObject
*resultobj
= 0;
4950 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4953 PyObject
*swig_obj
[1] ;
4955 if (!args
) SWIG_fail
;
4957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4958 if (!SWIG_IsOK(res1
)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4961 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 (arg1
)->AdjustScrollbars();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_Py_Void();
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
= 0;
4977 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4978 wxScrollWinEvent
*arg2
= 0 ;
4984 PyObject
* obj0
= 0 ;
4985 PyObject
* obj1
= 0 ;
4986 char * kwnames
[] = {
4987 (char *) "self",(char *) "event", NULL
4990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4992 if (!SWIG_IsOK(res1
)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
4997 if (!SWIG_IsOK(res2
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5003 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_From_int(static_cast< int >(result
));
5017 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
= 0;
5019 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5020 wxWindow
*arg2
= (wxWindow
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5026 PyObject
* obj1
= 0 ;
5027 char * kwnames
[] = {
5028 (char *) "self",(char *) "target", NULL
5031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5033 if (!SWIG_IsOK(res1
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5036 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res2
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 (arg1
)->SetTargetWindow(arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_Py_Void();
5055 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 PyObject
*resultobj
= 0;
5057 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5058 wxWindow
*result
= 0 ;
5061 PyObject
*swig_obj
[1] ;
5063 if (!args
) SWIG_fail
;
5065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5066 if (!SWIG_IsOK(res1
)) {
5067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5069 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= wxPyMake_wxObject(result
, 0);
5085 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
= 0;
5087 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5095 char * kwnames
[] = {
5096 (char *) "self",(char *) "dc", NULL
5099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5104 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5106 if (!SWIG_IsOK(res2
)) {
5107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5112 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 (arg1
)->DoPrepareDC(*arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_Py_Void();
5126 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
= 0;
5128 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5129 SwigValueWrapper
<wxVisualAttributes
> result
;
5132 PyObject
* obj0
= 0 ;
5133 char * kwnames
[] = {
5134 (char *) "variant", NULL
5137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5140 if (!SWIG_IsOK(ecode1
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5143 arg1
= static_cast< wxWindowVariant
>(val1
);
5146 if (!wxPyCheckForApp()) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5159 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5162 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5163 return SWIG_Py_Void();
5166 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 return SWIG_Python_InitShadowInstance(args
);
5170 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5171 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5176 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5177 PyObject
*pyobj
= 0;
5181 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5183 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5190 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5191 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5196 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5197 PyObject
*pyobj
= 0;
5201 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5203 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5210 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5211 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5216 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5217 PyObject
*pyobj
= 0;
5221 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5223 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5230 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5231 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5236 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5237 PyObject
*pyobj
= 0;
5241 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5243 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5250 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5253 bool arg2
= (bool) true ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5260 char * kwnames
[] = {
5261 (char *) "self",(char *) "maximize", NULL
5264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5266 if (!SWIG_IsOK(res1
)) {
5267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5269 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5271 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5272 if (!SWIG_IsOK(ecode2
)) {
5273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5275 arg2
= static_cast< bool >(val2
);
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 (arg1
)->Maximize(arg2
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_Py_Void();
5290 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5291 PyObject
*resultobj
= 0;
5292 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5295 PyObject
*swig_obj
[1] ;
5297 if (!args
) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5303 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_Py_Void();
5317 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
= 0;
5319 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5320 bool arg2
= (bool) true ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5327 char * kwnames
[] = {
5328 (char *) "self",(char *) "iconize", NULL
5331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5333 if (!SWIG_IsOK(res1
)) {
5334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5336 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5338 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5339 if (!SWIG_IsOK(ecode2
)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5342 arg2
= static_cast< bool >(val2
);
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 (arg1
)->Iconize(arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= SWIG_Py_Void();
5357 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5358 PyObject
*resultobj
= 0;
5359 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5363 PyObject
*swig_obj
[1] ;
5365 if (!args
) SWIG_fail
;
5367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5368 if (!SWIG_IsOK(res1
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5371 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5387 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5388 PyObject
*resultobj
= 0;
5389 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5393 PyObject
*swig_obj
[1] ;
5395 if (!args
) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5401 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5417 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5418 PyObject
*resultobj
= 0;
5419 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5423 PyObject
*swig_obj
[1] ;
5425 if (!args
) SWIG_fail
;
5427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5428 if (!SWIG_IsOK(res1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5431 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5445 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 char * kwnames
[] = {
5456 (char *) "self",(char *) "icon", NULL
5459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5461 if (!SWIG_IsOK(res1
)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5464 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5466 if (!SWIG_IsOK(res2
)) {
5467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5472 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_Py_Void();
5486 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
= 0;
5488 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5489 wxIconBundle
*arg2
= 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 char * kwnames
[] = {
5497 (char *) "self",(char *) "icons", NULL
5500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5502 if (!SWIG_IsOK(res1
)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5505 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5507 if (!SWIG_IsOK(res2
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5513 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= SWIG_Py_Void();
5527 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
= 0;
5529 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5531 long arg3
= (long) wxFULLSCREEN_ALL
;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5541 PyObject
* obj2
= 0 ;
5542 char * kwnames
[] = {
5543 (char *) "self",(char *) "show",(char *) "style", NULL
5546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5548 if (!SWIG_IsOK(res1
)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5551 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5552 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5553 if (!SWIG_IsOK(ecode2
)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5556 arg2
= static_cast< bool >(val2
);
5558 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5559 if (!SWIG_IsOK(ecode3
)) {
5560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5562 arg3
= static_cast< long >(val3
);
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5579 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5580 PyObject
*resultobj
= 0;
5581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5585 PyObject
*swig_obj
[1] ;
5587 if (!args
) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5593 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
= 0;
5611 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5612 wxString
*arg2
= 0 ;
5615 bool temp2
= false ;
5616 PyObject
* obj0
= 0 ;
5617 PyObject
* obj1
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "title", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5629 arg2
= wxString_in_helper(obj1
);
5630 if (arg2
== NULL
) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->SetTitle((wxString
const &)*arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= SWIG_Py_Void();
5654 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5655 PyObject
*resultobj
= 0;
5656 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5660 PyObject
*swig_obj
[1] ;
5662 if (!args
) SWIG_fail
;
5664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5665 if (!SWIG_IsOK(res1
)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5668 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5688 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= 0;
5690 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5691 wxRegion
*arg2
= 0 ;
5697 PyObject
* obj0
= 0 ;
5698 PyObject
* obj1
= 0 ;
5699 char * kwnames
[] = {
5700 (char *) "self",(char *) "region", NULL
5703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5705 if (!SWIG_IsOK(res1
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5708 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5710 if (!SWIG_IsOK(res2
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5716 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5732 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= 0;
5734 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5735 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 char * kwnames
[] = {
5743 (char *) "self",(char *) "flags", NULL
5746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5751 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5754 if (!SWIG_IsOK(ecode2
)) {
5755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5757 arg2
= static_cast< int >(val2
);
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 (arg1
)->RequestUserAttention(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_Py_Void();
5772 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 PyObject
*resultobj
= 0;
5774 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5778 PyObject
*swig_obj
[1] ;
5780 if (!args
) SWIG_fail
;
5782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5783 if (!SWIG_IsOK(res1
)) {
5784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5786 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (bool)(arg1
)->IsActive();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
= 0;
5804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 char * kwnames
[] = {
5813 (char *) "self",(char *) "on", NULL
5816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5818 if (!SWIG_IsOK(res1
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5821 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5822 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5823 if (!SWIG_IsOK(ecode2
)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5826 arg2
= static_cast< bool >(val2
);
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_Py_Void();
5840 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5841 PyObject
*resultobj
= 0;
5842 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5846 PyObject
*swig_obj
[1] ;
5848 if (!args
) SWIG_fail
;
5850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5851 if (!SWIG_IsOK(res1
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5854 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5870 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5873 int arg2
= (int) wxBOTH
;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 char * kwnames
[] = {
5881 (char *) "self",(char *) "dir", NULL
5884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5892 if (!SWIG_IsOK(ecode2
)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5895 arg2
= static_cast< int >(val2
);
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 (arg1
)->CenterOnScreen(arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= SWIG_Py_Void();
5910 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5913 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5914 return SWIG_Py_Void();
5917 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
= 0;
5919 wxWindow
*arg1
= (wxWindow
*) 0 ;
5920 int arg2
= (int) (int)-1 ;
5921 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5927 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5928 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5930 wxFrame
*result
= 0 ;
5935 bool temp3
= false ;
5940 bool temp7
= false ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 PyObject
* obj2
= 0 ;
5944 PyObject
* obj3
= 0 ;
5945 PyObject
* obj4
= 0 ;
5946 PyObject
* obj5
= 0 ;
5947 PyObject
* obj6
= 0 ;
5948 char * kwnames
[] = {
5949 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
5957 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5960 if (!SWIG_IsOK(ecode2
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
5963 arg2
= static_cast< int >(val2
);
5967 arg3
= wxString_in_helper(obj2
);
5968 if (arg3
== NULL
) SWIG_fail
;
5975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5985 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5986 if (!SWIG_IsOK(ecode6
)) {
5987 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
5989 arg6
= static_cast< long >(val6
);
5993 arg7
= wxString_in_helper(obj6
);
5994 if (arg7
== NULL
) SWIG_fail
;
5999 if (!wxPyCheckForApp()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6028 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxFrame
*result
= 0 ;
6032 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6034 if (!wxPyCheckForApp()) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (wxFrame
*)new wxFrame();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6047 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxFrame
*arg1
= (wxFrame
*) 0 ;
6050 wxWindow
*arg2
= (wxWindow
*) 0 ;
6051 int arg3
= (int) (int)-1 ;
6052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6054 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6055 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6056 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6057 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6058 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6059 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6060 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6068 bool temp4
= false ;
6073 bool temp8
= false ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 PyObject
* obj2
= 0 ;
6077 PyObject
* obj3
= 0 ;
6078 PyObject
* obj4
= 0 ;
6079 PyObject
* obj5
= 0 ;
6080 PyObject
* obj6
= 0 ;
6081 PyObject
* obj7
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6088 if (!SWIG_IsOK(res1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6091 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6093 if (!SWIG_IsOK(res2
)) {
6094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6099 if (!SWIG_IsOK(ecode3
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6102 arg3
= static_cast< int >(val3
);
6106 arg4
= wxString_in_helper(obj3
);
6107 if (arg4
== NULL
) SWIG_fail
;
6114 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6120 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6124 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6125 if (!SWIG_IsOK(ecode7
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6128 arg7
= static_cast< long >(val7
);
6132 arg8
= wxString_in_helper(obj7
);
6133 if (arg8
== NULL
) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6168 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6169 PyObject
*resultobj
= 0;
6170 wxFrame
*arg1
= (wxFrame
*) 0 ;
6173 PyObject
*swig_obj
[1] ;
6175 if (!args
) SWIG_fail
;
6177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6178 if (!SWIG_IsOK(res1
)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6181 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->SendSizeEvent();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6197 wxFrame
*arg1
= (wxFrame
*) 0 ;
6198 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "menubar", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6214 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6216 if (!SWIG_IsOK(res2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6219 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 (arg1
)->SetMenuBar(arg2
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_Py_Void();
6233 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxFrame
*arg1
= (wxFrame
*) 0 ;
6236 wxMenuBar
*result
= 0 ;
6239 PyObject
*swig_obj
[1] ;
6241 if (!args
) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6247 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= wxPyMake_wxObject(result
, 0);
6263 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
= 0;
6265 wxFrame
*arg1
= (wxFrame
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "winid", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6283 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6285 if (!SWIG_IsOK(ecode2
)) {
6286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6288 arg2
= static_cast< int >(val2
);
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6306 wxFrame
*arg1
= (wxFrame
*) 0 ;
6307 int arg2
= (int) 1 ;
6308 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6309 int arg4
= (int) 0 ;
6310 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6311 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6312 wxStatusBar
*result
= 0 ;
6321 bool temp5
= false ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 PyObject
* obj2
= 0 ;
6325 PyObject
* obj3
= 0 ;
6326 PyObject
* obj4
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6336 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6339 if (!SWIG_IsOK(ecode2
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6342 arg2
= static_cast< int >(val2
);
6345 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6346 if (!SWIG_IsOK(ecode3
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6349 arg3
= static_cast< long >(val3
);
6352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6353 if (!SWIG_IsOK(ecode4
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6356 arg4
= static_cast< int >(val4
);
6360 arg5
= wxString_in_helper(obj4
);
6361 if (arg5
== NULL
) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6388 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6389 PyObject
*resultobj
= 0;
6390 wxFrame
*arg1
= (wxFrame
*) 0 ;
6391 wxStatusBar
*result
= 0 ;
6394 PyObject
*swig_obj
[1] ;
6396 if (!args
) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6402 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6418 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
= 0;
6420 wxFrame
*arg1
= (wxFrame
*) 0 ;
6421 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6428 char * kwnames
[] = {
6429 (char *) "self",(char *) "statBar", NULL
6432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6437 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6439 if (!SWIG_IsOK(res2
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6442 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 (arg1
)->SetStatusBar(arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_Py_Void();
6456 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
= 0;
6458 wxFrame
*arg1
= (wxFrame
*) 0 ;
6459 wxString
*arg2
= 0 ;
6460 int arg3
= (int) 0 ;
6463 bool temp2
= false ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6469 char * kwnames
[] = {
6470 (char *) "self",(char *) "text",(char *) "number", NULL
6473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6478 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6480 arg2
= wxString_in_helper(obj1
);
6481 if (arg2
== NULL
) SWIG_fail
;
6485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6486 if (!SWIG_IsOK(ecode3
)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6489 arg3
= static_cast< int >(val3
);
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_Py_Void();
6512 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
= 0;
6514 wxFrame
*arg1
= (wxFrame
*) 0 ;
6516 int *arg3
= (int *) 0 ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 char * kwnames
[] = {
6522 (char *) "self",(char *) "widths", NULL
6525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6527 if (!SWIG_IsOK(res1
)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6530 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6532 arg2
= PyList_Size(obj1
);
6533 arg3
= int_LIST_helper(obj1
);
6534 if (arg3
== NULL
) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_Py_Void();
6544 if (arg3
) delete [] arg3
;
6549 if (arg3
) delete [] arg3
;
6555 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
= 0;
6557 wxFrame
*arg1
= (wxFrame
*) 0 ;
6558 wxString
*arg2
= 0 ;
6559 int arg3
= (int) 0 ;
6562 bool temp2
= false ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 PyObject
* obj2
= 0 ;
6568 char * kwnames
[] = {
6569 (char *) "self",(char *) "text",(char *) "number", NULL
6572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6574 if (!SWIG_IsOK(res1
)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6577 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6579 arg2
= wxString_in_helper(obj1
);
6580 if (arg2
== NULL
) SWIG_fail
;
6584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6585 if (!SWIG_IsOK(ecode3
)) {
6586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6588 arg3
= static_cast< int >(val3
);
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_Py_Void();
6611 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
= 0;
6613 wxFrame
*arg1
= (wxFrame
*) 0 ;
6614 int arg2
= (int) 0 ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6621 char * kwnames
[] = {
6622 (char *) "self",(char *) "number", NULL
6625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6627 if (!SWIG_IsOK(res1
)) {
6628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6630 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6633 if (!SWIG_IsOK(ecode2
)) {
6634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6636 arg2
= static_cast< int >(val2
);
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 (arg1
)->PopStatusText(arg2
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= SWIG_Py_Void();
6651 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
= 0;
6653 wxFrame
*arg1
= (wxFrame
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6660 PyObject
* obj1
= 0 ;
6661 char * kwnames
[] = {
6662 (char *) "self",(char *) "n", NULL
6665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6667 if (!SWIG_IsOK(res1
)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6670 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6672 if (!SWIG_IsOK(ecode2
)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6675 arg2
= static_cast< int >(val2
);
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 (arg1
)->SetStatusBarPane(arg2
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6682 resultobj
= SWIG_Py_Void();
6689 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6690 PyObject
*resultobj
= 0;
6691 wxFrame
*arg1
= (wxFrame
*) 0 ;
6695 PyObject
*swig_obj
[1] ;
6697 if (!args
) SWIG_fail
;
6699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6700 if (!SWIG_IsOK(res1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6703 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_From_int(static_cast< int >(result
));
6717 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
= 0;
6719 wxFrame
*arg1
= (wxFrame
*) 0 ;
6720 long arg2
= (long) -1 ;
6721 int arg3
= (int) -1 ;
6722 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6723 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6724 wxToolBar
*result
= 0 ;
6731 bool temp4
= false ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6734 PyObject
* obj2
= 0 ;
6735 PyObject
* obj3
= 0 ;
6736 char * kwnames
[] = {
6737 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6742 if (!SWIG_IsOK(res1
)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6745 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6748 if (!SWIG_IsOK(ecode2
)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6751 arg2
= static_cast< long >(val2
);
6754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6755 if (!SWIG_IsOK(ecode3
)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6758 arg3
= static_cast< int >(val3
);
6762 arg4
= wxString_in_helper(obj3
);
6763 if (arg4
== NULL
) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6790 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6791 PyObject
*resultobj
= 0;
6792 wxFrame
*arg1
= (wxFrame
*) 0 ;
6793 wxToolBar
*result
= 0 ;
6796 PyObject
*swig_obj
[1] ;
6798 if (!args
) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6804 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6820 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
= 0;
6822 wxFrame
*arg1
= (wxFrame
*) 0 ;
6823 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6830 char * kwnames
[] = {
6831 (char *) "self",(char *) "toolbar", NULL
6834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6836 if (!SWIG_IsOK(res1
)) {
6837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6839 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6841 if (!SWIG_IsOK(res2
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6844 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 (arg1
)->SetToolBar(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_Py_Void();
6858 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
= 0;
6860 wxFrame
*arg1
= (wxFrame
*) 0 ;
6861 wxString
*arg2
= 0 ;
6865 bool temp2
= false ;
6868 PyObject
* obj0
= 0 ;
6869 PyObject
* obj1
= 0 ;
6870 PyObject
* obj2
= 0 ;
6871 char * kwnames
[] = {
6872 (char *) "self",(char *) "text",(char *) "show", NULL
6875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6877 if (!SWIG_IsOK(res1
)) {
6878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6880 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6882 arg2
= wxString_in_helper(obj1
);
6883 if (arg2
== NULL
) SWIG_fail
;
6886 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6887 if (!SWIG_IsOK(ecode3
)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6890 arg3
= static_cast< bool >(val3
);
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_Py_Void();
6912 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
= 0;
6914 wxFrame
*arg1
= (wxFrame
*) 0 ;
6915 wxMenu
*arg2
= (wxMenu
*) NULL
;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6922 char * kwnames
[] = {
6923 (char *) "self",(char *) "menu", NULL
6926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6928 if (!SWIG_IsOK(res1
)) {
6929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6931 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6934 if (!SWIG_IsOK(res2
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6937 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 (arg1
)->DoMenuUpdates(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= SWIG_Py_Void();
6952 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
= 0;
6954 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6955 SwigValueWrapper
<wxVisualAttributes
> result
;
6958 PyObject
* obj0
= 0 ;
6959 char * kwnames
[] = {
6960 (char *) "variant", NULL
6963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6966 if (!SWIG_IsOK(ecode1
)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6969 arg1
= static_cast< wxWindowVariant
>(val1
);
6972 if (!wxPyCheckForApp()) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 result
= wxFrame::GetClassDefaultAttributes(arg1
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6985 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6988 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
6989 return SWIG_Py_Void();
6992 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6993 return SWIG_Python_InitShadowInstance(args
);
6996 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
= 0;
6998 wxWindow
*arg1
= (wxWindow
*) 0 ;
6999 int arg2
= (int) (int)-1 ;
7000 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7001 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7002 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7003 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7004 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7005 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7006 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7007 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7008 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7009 wxDialog
*result
= 0 ;
7014 bool temp3
= false ;
7019 bool temp7
= false ;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7022 PyObject
* obj2
= 0 ;
7023 PyObject
* obj3
= 0 ;
7024 PyObject
* obj4
= 0 ;
7025 PyObject
* obj5
= 0 ;
7026 PyObject
* obj6
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7036 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7039 if (!SWIG_IsOK(ecode2
)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7042 arg2
= static_cast< int >(val2
);
7046 arg3
= wxString_in_helper(obj2
);
7047 if (arg3
== NULL
) SWIG_fail
;
7054 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7060 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7064 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7065 if (!SWIG_IsOK(ecode6
)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7068 arg6
= static_cast< long >(val6
);
7072 arg7
= wxString_in_helper(obj6
);
7073 if (arg7
== NULL
) SWIG_fail
;
7078 if (!wxPyCheckForApp()) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7107 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7108 PyObject
*resultobj
= 0;
7109 wxDialog
*result
= 0 ;
7111 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7113 if (!wxPyCheckForApp()) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (wxDialog
*)new wxDialog();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7126 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxDialog
*arg1
= (wxDialog
*) 0 ;
7129 wxWindow
*arg2
= (wxWindow
*) 0 ;
7130 int arg3
= (int) (int)-1 ;
7131 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7132 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7133 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7134 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7135 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7136 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7137 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7138 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7139 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7147 bool temp4
= false ;
7152 bool temp8
= false ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7156 PyObject
* obj3
= 0 ;
7157 PyObject
* obj4
= 0 ;
7158 PyObject
* obj5
= 0 ;
7159 PyObject
* obj6
= 0 ;
7160 PyObject
* obj7
= 0 ;
7161 char * kwnames
[] = {
7162 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7167 if (!SWIG_IsOK(res1
)) {
7168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7170 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7172 if (!SWIG_IsOK(res2
)) {
7173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7178 if (!SWIG_IsOK(ecode3
)) {
7179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7181 arg3
= static_cast< int >(val3
);
7185 arg4
= wxString_in_helper(obj3
);
7186 if (arg4
== NULL
) SWIG_fail
;
7193 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7199 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7203 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7204 if (!SWIG_IsOK(ecode7
)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7207 arg7
= static_cast< long >(val7
);
7211 arg8
= wxString_in_helper(obj7
);
7212 if (arg8
== NULL
) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7247 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
= 0;
7249 wxDialog
*arg1
= (wxDialog
*) 0 ;
7255 PyObject
* obj0
= 0 ;
7256 PyObject
* obj1
= 0 ;
7257 char * kwnames
[] = {
7258 (char *) "self",(char *) "returnCode", NULL
7261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7263 if (!SWIG_IsOK(res1
)) {
7264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7266 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7268 if (!SWIG_IsOK(ecode2
)) {
7269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7271 arg2
= static_cast< int >(val2
);
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetReturnCode(arg2
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_Py_Void();
7285 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7286 PyObject
*resultobj
= 0;
7287 wxDialog
*arg1
= (wxDialog
*) 0 ;
7291 PyObject
*swig_obj
[1] ;
7293 if (!args
) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7299 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_From_int(static_cast< int >(result
));
7313 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
= 0;
7315 wxDialog
*arg1
= (wxDialog
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7323 char * kwnames
[] = {
7324 (char *) "self",(char *) "affirmativeId", NULL
7327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7329 if (!SWIG_IsOK(res1
)) {
7330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7332 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7334 if (!SWIG_IsOK(ecode2
)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7337 arg2
= static_cast< int >(val2
);
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetAffirmativeId(arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_Py_Void();
7351 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxDialog
*arg1
= (wxDialog
*) 0 ;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7365 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_From_int(static_cast< int >(result
));
7379 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
= 0;
7381 wxDialog
*arg1
= (wxDialog
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 char * kwnames
[] = {
7390 (char *) "self",(char *) "escapeId", NULL
7393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7395 if (!SWIG_IsOK(res1
)) {
7396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7398 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7400 if (!SWIG_IsOK(ecode2
)) {
7401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7403 arg2
= static_cast< int >(val2
);
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 (arg1
)->SetEscapeId(arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_Py_Void();
7417 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7418 PyObject
*resultobj
= 0;
7419 wxDialog
*arg1
= (wxDialog
*) 0 ;
7423 PyObject
*swig_obj
[1] ;
7425 if (!args
) SWIG_fail
;
7427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7428 if (!SWIG_IsOK(res1
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7431 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_From_int(static_cast< int >(result
));
7445 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7447 wxDialog
*arg1
= (wxDialog
*) 0 ;
7448 wxString
*arg2
= 0 ;
7449 wxSizer
*result
= 0 ;
7452 bool temp2
= false ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7455 char * kwnames
[] = {
7456 (char *) "self",(char *) "message", NULL
7459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7464 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7466 arg2
= wxString_in_helper(obj1
);
7467 if (arg2
== NULL
) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7493 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
= 0;
7495 wxDialog
*arg1
= (wxDialog
*) 0 ;
7497 bool arg3
= (bool) false ;
7498 int arg4
= (int) 0 ;
7499 wxSizer
*result
= 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7510 PyObject
* obj2
= 0 ;
7511 PyObject
* obj3
= 0 ;
7512 char * kwnames
[] = {
7513 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7518 if (!SWIG_IsOK(res1
)) {
7519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7521 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7522 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7523 if (!SWIG_IsOK(ecode2
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7526 arg2
= static_cast< long >(val2
);
7528 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7529 if (!SWIG_IsOK(ecode3
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7532 arg3
= static_cast< bool >(val3
);
7535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7536 if (!SWIG_IsOK(ecode4
)) {
7537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7539 arg4
= static_cast< int >(val4
);
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7556 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
= 0;
7558 wxDialog
*arg1
= (wxDialog
*) 0 ;
7560 wxStdDialogButtonSizer
*result
= 0 ;
7565 PyObject
* obj0
= 0 ;
7566 PyObject
* obj1
= 0 ;
7567 char * kwnames
[] = {
7568 (char *) "self",(char *) "flags", NULL
7571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7573 if (!SWIG_IsOK(res1
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7576 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7578 if (!SWIG_IsOK(ecode2
)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7581 arg2
= static_cast< long >(val2
);
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7595 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7596 PyObject
*resultobj
= 0;
7597 wxDialog
*arg1
= (wxDialog
*) 0 ;
7601 PyObject
*swig_obj
[1] ;
7603 if (!args
) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7609 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7625 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 PyObject
*resultobj
= 0;
7627 wxDialog
*arg1
= (wxDialog
*) 0 ;
7631 PyObject
*swig_obj
[1] ;
7633 if (!args
) SWIG_fail
;
7635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7636 if (!SWIG_IsOK(res1
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7639 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (int)(arg1
)->ShowModal();
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_From_int(static_cast< int >(result
));
7653 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
= 0;
7655 wxDialog
*arg1
= (wxDialog
*) 0 ;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7663 char * kwnames
[] = {
7664 (char *) "self",(char *) "retCode", NULL
7667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7672 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7674 if (!SWIG_IsOK(ecode2
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7677 arg2
= static_cast< int >(val2
);
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 (arg1
)->EndModal(arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_Py_Void();
7691 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
= 0;
7693 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7694 SwigValueWrapper
<wxVisualAttributes
> result
;
7697 PyObject
* obj0
= 0 ;
7698 char * kwnames
[] = {
7699 (char *) "variant", NULL
7702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7705 if (!SWIG_IsOK(ecode1
)) {
7706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7708 arg1
= static_cast< wxWindowVariant
>(val1
);
7711 if (!wxPyCheckForApp()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7724 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7727 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7728 return SWIG_Py_Void();
7731 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7732 return SWIG_Python_InitShadowInstance(args
);
7735 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
= 0;
7737 wxWindow
*arg1
= (wxWindow
*) 0 ;
7738 int arg2
= (int) (int)-1 ;
7739 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7745 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7746 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7747 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7748 wxMiniFrame
*result
= 0 ;
7753 bool temp3
= false ;
7758 bool temp7
= false ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7761 PyObject
* obj2
= 0 ;
7762 PyObject
* obj3
= 0 ;
7763 PyObject
* obj4
= 0 ;
7764 PyObject
* obj5
= 0 ;
7765 PyObject
* obj6
= 0 ;
7766 char * kwnames
[] = {
7767 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7775 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7778 if (!SWIG_IsOK(ecode2
)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7781 arg2
= static_cast< int >(val2
);
7785 arg3
= wxString_in_helper(obj2
);
7786 if (arg3
== NULL
) SWIG_fail
;
7793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7803 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7804 if (!SWIG_IsOK(ecode6
)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7807 arg6
= static_cast< long >(val6
);
7811 arg7
= wxString_in_helper(obj6
);
7812 if (arg7
== NULL
) SWIG_fail
;
7817 if (!wxPyCheckForApp()) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7846 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7847 PyObject
*resultobj
= 0;
7848 wxMiniFrame
*result
= 0 ;
7850 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7852 if (!wxPyCheckForApp()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= (wxMiniFrame
*)new wxMiniFrame();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7865 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
= 0;
7867 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7868 wxWindow
*arg2
= (wxWindow
*) 0 ;
7869 int arg3
= (int) (int)-1 ;
7870 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7871 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7872 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7873 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7874 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7875 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7876 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7877 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7878 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7886 bool temp4
= false ;
7891 bool temp8
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7899 PyObject
* obj7
= 0 ;
7900 char * kwnames
[] = {
7901 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7909 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7911 if (!SWIG_IsOK(res2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7917 if (!SWIG_IsOK(ecode3
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7920 arg3
= static_cast< int >(val3
);
7924 arg4
= wxString_in_helper(obj3
);
7925 if (arg4
== NULL
) SWIG_fail
;
7932 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7938 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7942 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7943 if (!SWIG_IsOK(ecode7
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
7946 arg7
= static_cast< long >(val7
);
7950 arg8
= wxString_in_helper(obj7
);
7951 if (arg8
== NULL
) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7986 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7989 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
7990 return SWIG_Py_Void();
7993 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7994 return SWIG_Python_InitShadowInstance(args
);
7997 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= 0;
7999 wxBitmap
*arg1
= 0 ;
8000 wxWindow
*arg2
= (wxWindow
*) 0 ;
8002 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8003 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8004 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8005 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8006 long arg6
= (long) wxNO_BORDER
;
8007 wxSplashScreenWindow
*result
= 0 ;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8020 PyObject
* obj2
= 0 ;
8021 PyObject
* obj3
= 0 ;
8022 PyObject
* obj4
= 0 ;
8023 PyObject
* obj5
= 0 ;
8024 char * kwnames
[] = {
8025 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8036 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8038 if (!SWIG_IsOK(res2
)) {
8039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8043 if (!SWIG_IsOK(ecode3
)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8046 arg3
= static_cast< int >(val3
);
8050 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8056 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8060 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8061 if (!SWIG_IsOK(ecode6
)) {
8062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8064 arg6
= static_cast< long >(val6
);
8067 if (!wxPyCheckForApp()) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8080 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
= 0;
8082 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8083 wxBitmap
*arg2
= 0 ;
8088 PyObject
* obj0
= 0 ;
8089 PyObject
* obj1
= 0 ;
8090 char * kwnames
[] = {
8091 (char *) "self",(char *) "bitmap", NULL
8094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8096 if (!SWIG_IsOK(res1
)) {
8097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8099 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8101 if (!SWIG_IsOK(res2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8107 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_Py_Void();
8121 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 PyObject
*resultobj
= 0;
8123 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8124 wxBitmap
*result
= 0 ;
8127 PyObject
*swig_obj
[1] ;
8129 if (!args
) SWIG_fail
;
8131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8132 if (!SWIG_IsOK(res1
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8135 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8140 result
= (wxBitmap
*) &_result_ref
;
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8146 wxBitmap
* resultptr
= new wxBitmap(*result
);
8147 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8155 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8158 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8159 return SWIG_Py_Void();
8162 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8163 return SWIG_Python_InitShadowInstance(args
);
8166 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
= 0;
8168 wxBitmap
*arg1
= 0 ;
8171 wxWindow
*arg4
= (wxWindow
*) 0 ;
8172 int arg5
= (int) -1 ;
8173 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8174 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8175 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8176 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8177 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8178 wxSplashScreen
*result
= 0 ;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8195 PyObject
* obj2
= 0 ;
8196 PyObject
* obj3
= 0 ;
8197 PyObject
* obj4
= 0 ;
8198 PyObject
* obj5
= 0 ;
8199 PyObject
* obj6
= 0 ;
8200 PyObject
* obj7
= 0 ;
8201 char * kwnames
[] = {
8202 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8206 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8207 if (!SWIG_IsOK(res1
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8213 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8215 if (!SWIG_IsOK(ecode2
)) {
8216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8218 arg2
= static_cast< long >(val2
);
8219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8220 if (!SWIG_IsOK(ecode3
)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8223 arg3
= static_cast< int >(val3
);
8224 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8225 if (!SWIG_IsOK(res4
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8228 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8230 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8231 if (!SWIG_IsOK(ecode5
)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8234 arg5
= static_cast< int >(val5
);
8239 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8245 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8249 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8250 if (!SWIG_IsOK(ecode8
)) {
8251 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8253 arg8
= static_cast< long >(val8
);
8256 if (!wxPyCheckForApp()) SWIG_fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8269 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8270 PyObject
*resultobj
= 0;
8271 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8275 PyObject
*swig_obj
[1] ;
8277 if (!args
) SWIG_fail
;
8279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8280 if (!SWIG_IsOK(res1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8283 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_From_long(static_cast< long >(result
));
8297 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8298 PyObject
*resultobj
= 0;
8299 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8300 wxSplashScreenWindow
*result
= 0 ;
8303 PyObject
*swig_obj
[1] ;
8305 if (!args
) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8311 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8325 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8326 PyObject
*resultobj
= 0;
8327 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8331 PyObject
*swig_obj
[1] ;
8333 if (!args
) SWIG_fail
;
8335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8336 if (!SWIG_IsOK(res1
)) {
8337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8339 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_From_int(static_cast< int >(result
));
8353 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8356 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8357 return SWIG_Py_Void();
8360 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8361 return SWIG_Python_InitShadowInstance(args
);
8364 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
= 0;
8366 wxWindow
*arg1
= (wxWindow
*) 0 ;
8367 int arg2
= (int) -1 ;
8368 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8369 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8370 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8371 wxStatusBar
*result
= 0 ;
8378 bool temp4
= false ;
8379 PyObject
* obj0
= 0 ;
8380 PyObject
* obj1
= 0 ;
8381 PyObject
* obj2
= 0 ;
8382 PyObject
* obj3
= 0 ;
8383 char * kwnames
[] = {
8384 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8389 if (!SWIG_IsOK(res1
)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8395 if (!SWIG_IsOK(ecode2
)) {
8396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8398 arg2
= static_cast< int >(val2
);
8401 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8402 if (!SWIG_IsOK(ecode3
)) {
8403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8405 arg3
= static_cast< long >(val3
);
8409 arg4
= wxString_in_helper(obj3
);
8410 if (arg4
== NULL
) SWIG_fail
;
8415 if (!wxPyCheckForApp()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8436 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 PyObject
*resultobj
= 0;
8438 wxStatusBar
*result
= 0 ;
8440 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8442 if (!wxPyCheckForApp()) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxStatusBar
*)new wxStatusBar();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8455 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= 0;
8457 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8458 wxWindow
*arg2
= (wxWindow
*) 0 ;
8459 int arg3
= (int) -1 ;
8460 long arg4
= (long) wxST_SIZEGRIP
;
8461 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8462 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8472 bool temp5
= false ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8475 PyObject
* obj2
= 0 ;
8476 PyObject
* obj3
= 0 ;
8477 PyObject
* obj4
= 0 ;
8478 char * kwnames
[] = {
8479 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8487 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8489 if (!SWIG_IsOK(res2
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8492 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8495 if (!SWIG_IsOK(ecode3
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8498 arg3
= static_cast< int >(val3
);
8501 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8502 if (!SWIG_IsOK(ecode4
)) {
8503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8505 arg4
= static_cast< long >(val4
);
8509 arg5
= wxString_in_helper(obj4
);
8510 if (arg5
== NULL
) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8537 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
= 0;
8539 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8540 int arg2
= (int) 1 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 char * kwnames
[] = {
8548 (char *) "self",(char *) "number", NULL
8551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8556 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8559 if (!SWIG_IsOK(ecode2
)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8562 arg2
= static_cast< int >(val2
);
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 (arg1
)->SetFieldsCount(arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= SWIG_Py_Void();
8577 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8578 PyObject
*resultobj
= 0;
8579 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8583 PyObject
*swig_obj
[1] ;
8585 if (!args
) SWIG_fail
;
8587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8588 if (!SWIG_IsOK(res1
)) {
8589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8591 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_From_int(static_cast< int >(result
));
8605 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
= 0;
8607 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8608 wxString
*arg2
= 0 ;
8609 int arg3
= (int) 0 ;
8612 bool temp2
= false ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 PyObject
* obj2
= 0 ;
8618 char * kwnames
[] = {
8619 (char *) "self",(char *) "text",(char *) "number", NULL
8622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8627 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8629 arg2
= wxString_in_helper(obj1
);
8630 if (arg2
== NULL
) SWIG_fail
;
8634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8635 if (!SWIG_IsOK(ecode3
)) {
8636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8638 arg3
= static_cast< int >(val3
);
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_Py_Void();
8661 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
= 0;
8663 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8664 int arg2
= (int) 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "number", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8681 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8684 if (!SWIG_IsOK(ecode2
)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8687 arg2
= static_cast< int >(val2
);
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8708 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
= 0;
8710 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8711 wxString
*arg2
= 0 ;
8712 int arg3
= (int) 0 ;
8715 bool temp2
= false ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8720 PyObject
* obj2
= 0 ;
8721 char * kwnames
[] = {
8722 (char *) "self",(char *) "text",(char *) "number", NULL
8725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8730 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8732 arg2
= wxString_in_helper(obj1
);
8733 if (arg2
== NULL
) SWIG_fail
;
8737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8738 if (!SWIG_IsOK(ecode3
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8741 arg3
= static_cast< int >(val3
);
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8764 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= 0;
8766 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8767 int arg2
= (int) 0 ;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8774 char * kwnames
[] = {
8775 (char *) "self",(char *) "number", NULL
8778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8780 if (!SWIG_IsOK(res1
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8783 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8786 if (!SWIG_IsOK(ecode2
)) {
8787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8789 arg2
= static_cast< int >(val2
);
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 (arg1
)->PopStatusText(arg2
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_Py_Void();
8804 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
= 0;
8806 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8808 int *arg3
= (int *) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 char * kwnames
[] = {
8814 (char *) "self",(char *) "widths", NULL
8817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8819 if (!SWIG_IsOK(res1
)) {
8820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8822 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8824 arg2
= PyList_Size(obj1
);
8825 arg3
= int_LIST_helper(obj1
);
8826 if (arg3
== NULL
) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_Py_Void();
8836 if (arg3
) delete [] arg3
;
8841 if (arg3
) delete [] arg3
;
8847 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8851 int *arg3
= (int *) 0 ;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8856 char * kwnames
[] = {
8857 (char *) "self",(char *) "styles", NULL
8860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8862 if (!SWIG_IsOK(res1
)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8865 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8867 arg2
= PyList_Size(obj1
);
8868 arg3
= int_LIST_helper(obj1
);
8869 if (arg3
== NULL
) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_Py_Void();
8879 if (arg3
) delete [] arg3
;
8884 if (arg3
) delete [] arg3
;
8890 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
= 0;
8892 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8900 PyObject
* obj1
= 0 ;
8901 char * kwnames
[] = {
8902 (char *) "self",(char *) "i", NULL
8905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8907 if (!SWIG_IsOK(res1
)) {
8908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8910 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8912 if (!SWIG_IsOK(ecode2
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8915 arg2
= static_cast< int >(val2
);
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8929 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
= 0;
8931 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 char * kwnames
[] = {
8940 (char *) "self",(char *) "height", NULL
8943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8945 if (!SWIG_IsOK(res1
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8948 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8950 if (!SWIG_IsOK(ecode2
)) {
8951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8953 arg2
= static_cast< int >(val2
);
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 (arg1
)->SetMinHeight(arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_Py_Void();
8967 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8968 PyObject
*resultobj
= 0;
8969 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8973 PyObject
*swig_obj
[1] ;
8975 if (!args
) SWIG_fail
;
8977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8978 if (!SWIG_IsOK(res1
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8981 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= SWIG_From_int(static_cast< int >(result
));
8995 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8997 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9001 PyObject
*swig_obj
[1] ;
9003 if (!args
) SWIG_fail
;
9005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9006 if (!SWIG_IsOK(res1
)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9009 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_From_int(static_cast< int >(result
));
9023 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
= 0;
9025 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9026 SwigValueWrapper
<wxVisualAttributes
> result
;
9029 PyObject
* obj0
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "variant", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9037 if (!SWIG_IsOK(ecode1
)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9040 arg1
= static_cast< wxWindowVariant
>(val1
);
9043 if (!wxPyCheckForApp()) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9056 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9059 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9060 return SWIG_Py_Void();
9063 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9064 return SWIG_Python_InitShadowInstance(args
);
9067 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9068 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9073 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9074 PyObject
*pyobj
= 0;
9078 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9080 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9087 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxWindow
*arg1
= (wxWindow
*) 0 ;
9090 int arg2
= (int) -1 ;
9091 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9092 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9093 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9094 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9095 long arg5
= (long) wxSP_3D
;
9096 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9097 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9098 wxSplitterWindow
*result
= 0 ;
9107 bool temp6
= false ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9111 PyObject
* obj3
= 0 ;
9112 PyObject
* obj4
= 0 ;
9113 PyObject
* obj5
= 0 ;
9114 char * kwnames
[] = {
9115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9123 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9126 if (!SWIG_IsOK(ecode2
)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9129 arg2
= static_cast< int >(val2
);
9134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9140 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9144 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9145 if (!SWIG_IsOK(ecode5
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9148 arg5
= static_cast< long >(val5
);
9152 arg6
= wxString_in_helper(obj5
);
9153 if (arg6
== NULL
) SWIG_fail
;
9158 if (!wxPyCheckForApp()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9179 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9180 PyObject
*resultobj
= 0;
9181 wxSplitterWindow
*result
= 0 ;
9183 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9185 if (!wxPyCheckForApp()) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9198 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
= 0;
9200 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9201 wxWindow
*arg2
= (wxWindow
*) 0 ;
9202 int arg3
= (int) -1 ;
9203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9207 long arg6
= (long) wxSP_3D
;
9208 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9221 bool temp7
= false ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 PyObject
* obj2
= 0 ;
9225 PyObject
* obj3
= 0 ;
9226 PyObject
* obj4
= 0 ;
9227 PyObject
* obj5
= 0 ;
9228 PyObject
* obj6
= 0 ;
9229 char * kwnames
[] = {
9230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9235 if (!SWIG_IsOK(res1
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9238 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9240 if (!SWIG_IsOK(res2
)) {
9241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9246 if (!SWIG_IsOK(ecode3
)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9249 arg3
= static_cast< int >(val3
);
9254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9264 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9265 if (!SWIG_IsOK(ecode6
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9268 arg6
= static_cast< long >(val6
);
9272 arg7
= wxString_in_helper(obj6
);
9273 if (arg7
== NULL
) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9300 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9301 PyObject
*resultobj
= 0;
9302 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9303 wxWindow
*result
= 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9314 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= wxPyMake_wxObject(result
, 0);
9330 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9331 PyObject
*resultobj
= 0;
9332 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9333 wxWindow
*result
= 0 ;
9336 PyObject
*swig_obj
[1] ;
9338 if (!args
) SWIG_fail
;
9340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9341 if (!SWIG_IsOK(res1
)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9344 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= wxPyMake_wxObject(result
, 0);
9360 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
= 0;
9362 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9369 PyObject
* obj1
= 0 ;
9370 char * kwnames
[] = {
9371 (char *) "self",(char *) "mode", NULL
9374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9379 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9381 if (!SWIG_IsOK(ecode2
)) {
9382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9384 arg2
= static_cast< int >(val2
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 (arg1
)->SetSplitMode(arg2
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_Py_Void();
9398 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9399 PyObject
*resultobj
= 0;
9400 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9404 PyObject
*swig_obj
[1] ;
9406 if (!args
) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9412 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_From_int(static_cast< int >(result
));
9426 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
= 0;
9428 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9429 wxWindow
*arg2
= (wxWindow
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 char * kwnames
[] = {
9437 (char *) "self",(char *) "window", NULL
9440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9442 if (!SWIG_IsOK(res1
)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9445 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9447 if (!SWIG_IsOK(res2
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9450 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 (arg1
)->Initialize(arg2
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_Py_Void();
9464 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
= 0;
9466 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9467 wxWindow
*arg2
= (wxWindow
*) 0 ;
9468 wxWindow
*arg3
= (wxWindow
*) 0 ;
9469 int arg4
= (int) 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 PyObject
* obj2
= 0 ;
9482 PyObject
* obj3
= 0 ;
9483 char * kwnames
[] = {
9484 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9492 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9494 if (!SWIG_IsOK(res2
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9498 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9499 if (!SWIG_IsOK(res3
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9502 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9504 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9505 if (!SWIG_IsOK(ecode4
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9508 arg4
= static_cast< int >(val4
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9525 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
= 0;
9527 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9528 wxWindow
*arg2
= (wxWindow
*) 0 ;
9529 wxWindow
*arg3
= (wxWindow
*) 0 ;
9530 int arg4
= (int) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 PyObject
* obj2
= 0 ;
9543 PyObject
* obj3
= 0 ;
9544 char * kwnames
[] = {
9545 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9550 if (!SWIG_IsOK(res1
)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9553 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9555 if (!SWIG_IsOK(res2
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9558 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9559 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9560 if (!SWIG_IsOK(res3
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9563 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9566 if (!SWIG_IsOK(ecode4
)) {
9567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9569 arg4
= static_cast< int >(val4
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9586 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
= 0;
9588 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9589 wxWindow
*arg2
= (wxWindow
*) NULL
;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "self",(char *) "toRemove", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9606 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9609 if (!SWIG_IsOK(res2
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9612 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (bool)(arg1
)->Unsplit(arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9629 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
= 0;
9631 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9632 wxWindow
*arg2
= (wxWindow
*) 0 ;
9633 wxWindow
*arg3
= (wxWindow
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9644 char * kwnames
[] = {
9645 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9653 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9655 if (!SWIG_IsOK(res2
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9658 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9659 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9660 if (!SWIG_IsOK(res3
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9663 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9679 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9680 PyObject
*resultobj
= 0;
9681 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9684 PyObject
*swig_obj
[1] ;
9686 if (!args
) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9692 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->UpdateSize();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_Py_Void();
9706 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9707 PyObject
*resultobj
= 0;
9708 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9712 PyObject
*swig_obj
[1] ;
9714 if (!args
) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9720 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9736 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
= 0;
9738 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9745 PyObject
* obj1
= 0 ;
9746 char * kwnames
[] = {
9747 (char *) "self",(char *) "width", NULL
9750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9752 if (!SWIG_IsOK(res1
)) {
9753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9755 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9757 if (!SWIG_IsOK(ecode2
)) {
9758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9760 arg2
= static_cast< int >(val2
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 (arg1
)->SetSashSize(arg2
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_Py_Void();
9774 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "width", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9793 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9795 if (!SWIG_IsOK(ecode2
)) {
9796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9798 arg2
= static_cast< int >(val2
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 (arg1
)->SetBorderSize(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_Py_Void();
9812 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 PyObject
*resultobj
= 0;
9814 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9818 PyObject
*swig_obj
[1] ;
9820 if (!args
) SWIG_fail
;
9822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9823 if (!SWIG_IsOK(res1
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9826 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_From_int(static_cast< int >(result
));
9840 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9841 PyObject
*resultobj
= 0;
9842 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9846 PyObject
*swig_obj
[1] ;
9848 if (!args
) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9854 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_From_int(static_cast< int >(result
));
9868 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
= 0;
9870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9872 bool arg3
= (bool) true ;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 PyObject
* obj2
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "self",(char *) "position",(char *) "redraw", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9891 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9893 if (!SWIG_IsOK(ecode2
)) {
9894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9896 arg2
= static_cast< int >(val2
);
9898 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9899 if (!SWIG_IsOK(ecode3
)) {
9900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9902 arg3
= static_cast< bool >(val3
);
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetSashPosition(arg2
,arg3
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 PyObject
*resultobj
= 0;
9919 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9923 PyObject
*swig_obj
[1] ;
9925 if (!args
) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9931 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_From_int(static_cast< int >(result
));
9945 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
= 0;
9947 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9955 char * kwnames
[] = {
9956 (char *) "self",(char *) "gravity", NULL
9959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9964 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9965 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9966 if (!SWIG_IsOK(ecode2
)) {
9967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
9969 arg2
= static_cast< double >(val2
);
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 (arg1
)->SetSashGravity(arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9984 PyObject
*resultobj
= 0;
9985 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9989 PyObject
*swig_obj
[1] ;
9991 if (!args
) SWIG_fail
;
9993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9994 if (!SWIG_IsOK(res1
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9997 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_From_double(static_cast< double >(result
));
10011 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
= 0;
10013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "min", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10032 if (!SWIG_IsOK(ecode2
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10035 arg2
= static_cast< int >(val2
);
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->SetMinimumPaneSize(arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_Py_Void();
10049 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10050 PyObject
*resultobj
= 0;
10051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10055 PyObject
*swig_obj
[1] ;
10057 if (!args
) SWIG_fail
;
10058 swig_obj
[0] = args
;
10059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10060 if (!SWIG_IsOK(res1
)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10063 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= SWIG_From_int(static_cast< int >(result
));
10077 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10082 int arg4
= (int) 5 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 PyObject
* obj2
= 0 ;
10095 PyObject
* obj3
= 0 ;
10096 char * kwnames
[] = {
10097 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10102 if (!SWIG_IsOK(res1
)) {
10103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10105 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10107 if (!SWIG_IsOK(ecode2
)) {
10108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10110 arg2
= static_cast< int >(val2
);
10111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10112 if (!SWIG_IsOK(ecode3
)) {
10113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10115 arg3
= static_cast< int >(val3
);
10117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10118 if (!SWIG_IsOK(ecode4
)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10121 arg4
= static_cast< int >(val4
);
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10138 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10139 PyObject
*resultobj
= 0;
10140 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10143 PyObject
*swig_obj
[1] ;
10145 if (!args
) SWIG_fail
;
10146 swig_obj
[0] = args
;
10147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10148 if (!SWIG_IsOK(res1
)) {
10149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10151 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 (arg1
)->SizeWindows();
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= SWIG_Py_Void();
10165 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
= 0;
10167 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 char * kwnames
[] = {
10176 (char *) "self",(char *) "needUpdating", NULL
10179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10181 if (!SWIG_IsOK(res1
)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10184 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10186 if (!SWIG_IsOK(ecode2
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10189 arg2
= static_cast< bool >(val2
);
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 (arg1
)->SetNeedUpdating(arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_Py_Void();
10203 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10209 PyObject
*swig_obj
[1] ;
10211 if (!args
) SWIG_fail
;
10212 swig_obj
[0] = args
;
10213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10214 if (!SWIG_IsOK(res1
)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10217 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10233 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
= 0;
10235 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10236 SwigValueWrapper
<wxVisualAttributes
> result
;
10239 PyObject
* obj0
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "variant", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10247 if (!SWIG_IsOK(ecode1
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10250 arg1
= static_cast< wxWindowVariant
>(val1
);
10253 if (!wxPyCheckForApp()) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10266 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10269 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10270 return SWIG_Py_Void();
10273 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10274 return SWIG_Python_InitShadowInstance(args
);
10277 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= 0;
10279 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10280 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10281 wxSplitterEvent
*result
= 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 char * kwnames
[] = {
10289 (char *) "type",(char *) "splitter", NULL
10292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10295 if (!SWIG_IsOK(ecode1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10298 arg1
= static_cast< wxEventType
>(val1
);
10301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10302 if (!SWIG_IsOK(res2
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10305 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10320 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "pos", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10339 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10341 if (!SWIG_IsOK(ecode2
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10344 arg2
= static_cast< int >(val2
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 (arg1
)->SetSashPosition(arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_Py_Void();
10358 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10359 PyObject
*resultobj
= 0;
10360 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10364 PyObject
*swig_obj
[1] ;
10366 if (!args
) SWIG_fail
;
10367 swig_obj
[0] = args
;
10368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10372 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_From_int(static_cast< int >(result
));
10386 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10387 PyObject
*resultobj
= 0;
10388 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10389 wxWindow
*result
= 0 ;
10392 PyObject
*swig_obj
[1] ;
10394 if (!args
) SWIG_fail
;
10395 swig_obj
[0] = args
;
10396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10400 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= wxPyMake_wxObject(result
, 0);
10416 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 PyObject
*resultobj
= 0;
10418 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10422 PyObject
*swig_obj
[1] ;
10424 if (!args
) SWIG_fail
;
10425 swig_obj
[0] = args
;
10426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10430 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_From_int(static_cast< int >(result
));
10444 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10445 PyObject
*resultobj
= 0;
10446 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10450 PyObject
*swig_obj
[1] ;
10452 if (!args
) SWIG_fail
;
10453 swig_obj
[0] = args
;
10454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10458 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_From_int(static_cast< int >(result
));
10472 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10475 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10476 return SWIG_Py_Void();
10479 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10480 return SWIG_Python_InitShadowInstance(args
);
10483 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10484 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10489 SWIGINTERN PyObject
*SashNameStr_get(void) {
10490 PyObject
*pyobj
= 0;
10494 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10496 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10503 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10504 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10509 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10510 PyObject
*pyobj
= 0;
10514 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10516 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10523 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
= 0;
10525 wxWindow
*arg1
= (wxWindow
*) 0 ;
10526 int arg2
= (int) -1 ;
10527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10531 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10532 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10534 wxSashWindow
*result
= 0 ;
10543 bool temp6
= false ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 PyObject
* obj4
= 0 ;
10549 PyObject
* obj5
= 0 ;
10550 char * kwnames
[] = {
10551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10559 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10562 if (!SWIG_IsOK(ecode2
)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10565 arg2
= static_cast< int >(val2
);
10570 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10580 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10581 if (!SWIG_IsOK(ecode5
)) {
10582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10584 arg5
= static_cast< long >(val5
);
10588 arg6
= wxString_in_helper(obj5
);
10589 if (arg6
== NULL
) SWIG_fail
;
10594 if (!wxPyCheckForApp()) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10615 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 PyObject
*resultobj
= 0;
10617 wxSashWindow
*result
= 0 ;
10619 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10621 if (!wxPyCheckForApp()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (wxSashWindow
*)new wxSashWindow();
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10634 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10637 wxWindow
*arg2
= (wxWindow
*) 0 ;
10638 int arg3
= (int) -1 ;
10639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10643 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10644 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10645 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10657 bool temp7
= false ;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 PyObject
* obj2
= 0 ;
10661 PyObject
* obj3
= 0 ;
10662 PyObject
* obj4
= 0 ;
10663 PyObject
* obj5
= 0 ;
10664 PyObject
* obj6
= 0 ;
10665 char * kwnames
[] = {
10666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10671 if (!SWIG_IsOK(res1
)) {
10672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10674 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10676 if (!SWIG_IsOK(res2
)) {
10677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10679 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10682 if (!SWIG_IsOK(ecode3
)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10685 arg3
= static_cast< int >(val3
);
10690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10700 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10701 if (!SWIG_IsOK(ecode6
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10704 arg6
= static_cast< long >(val6
);
10708 arg7
= wxString_in_helper(obj6
);
10709 if (arg7
== NULL
) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10736 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10739 wxSashEdgePosition arg2
;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "self",(char *) "edge",(char *) "sash", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10759 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10761 if (!SWIG_IsOK(ecode2
)) {
10762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10764 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10765 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10766 if (!SWIG_IsOK(ecode3
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10769 arg3
= static_cast< bool >(val3
);
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->SetSashVisible(arg2
,arg3
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_Py_Void();
10783 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
= 0;
10785 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10786 wxSashEdgePosition arg2
;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char * kwnames
[] = {
10795 (char *) "self",(char *) "edge", NULL
10798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10803 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10805 if (!SWIG_IsOK(ecode2
)) {
10806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10808 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10824 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
= 0;
10826 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10827 wxSashEdgePosition arg2
;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 PyObject
* obj2
= 0 ;
10838 char * kwnames
[] = {
10839 (char *) "self",(char *) "edge",(char *) "border", NULL
10842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10844 if (!SWIG_IsOK(res1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10847 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10849 if (!SWIG_IsOK(ecode2
)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10852 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10853 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10854 if (!SWIG_IsOK(ecode3
)) {
10855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10857 arg3
= static_cast< bool >(val3
);
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->SetSashBorder(arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= SWIG_Py_Void();
10871 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
= 0;
10873 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10874 wxSashEdgePosition arg2
;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char * kwnames
[] = {
10883 (char *) "self",(char *) "edge", NULL
10886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10891 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10893 if (!SWIG_IsOK(ecode2
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10896 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10912 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
= 0;
10914 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10915 wxSashEdgePosition arg2
;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 char * kwnames
[] = {
10924 (char *) "self",(char *) "edge", NULL
10927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10932 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10934 if (!SWIG_IsOK(ecode2
)) {
10935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10937 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_From_int(static_cast< int >(result
));
10951 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
= 0;
10953 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 PyObject
* obj1
= 0 ;
10961 char * kwnames
[] = {
10962 (char *) "self",(char *) "width", NULL
10965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10967 if (!SWIG_IsOK(res1
)) {
10968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10970 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10972 if (!SWIG_IsOK(ecode2
)) {
10973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
10975 arg2
= static_cast< int >(val2
);
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 (arg1
)->SetDefaultBorderSize(arg2
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= SWIG_Py_Void();
10989 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10991 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10995 PyObject
*swig_obj
[1] ;
10997 if (!args
) SWIG_fail
;
10998 swig_obj
[0] = args
;
10999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11003 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_From_int(static_cast< int >(result
));
11017 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
= 0;
11019 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 char * kwnames
[] = {
11028 (char *) "self",(char *) "width", NULL
11031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11036 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11038 if (!SWIG_IsOK(ecode2
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11041 arg2
= static_cast< int >(val2
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 (arg1
)->SetExtraBorderSize(arg2
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_Py_Void();
11055 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11056 PyObject
*resultobj
= 0;
11057 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11061 PyObject
*swig_obj
[1] ;
11063 if (!args
) SWIG_fail
;
11064 swig_obj
[0] = args
;
11065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11066 if (!SWIG_IsOK(res1
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11069 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_From_int(static_cast< int >(result
));
11083 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
= 0;
11085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 char * kwnames
[] = {
11094 (char *) "self",(char *) "min", NULL
11097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11099 if (!SWIG_IsOK(res1
)) {
11100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11102 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11104 if (!SWIG_IsOK(ecode2
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11107 arg2
= static_cast< int >(val2
);
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 (arg1
)->SetMinimumSizeX(arg2
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_Py_Void();
11121 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 char * kwnames
[] = {
11132 (char *) "self",(char *) "min", NULL
11135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11140 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11142 if (!SWIG_IsOK(ecode2
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11145 arg2
= static_cast< int >(val2
);
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->SetMinimumSizeY(arg2
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= SWIG_Py_Void();
11159 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11165 PyObject
*swig_obj
[1] ;
11167 if (!args
) SWIG_fail
;
11168 swig_obj
[0] = args
;
11169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11173 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_From_int(static_cast< int >(result
));
11187 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11189 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11193 PyObject
*swig_obj
[1] ;
11195 if (!args
) SWIG_fail
;
11196 swig_obj
[0] = args
;
11197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11198 if (!SWIG_IsOK(res1
)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11201 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_From_int(static_cast< int >(result
));
11215 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= 0;
11217 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char * kwnames
[] = {
11226 (char *) "self",(char *) "max", NULL
11229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11234 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11236 if (!SWIG_IsOK(ecode2
)) {
11237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11239 arg2
= static_cast< int >(val2
);
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 (arg1
)->SetMaximumSizeX(arg2
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_Py_Void();
11253 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
= 0;
11255 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char * kwnames
[] = {
11264 (char *) "self",(char *) "max", NULL
11267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11272 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11274 if (!SWIG_IsOK(ecode2
)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11277 arg2
= static_cast< int >(val2
);
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 (arg1
)->SetMaximumSizeY(arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_Py_Void();
11291 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11292 PyObject
*resultobj
= 0;
11293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11297 PyObject
*swig_obj
[1] ;
11299 if (!args
) SWIG_fail
;
11300 swig_obj
[0] = args
;
11301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11305 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_From_int(static_cast< int >(result
));
11319 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11320 PyObject
*resultobj
= 0;
11321 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11325 PyObject
*swig_obj
[1] ;
11327 if (!args
) SWIG_fail
;
11328 swig_obj
[0] = args
;
11329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11330 if (!SWIG_IsOK(res1
)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11333 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_From_int(static_cast< int >(result
));
11347 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
= 0;
11349 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11352 int arg4
= (int) 2 ;
11353 wxSashEdgePosition result
;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 PyObject
* obj2
= 0 ;
11365 PyObject
* obj3
= 0 ;
11366 char * kwnames
[] = {
11367 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11375 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11377 if (!SWIG_IsOK(ecode2
)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11380 arg2
= static_cast< int >(val2
);
11381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11382 if (!SWIG_IsOK(ecode3
)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11385 arg3
= static_cast< int >(val3
);
11387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11388 if (!SWIG_IsOK(ecode4
)) {
11389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11391 arg4
= static_cast< int >(val4
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_int(static_cast< int >(result
));
11406 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11408 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11411 PyObject
*swig_obj
[1] ;
11413 if (!args
) SWIG_fail
;
11414 swig_obj
[0] = args
;
11415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11416 if (!SWIG_IsOK(res1
)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11419 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->SizeWindows();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_Py_Void();
11433 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11436 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11437 return SWIG_Py_Void();
11440 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11441 return SWIG_Python_InitShadowInstance(args
);
11444 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11446 int arg1
= (int) 0 ;
11447 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11448 wxSashEvent
*result
= 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "id",(char *) "edge", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11462 if (!SWIG_IsOK(ecode1
)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11465 arg1
= static_cast< int >(val1
);
11468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11469 if (!SWIG_IsOK(ecode2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11472 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11487 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11490 wxSashEdgePosition arg2
;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "self",(char *) "edge", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11506 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11508 if (!SWIG_IsOK(ecode2
)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11511 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->SetEdge(arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_Py_Void();
11525 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11528 wxSashEdgePosition result
;
11531 PyObject
*swig_obj
[1] ;
11533 if (!args
) SWIG_fail
;
11534 swig_obj
[0] = args
;
11535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11539 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_From_int(static_cast< int >(result
));
11553 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "rect", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11571 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_Py_Void();
11589 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11590 PyObject
*resultobj
= 0;
11591 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11595 PyObject
*swig_obj
[1] ;
11597 if (!args
) SWIG_fail
;
11598 swig_obj
[0] = args
;
11599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11600 if (!SWIG_IsOK(res1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11603 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11617 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= 0;
11619 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11620 wxSashDragStatus arg2
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "status", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11636 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11638 if (!SWIG_IsOK(ecode2
)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11641 arg2
= static_cast< wxSashDragStatus
>(val2
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->SetDragStatus(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_Py_Void();
11655 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11658 wxSashDragStatus result
;
11661 PyObject
*swig_obj
[1] ;
11663 if (!args
) SWIG_fail
;
11664 swig_obj
[0] = args
;
11665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11669 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11686 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11687 return SWIG_Py_Void();
11690 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11691 return SWIG_Python_InitShadowInstance(args
);
11694 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
= 0;
11696 int arg1
= (int) 0 ;
11697 wxQueryLayoutInfoEvent
*result
= 0 ;
11700 PyObject
* obj0
= 0 ;
11701 char * kwnames
[] = {
11702 (char *) "id", NULL
11705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11708 if (!SWIG_IsOK(ecode1
)) {
11709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11711 arg1
= static_cast< int >(val1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11726 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 char * kwnames
[] = {
11737 (char *) "self",(char *) "length", NULL
11740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11742 if (!SWIG_IsOK(res1
)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11745 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11747 if (!SWIG_IsOK(ecode2
)) {
11748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11750 arg2
= static_cast< int >(val2
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 (arg1
)->SetRequestedLength(arg2
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_Py_Void();
11764 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 PyObject
*resultobj
= 0;
11766 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11770 PyObject
*swig_obj
[1] ;
11772 if (!args
) SWIG_fail
;
11773 swig_obj
[0] = args
;
11774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11778 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_From_int(static_cast< int >(result
));
11792 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
= 0;
11794 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 char * kwnames
[] = {
11803 (char *) "self",(char *) "flags", NULL
11806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11808 if (!SWIG_IsOK(res1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11811 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11813 if (!SWIG_IsOK(ecode2
)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11816 arg2
= static_cast< int >(val2
);
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 (arg1
)->SetFlags(arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_Py_Void();
11830 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11831 PyObject
*resultobj
= 0;
11832 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11836 PyObject
*swig_obj
[1] ;
11838 if (!args
) SWIG_fail
;
11839 swig_obj
[0] = args
;
11840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11841 if (!SWIG_IsOK(res1
)) {
11842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11844 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_From_int(static_cast< int >(result
));
11858 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
= 0;
11860 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 char * kwnames
[] = {
11868 (char *) "self",(char *) "size", NULL
11871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11876 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->SetSize((wxSize
const &)*arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_Py_Void();
11894 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11908 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11922 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11925 wxLayoutOrientation arg2
;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "orient", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11941 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11943 if (!SWIG_IsOK(ecode2
)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
11946 arg2
= static_cast< wxLayoutOrientation
>(val2
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->SetOrientation(arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11960 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11963 wxLayoutOrientation result
;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11974 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_From_int(static_cast< int >(result
));
11988 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
= 0;
11990 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11991 wxLayoutAlignment arg2
;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char * kwnames
[] = {
11999 (char *) "self",(char *) "align", NULL
12002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12007 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12009 if (!SWIG_IsOK(ecode2
)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12012 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 (arg1
)->SetAlignment(arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_Py_Void();
12026 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12027 PyObject
*resultobj
= 0;
12028 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12029 wxLayoutAlignment result
;
12032 PyObject
*swig_obj
[1] ;
12034 if (!args
) SWIG_fail
;
12035 swig_obj
[0] = args
;
12036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12037 if (!SWIG_IsOK(res1
)) {
12038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12040 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_From_int(static_cast< int >(result
));
12054 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12057 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12058 return SWIG_Py_Void();
12061 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12062 return SWIG_Python_InitShadowInstance(args
);
12065 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
= 0;
12067 int arg1
= (int) 0 ;
12068 wxCalculateLayoutEvent
*result
= 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "id", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12079 if (!SWIG_IsOK(ecode1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12082 arg1
= static_cast< int >(val1
);
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12097 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char * kwnames
[] = {
12108 (char *) "self",(char *) "flags", NULL
12111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12116 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12118 if (!SWIG_IsOK(ecode2
)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12121 arg2
= static_cast< int >(val2
);
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 (arg1
)->SetFlags(arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_Py_Void();
12135 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12136 PyObject
*resultobj
= 0;
12137 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12141 PyObject
*swig_obj
[1] ;
12143 if (!args
) SWIG_fail
;
12144 swig_obj
[0] = args
;
12145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12149 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_From_int(static_cast< int >(result
));
12163 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
= 0;
12165 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char * kwnames
[] = {
12173 (char *) "self",(char *) "rect", NULL
12176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12178 if (!SWIG_IsOK(res1
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12181 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12184 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->SetRect((wxRect
const &)*arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_Py_Void();
12199 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12213 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12227 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12230 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12231 return SWIG_Py_Void();
12234 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12235 return SWIG_Python_InitShadowInstance(args
);
12238 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
= 0;
12240 wxWindow
*arg1
= (wxWindow
*) 0 ;
12241 int arg2
= (int) -1 ;
12242 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12243 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12244 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12245 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12246 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12247 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12248 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12249 wxSashLayoutWindow
*result
= 0 ;
12258 bool temp6
= false ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 PyObject
* obj2
= 0 ;
12262 PyObject
* obj3
= 0 ;
12263 PyObject
* obj4
= 0 ;
12264 PyObject
* obj5
= 0 ;
12265 char * kwnames
[] = {
12266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12271 if (!SWIG_IsOK(res1
)) {
12272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12274 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12277 if (!SWIG_IsOK(ecode2
)) {
12278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12280 arg2
= static_cast< int >(val2
);
12285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12291 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12295 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12296 if (!SWIG_IsOK(ecode5
)) {
12297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12299 arg5
= static_cast< long >(val5
);
12303 arg6
= wxString_in_helper(obj5
);
12304 if (arg6
== NULL
) SWIG_fail
;
12309 if (!wxPyCheckForApp()) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12330 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 PyObject
*resultobj
= 0;
12332 wxSashLayoutWindow
*result
= 0 ;
12334 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12336 if (!wxPyCheckForApp()) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12349 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= 0;
12351 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12352 wxWindow
*arg2
= (wxWindow
*) 0 ;
12353 int arg3
= (int) -1 ;
12354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12358 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12359 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12360 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12372 bool temp7
= false ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 PyObject
* obj2
= 0 ;
12376 PyObject
* obj3
= 0 ;
12377 PyObject
* obj4
= 0 ;
12378 PyObject
* obj5
= 0 ;
12379 PyObject
* obj6
= 0 ;
12380 char * kwnames
[] = {
12381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12389 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12391 if (!SWIG_IsOK(res2
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12397 if (!SWIG_IsOK(ecode3
)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12400 arg3
= static_cast< int >(val3
);
12405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12415 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12416 if (!SWIG_IsOK(ecode6
)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12419 arg6
= static_cast< long >(val6
);
12423 arg7
= wxString_in_helper(obj6
);
12424 if (arg7
== NULL
) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12451 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12452 PyObject
*resultobj
= 0;
12453 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12454 wxLayoutAlignment result
;
12457 PyObject
*swig_obj
[1] ;
12459 if (!args
) SWIG_fail
;
12460 swig_obj
[0] = args
;
12461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12462 if (!SWIG_IsOK(res1
)) {
12463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12465 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_From_int(static_cast< int >(result
));
12479 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12480 PyObject
*resultobj
= 0;
12481 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12482 wxLayoutOrientation result
;
12485 PyObject
*swig_obj
[1] ;
12487 if (!args
) SWIG_fail
;
12488 swig_obj
[0] = args
;
12489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12493 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_From_int(static_cast< int >(result
));
12507 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
= 0;
12509 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12510 wxLayoutAlignment arg2
;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 char * kwnames
[] = {
12518 (char *) "self",(char *) "alignment", NULL
12521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12526 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12528 if (!SWIG_IsOK(ecode2
)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12531 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->SetAlignment(arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_Py_Void();
12545 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
= 0;
12547 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 char * kwnames
[] = {
12555 (char *) "self",(char *) "size", NULL
12558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12563 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_Py_Void();
12581 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= 0;
12583 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12584 wxLayoutOrientation arg2
;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char * kwnames
[] = {
12592 (char *) "self",(char *) "orientation", NULL
12595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12600 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12602 if (!SWIG_IsOK(ecode2
)) {
12603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12605 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetOrientation(arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_Py_Void();
12619 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12622 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12623 return SWIG_Py_Void();
12626 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12627 return SWIG_Python_InitShadowInstance(args
);
12630 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12631 PyObject
*resultobj
= 0;
12632 wxLayoutAlgorithm
*result
= 0 ;
12634 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12648 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12649 PyObject
*resultobj
= 0;
12650 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12653 PyObject
*swig_obj
[1] ;
12655 if (!args
) SWIG_fail
;
12656 swig_obj
[0] = args
;
12657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12661 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_Py_Void();
12676 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
= 0;
12678 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12679 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12680 wxRect
*arg3
= (wxRect
*) NULL
;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 PyObject
* obj2
= 0 ;
12691 char * kwnames
[] = {
12692 (char *) "self",(char *) "frame",(char *) "rect", NULL
12695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12700 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12702 if (!SWIG_IsOK(res2
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12705 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12707 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12708 if (!SWIG_IsOK(res3
)) {
12709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12711 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12728 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
= 0;
12730 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12731 wxFrame
*arg2
= (wxFrame
*) 0 ;
12732 wxWindow
*arg3
= (wxWindow
*) NULL
;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 PyObject
* obj2
= 0 ;
12743 char * kwnames
[] = {
12744 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12749 if (!SWIG_IsOK(res1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12752 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12754 if (!SWIG_IsOK(res2
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12757 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12759 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12760 if (!SWIG_IsOK(res3
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12763 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12780 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
= 0;
12782 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12783 wxWindow
*arg2
= (wxWindow
*) 0 ;
12784 wxWindow
*arg3
= (wxWindow
*) NULL
;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 PyObject
* obj2
= 0 ;
12795 char * kwnames
[] = {
12796 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12801 if (!SWIG_IsOK(res1
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12804 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12806 if (!SWIG_IsOK(res2
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12811 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12812 if (!SWIG_IsOK(res3
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12815 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12832 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12835 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12836 return SWIG_Py_Void();
12839 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12840 return SWIG_Python_InitShadowInstance(args
);
12843 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxWindow
*arg1
= (wxWindow
*) 0 ;
12846 int arg2
= (int) wxBORDER_NONE
;
12847 wxPopupWindow
*result
= 0 ;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 char * kwnames
[] = {
12855 (char *) "parent",(char *) "flags", NULL
12858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12860 if (!SWIG_IsOK(res1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12866 if (!SWIG_IsOK(ecode2
)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12869 arg2
= static_cast< int >(val2
);
12872 if (!wxPyCheckForApp()) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12885 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12886 PyObject
*resultobj
= 0;
12887 wxPopupWindow
*result
= 0 ;
12889 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12891 if (!wxPyCheckForApp()) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (wxPopupWindow
*)new wxPopupWindow();
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12904 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12907 wxWindow
*arg2
= (wxWindow
*) 0 ;
12908 int arg3
= (int) wxBORDER_NONE
;
12916 PyObject
* obj0
= 0 ;
12917 PyObject
* obj1
= 0 ;
12918 PyObject
* obj2
= 0 ;
12919 char * kwnames
[] = {
12920 (char *) "self",(char *) "parent",(char *) "flags", NULL
12923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12925 if (!SWIG_IsOK(res1
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12928 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12930 if (!SWIG_IsOK(res2
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12936 if (!SWIG_IsOK(ecode3
)) {
12937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12939 arg3
= static_cast< int >(val3
);
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (bool)(arg1
)->Create(arg2
,arg3
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12956 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
= 0;
12958 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12959 wxPoint
*arg2
= 0 ;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 PyObject
* obj2
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
12972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12977 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12984 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13003 return SWIG_Py_Void();
13006 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13007 return SWIG_Python_InitShadowInstance(args
);
13010 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
= 0;
13012 wxWindow
*arg1
= (wxWindow
*) 0 ;
13013 int arg2
= (int) wxBORDER_NONE
;
13014 wxPyPopupTransientWindow
*result
= 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 char * kwnames
[] = {
13022 (char *) "parent",(char *) "style", NULL
13025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13027 if (!SWIG_IsOK(res1
)) {
13028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13033 if (!SWIG_IsOK(ecode2
)) {
13034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13036 arg2
= static_cast< int >(val2
);
13039 if (!wxPyCheckForApp()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13052 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13053 PyObject
*resultobj
= 0;
13054 wxPyPopupTransientWindow
*result
= 0 ;
13056 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13058 if (!wxPyCheckForApp()) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13071 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= 0;
13073 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13074 PyObject
*arg2
= (PyObject
*) 0 ;
13075 PyObject
*arg3
= (PyObject
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "self",(char *) "_class", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13090 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_Py_Void();
13106 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
= 0;
13108 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13109 wxWindow
*arg2
= (wxWindow
*) NULL
;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char * kwnames
[] = {
13117 (char *) "self",(char *) "focus", NULL
13120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13122 if (!SWIG_IsOK(res1
)) {
13123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13125 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13128 if (!SWIG_IsOK(res2
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->Popup(arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_Py_Void();
13146 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13147 PyObject
*resultobj
= 0;
13148 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13151 PyObject
*swig_obj
[1] ;
13153 if (!args
) SWIG_fail
;
13154 swig_obj
[0] = args
;
13155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13159 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13177 return SWIG_Py_Void();
13180 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 return SWIG_Python_InitShadowInstance(args
);
13184 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
= 0;
13186 wxWindow
*arg1
= (wxWindow
*) 0 ;
13187 wxString
*arg2
= 0 ;
13188 int arg3
= (int) 100 ;
13189 wxRect
*arg4
= (wxRect
*) NULL
;
13190 wxTipWindow
*result
= 0 ;
13193 bool temp2
= false ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 PyObject
* obj3
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13213 arg2
= wxString_in_helper(obj1
);
13214 if (arg2
== NULL
) SWIG_fail
;
13218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13219 if (!SWIG_IsOK(ecode3
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13222 arg3
= static_cast< int >(val3
);
13225 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13226 if (!SWIG_IsOK(res4
)) {
13227 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13229 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13232 if (!wxPyCheckForApp()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13253 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 char * kwnames
[] = {
13263 (char *) "self",(char *) "rectBound", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13271 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13274 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_Py_Void();
13289 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13290 PyObject
*resultobj
= 0;
13291 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13294 PyObject
*swig_obj
[1] ;
13296 if (!args
) SWIG_fail
;
13297 swig_obj
[0] = args
;
13298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13299 if (!SWIG_IsOK(res1
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13302 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= SWIG_Py_Void();
13316 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13319 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13320 return SWIG_Py_Void();
13323 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13324 return SWIG_Python_InitShadowInstance(args
);
13327 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
= 0;
13329 wxWindow
*arg1
= (wxWindow
*) 0 ;
13330 int arg2
= (int) wxID_ANY
;
13331 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13332 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13333 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13334 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13335 long arg5
= (long) 0 ;
13336 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13337 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13338 wxPyVScrolledWindow
*result
= 0 ;
13347 bool temp6
= false ;
13348 PyObject
* obj0
= 0 ;
13349 PyObject
* obj1
= 0 ;
13350 PyObject
* obj2
= 0 ;
13351 PyObject
* obj3
= 0 ;
13352 PyObject
* obj4
= 0 ;
13353 PyObject
* obj5
= 0 ;
13354 char * kwnames
[] = {
13355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13366 if (!SWIG_IsOK(ecode2
)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13369 arg2
= static_cast< int >(val2
);
13374 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13380 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13384 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13385 if (!SWIG_IsOK(ecode5
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13388 arg5
= static_cast< long >(val5
);
13392 arg6
= wxString_in_helper(obj5
);
13393 if (arg6
== NULL
) SWIG_fail
;
13398 if (!wxPyCheckForApp()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13419 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13420 PyObject
*resultobj
= 0;
13421 wxPyVScrolledWindow
*result
= 0 ;
13423 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13425 if (!wxPyCheckForApp()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13438 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
= 0;
13440 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13441 PyObject
*arg2
= (PyObject
*) 0 ;
13442 PyObject
*arg3
= (PyObject
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 PyObject
* obj2
= 0 ;
13448 char * kwnames
[] = {
13449 (char *) "self",(char *) "self",(char *) "_class", NULL
13452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13454 if (!SWIG_IsOK(res1
)) {
13455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13457 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_Py_Void();
13473 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
= 0;
13475 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13476 wxWindow
*arg2
= (wxWindow
*) 0 ;
13477 int arg3
= (int) wxID_ANY
;
13478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13482 long arg6
= (long) 0 ;
13483 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13496 bool temp7
= false ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 PyObject
* obj2
= 0 ;
13500 PyObject
* obj3
= 0 ;
13501 PyObject
* obj4
= 0 ;
13502 PyObject
* obj5
= 0 ;
13503 PyObject
* obj6
= 0 ;
13504 char * kwnames
[] = {
13505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13510 if (!SWIG_IsOK(res1
)) {
13511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13513 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13515 if (!SWIG_IsOK(res2
)) {
13516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13521 if (!SWIG_IsOK(ecode3
)) {
13522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13524 arg3
= static_cast< int >(val3
);
13529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13539 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13540 if (!SWIG_IsOK(ecode6
)) {
13541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13543 arg6
= static_cast< long >(val6
);
13547 arg7
= wxString_in_helper(obj6
);
13548 if (arg7
== NULL
) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13575 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
= 0;
13577 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 PyObject
* obj1
= 0 ;
13585 char * kwnames
[] = {
13586 (char *) "self",(char *) "count", NULL
13589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13594 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13595 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13596 if (!SWIG_IsOK(ecode2
)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13599 arg2
= static_cast< size_t >(val2
);
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 (arg1
)->SetLineCount(arg2
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= SWIG_Py_Void();
13613 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
= 0;
13615 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 char * kwnames
[] = {
13625 (char *) "self",(char *) "line", NULL
13628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13633 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13634 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13635 if (!SWIG_IsOK(ecode2
)) {
13636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13638 arg2
= static_cast< size_t >(val2
);
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13654 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
= 0;
13656 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 char * kwnames
[] = {
13665 (char *) "self",(char *) "line", NULL
13668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13670 if (!SWIG_IsOK(res1
)) {
13671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13673 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13674 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13675 if (!SWIG_IsOK(ecode2
)) {
13676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13678 arg2
= static_cast< size_t >(val2
);
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 (arg1
)->RefreshLine(arg2
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_Py_Void();
13692 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
= 0;
13694 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 PyObject
* obj2
= 0 ;
13706 char * kwnames
[] = {
13707 (char *) "self",(char *) "_from",(char *) "to", NULL
13710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13712 if (!SWIG_IsOK(res1
)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13715 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13716 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13717 if (!SWIG_IsOK(ecode2
)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13720 arg2
= static_cast< size_t >(val2
);
13721 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13722 if (!SWIG_IsOK(ecode3
)) {
13723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13725 arg3
= static_cast< size_t >(val3
);
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 (arg1
)->RefreshLines(arg2
,arg3
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_Py_Void();
13739 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
= 0;
13741 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 PyObject
* obj2
= 0 ;
13754 char * kwnames
[] = {
13755 (char *) "self",(char *) "x",(char *) "y", NULL
13758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13760 if (!SWIG_IsOK(res1
)) {
13761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13763 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13765 if (!SWIG_IsOK(ecode2
)) {
13766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13768 arg2
= static_cast< int >(val2
);
13769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13770 if (!SWIG_IsOK(ecode3
)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13773 arg3
= static_cast< int >(val3
);
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_From_int(static_cast< int >(result
));
13787 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= 0;
13789 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13790 wxPoint
*arg2
= 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "self",(char *) "pt", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13806 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_From_int(static_cast< int >(result
));
13824 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13825 PyObject
*resultobj
= 0;
13826 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13829 PyObject
*swig_obj
[1] ;
13831 if (!args
) SWIG_fail
;
13832 swig_obj
[0] = args
;
13833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13837 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 (arg1
)->RefreshAll();
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 resultobj
= SWIG_Py_Void();
13851 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13852 PyObject
*resultobj
= 0;
13853 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13857 PyObject
*swig_obj
[1] ;
13859 if (!args
) SWIG_fail
;
13860 swig_obj
[0] = args
;
13861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13865 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13879 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13880 PyObject
*resultobj
= 0;
13881 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13885 PyObject
*swig_obj
[1] ;
13887 if (!args
) SWIG_fail
;
13888 swig_obj
[0] = args
;
13889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13893 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13907 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13908 PyObject
*resultobj
= 0;
13909 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13913 PyObject
*swig_obj
[1] ;
13915 if (!args
) SWIG_fail
;
13916 swig_obj
[0] = args
;
13917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13918 if (!SWIG_IsOK(res1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13921 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13935 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
= 0;
13937 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "self",(char *) "line", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13955 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13957 if (!SWIG_IsOK(ecode2
)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13960 arg2
= static_cast< size_t >(val2
);
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13976 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13977 PyObject
*resultobj
= 0;
13978 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13982 PyObject
*swig_obj
[1] ;
13984 if (!args
) SWIG_fail
;
13985 swig_obj
[0] = args
;
13986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13990 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14004 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14005 PyObject
*resultobj
= 0;
14006 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14010 PyObject
*swig_obj
[1] ;
14012 if (!args
) SWIG_fail
;
14013 swig_obj
[0] = args
;
14014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14015 if (!SWIG_IsOK(res1
)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14018 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14032 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
= 0;
14034 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14036 bool arg3
= (bool) false ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 PyObject
* obj2
= 0 ;
14047 char * kwnames
[] = {
14048 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14053 if (!SWIG_IsOK(res1
)) {
14054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14056 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14057 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14058 if (!SWIG_IsOK(ecode2
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14061 arg2
= static_cast< size_t >(val2
);
14063 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14064 if (!SWIG_IsOK(ecode3
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14067 arg3
= static_cast< bool >(val3
);
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14082 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
= 0;
14084 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 PyObject
* obj1
= 0 ;
14096 PyObject
* obj2
= 0 ;
14097 char * kwnames
[] = {
14098 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14103 if (!SWIG_IsOK(res1
)) {
14104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14106 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14107 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14108 if (!SWIG_IsOK(ecode2
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14111 arg2
= static_cast< size_t >(val2
);
14112 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14113 if (!SWIG_IsOK(ecode3
)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14116 arg3
= static_cast< size_t >(val3
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_From_int(static_cast< int >(result
));
14130 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14134 return SWIG_Py_Void();
14137 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 return SWIG_Python_InitShadowInstance(args
);
14141 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14142 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14147 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14148 PyObject
*pyobj
= 0;
14152 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14154 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14161 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
= 0;
14163 wxWindow
*arg1
= (wxWindow
*) 0 ;
14164 int arg2
= (int) wxID_ANY
;
14165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14169 long arg5
= (long) 0 ;
14170 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14171 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14172 wxPyVListBox
*result
= 0 ;
14181 bool temp6
= false ;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 PyObject
* obj2
= 0 ;
14185 PyObject
* obj3
= 0 ;
14186 PyObject
* obj4
= 0 ;
14187 PyObject
* obj5
= 0 ;
14188 char * kwnames
[] = {
14189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14194 if (!SWIG_IsOK(res1
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14200 if (!SWIG_IsOK(ecode2
)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14203 arg2
= static_cast< int >(val2
);
14208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14218 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14219 if (!SWIG_IsOK(ecode5
)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14222 arg5
= static_cast< long >(val5
);
14226 arg6
= wxString_in_helper(obj5
);
14227 if (arg6
== NULL
) SWIG_fail
;
14232 if (!wxPyCheckForApp()) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14253 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 PyObject
*resultobj
= 0;
14255 wxPyVListBox
*result
= 0 ;
14257 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14259 if (!wxPyCheckForApp()) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (wxPyVListBox
*)new wxPyVListBox();
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14272 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
= 0;
14274 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14275 PyObject
*arg2
= (PyObject
*) 0 ;
14276 PyObject
*arg3
= (PyObject
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 PyObject
* obj1
= 0 ;
14281 PyObject
* obj2
= 0 ;
14282 char * kwnames
[] = {
14283 (char *) "self",(char *) "self",(char *) "_class", NULL
14286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14288 if (!SWIG_IsOK(res1
)) {
14289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14291 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_Py_Void();
14307 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
= 0;
14309 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14310 wxWindow
*arg2
= (wxWindow
*) 0 ;
14311 int arg3
= (int) wxID_ANY
;
14312 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14313 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14314 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14315 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14316 long arg6
= (long) 0 ;
14317 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14318 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14330 bool temp7
= false ;
14331 PyObject
* obj0
= 0 ;
14332 PyObject
* obj1
= 0 ;
14333 PyObject
* obj2
= 0 ;
14334 PyObject
* obj3
= 0 ;
14335 PyObject
* obj4
= 0 ;
14336 PyObject
* obj5
= 0 ;
14337 PyObject
* obj6
= 0 ;
14338 char * kwnames
[] = {
14339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14344 if (!SWIG_IsOK(res1
)) {
14345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14347 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14349 if (!SWIG_IsOK(res2
)) {
14350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14355 if (!SWIG_IsOK(ecode3
)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14358 arg3
= static_cast< int >(val3
);
14363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14373 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14374 if (!SWIG_IsOK(ecode6
)) {
14375 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14377 arg6
= static_cast< long >(val6
);
14381 arg7
= wxString_in_helper(obj6
);
14382 if (arg7
== NULL
) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14409 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 PyObject
*resultobj
= 0;
14411 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14415 PyObject
*swig_obj
[1] ;
14417 if (!args
) SWIG_fail
;
14418 swig_obj
[0] = args
;
14419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14423 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14437 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14438 PyObject
*resultobj
= 0;
14439 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14443 PyObject
*swig_obj
[1] ;
14445 if (!args
) SWIG_fail
;
14446 swig_obj
[0] = args
;
14447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14451 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14467 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14468 PyObject
*resultobj
= 0;
14469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14473 PyObject
*swig_obj
[1] ;
14475 if (!args
) SWIG_fail
;
14476 swig_obj
[0] = args
;
14477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14478 if (!SWIG_IsOK(res1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14481 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= SWIG_From_int(static_cast< int >(result
));
14495 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
= 0;
14497 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 PyObject
* obj1
= 0 ;
14506 char * kwnames
[] = {
14507 (char *) "self",(char *) "item", NULL
14510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14512 if (!SWIG_IsOK(res1
)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14515 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14516 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14517 if (!SWIG_IsOK(ecode2
)) {
14518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14520 arg2
= static_cast< size_t >(val2
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= 0;
14538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 char * kwnames
[] = {
14548 (char *) "self",(char *) "item", NULL
14551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14556 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14557 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14558 if (!SWIG_IsOK(ecode2
)) {
14559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14561 arg2
= static_cast< size_t >(val2
);
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14577 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14591 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14605 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14606 PyObject
*resultobj
= 0;
14607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14608 PyObject
*result
= 0 ;
14611 PyObject
*swig_obj
[1] ;
14613 if (!args
) SWIG_fail
;
14614 swig_obj
[0] = args
;
14615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14619 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= result
;
14633 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
= 0;
14635 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14636 unsigned long arg2
;
14637 PyObject
*result
= 0 ;
14640 unsigned long val2
;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 char * kwnames
[] = {
14645 (char *) "self",(char *) "cookie", NULL
14648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14650 if (!SWIG_IsOK(res1
)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14653 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14654 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14655 if (!SWIG_IsOK(ecode2
)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14658 arg2
= static_cast< unsigned long >(val2
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
;
14672 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14673 PyObject
*resultobj
= 0;
14674 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14678 PyObject
*swig_obj
[1] ;
14680 if (!args
) SWIG_fail
;
14681 swig_obj
[0] = args
;
14682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14683 if (!SWIG_IsOK(res1
)) {
14684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14686 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14700 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14701 PyObject
*resultobj
= 0;
14702 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14703 wxColour
*result
= 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14714 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14719 result
= (wxColour
*) &_result_ref
;
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14731 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
= 0;
14733 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 char * kwnames
[] = {
14742 (char *) "self",(char *) "count", NULL
14745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14750 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14751 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14752 if (!SWIG_IsOK(ecode2
)) {
14753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14755 arg2
= static_cast< size_t >(val2
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 (arg1
)->SetItemCount(arg2
);
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_Py_Void();
14769 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14770 PyObject
*resultobj
= 0;
14771 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14774 PyObject
*swig_obj
[1] ;
14776 if (!args
) SWIG_fail
;
14777 swig_obj
[0] = args
;
14778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14782 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_Py_Void();
14796 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
= 0;
14798 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 char * kwnames
[] = {
14807 (char *) "self",(char *) "selection", NULL
14810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14815 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14817 if (!SWIG_IsOK(ecode2
)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14820 arg2
= static_cast< int >(val2
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 (arg1
)->SetSelection(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_Py_Void();
14834 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
= 0;
14836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14838 bool arg3
= (bool) true ;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 PyObject
* obj2
= 0 ;
14849 char * kwnames
[] = {
14850 (char *) "self",(char *) "item",(char *) "select", NULL
14853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14858 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14859 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14860 if (!SWIG_IsOK(ecode2
)) {
14861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14863 arg2
= static_cast< size_t >(val2
);
14865 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14866 if (!SWIG_IsOK(ecode3
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14869 arg3
= static_cast< bool >(val3
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
= 0;
14888 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 char * kwnames
[] = {
14902 (char *) "self",(char *) "_from",(char *) "to", NULL
14905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14907 if (!SWIG_IsOK(res1
)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14910 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14911 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14912 if (!SWIG_IsOK(ecode2
)) {
14913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14915 arg2
= static_cast< size_t >(val2
);
14916 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14917 if (!SWIG_IsOK(ecode3
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14920 arg3
= static_cast< size_t >(val3
);
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14936 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
= 0;
14938 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 char * kwnames
[] = {
14947 (char *) "self",(char *) "item", NULL
14950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14955 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14957 if (!SWIG_IsOK(ecode2
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14960 arg2
= static_cast< size_t >(val2
);
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 (arg1
)->Toggle(arg2
);
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_Py_Void();
14974 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14988 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)(arg1
)->SelectAll();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15004 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15005 PyObject
*resultobj
= 0;
15006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15010 PyObject
*swig_obj
[1] ;
15012 if (!args
) SWIG_fail
;
15013 swig_obj
[0] = args
;
15014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15018 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (bool)(arg1
)->DeselectAll();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15034 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
= 0;
15036 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15037 wxPoint
*arg2
= 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "pt", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15052 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_Py_Void();
15070 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
= 0;
15072 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 PyObject
* obj2
= 0 ;
15084 char * kwnames
[] = {
15085 (char *) "self",(char *) "x",(char *) "y", NULL
15088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15093 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15095 if (!SWIG_IsOK(ecode2
)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15098 arg2
= static_cast< int >(val2
);
15099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15100 if (!SWIG_IsOK(ecode3
)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15103 arg3
= static_cast< int >(val3
);
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetMargins(arg2
,arg3
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_Py_Void();
15117 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
= 0;
15119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15120 wxColour
*arg2
= 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 char * kwnames
[] = {
15127 (char *) "self",(char *) "col", NULL
15130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15132 if (!SWIG_IsOK(res1
)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15135 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_Py_Void();
15153 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
= 0;
15155 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 PyObject
* obj2
= 0 ;
15169 PyObject
* obj3
= 0 ;
15170 char * kwnames
[] = {
15171 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15179 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15181 if (!SWIG_IsOK(res2
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15187 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15190 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15192 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15193 if (!SWIG_IsOK(ecode4
)) {
15194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15196 arg4
= static_cast< size_t >(val4
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_Py_Void();
15210 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= 0;
15212 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 PyObject
* obj2
= 0 ;
15226 PyObject
* obj3
= 0 ;
15227 char * kwnames
[] = {
15228 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15233 if (!SWIG_IsOK(res1
)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15236 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15238 if (!SWIG_IsOK(res2
)) {
15239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15244 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15247 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15249 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15250 if (!SWIG_IsOK(ecode4
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15253 arg4
= static_cast< size_t >(val4
);
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_Py_Void();
15267 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15271 return SWIG_Py_Void();
15274 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15275 return SWIG_Python_InitShadowInstance(args
);
15278 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
= 0;
15280 wxWindow
*arg1
= (wxWindow
*) 0 ;
15281 int arg2
= (int) wxID_ANY
;
15282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15286 long arg5
= (long) 0 ;
15287 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15289 wxPyHtmlListBox
*result
= 0 ;
15298 bool temp6
= false ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 PyObject
* obj2
= 0 ;
15302 PyObject
* obj3
= 0 ;
15303 PyObject
* obj4
= 0 ;
15304 PyObject
* obj5
= 0 ;
15305 char * kwnames
[] = {
15306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15311 if (!SWIG_IsOK(res1
)) {
15312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15317 if (!SWIG_IsOK(ecode2
)) {
15318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15320 arg2
= static_cast< int >(val2
);
15325 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15331 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15335 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15336 if (!SWIG_IsOK(ecode5
)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15339 arg5
= static_cast< long >(val5
);
15343 arg6
= wxString_in_helper(obj5
);
15344 if (arg6
== NULL
) SWIG_fail
;
15349 if (!wxPyCheckForApp()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15370 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15371 PyObject
*resultobj
= 0;
15372 wxPyHtmlListBox
*result
= 0 ;
15374 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15376 if (!wxPyCheckForApp()) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15389 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= 0;
15391 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15392 PyObject
*arg2
= (PyObject
*) 0 ;
15393 PyObject
*arg3
= (PyObject
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 PyObject
* obj2
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "self",(char *) "self",(char *) "_class", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15408 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= SWIG_Py_Void();
15424 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
= 0;
15426 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15427 wxWindow
*arg2
= (wxWindow
*) 0 ;
15428 int arg3
= (int) wxID_ANY
;
15429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15433 long arg6
= (long) 0 ;
15434 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15447 bool temp7
= false ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 PyObject
* obj3
= 0 ;
15452 PyObject
* obj4
= 0 ;
15453 PyObject
* obj5
= 0 ;
15454 PyObject
* obj6
= 0 ;
15455 char * kwnames
[] = {
15456 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15461 if (!SWIG_IsOK(res1
)) {
15462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15464 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15465 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15466 if (!SWIG_IsOK(res2
)) {
15467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15469 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15472 if (!SWIG_IsOK(ecode3
)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15475 arg3
= static_cast< int >(val3
);
15480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15490 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15491 if (!SWIG_IsOK(ecode6
)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15494 arg6
= static_cast< long >(val6
);
15498 arg7
= wxString_in_helper(obj6
);
15499 if (arg7
== NULL
) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
= 0;
15528 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char * kwnames
[] = {
15537 (char *) "self",(char *) "count", NULL
15540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15542 if (!SWIG_IsOK(res1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15545 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15546 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15547 if (!SWIG_IsOK(ecode2
)) {
15548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15550 arg2
= static_cast< size_t >(val2
);
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 (arg1
)->SetItemCount(arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_Py_Void();
15564 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15565 PyObject
*resultobj
= 0;
15566 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15567 wxFileSystem
*result
= 0 ;
15570 PyObject
*swig_obj
[1] ;
15572 if (!args
) SWIG_fail
;
15573 swig_obj
[0] = args
;
15574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15575 if (!SWIG_IsOK(res1
)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15578 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15583 result
= (wxFileSystem
*) &_result_ref
;
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15595 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15599 return SWIG_Py_Void();
15602 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15603 return SWIG_Python_InitShadowInstance(args
);
15606 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15607 PyObject
*resultobj
= 0;
15608 wxPyTaskBarIcon
*result
= 0 ;
15610 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15612 if (!wxPyCheckForApp()) SWIG_fail
;
15613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15614 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15625 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15626 PyObject
*resultobj
= 0;
15627 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15630 PyObject
*swig_obj
[1] ;
15632 if (!args
) SWIG_fail
;
15633 swig_obj
[0] = args
;
15634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15635 if (!SWIG_IsOK(res1
)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15638 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= SWIG_Py_Void();
15653 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
= 0;
15655 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15656 PyObject
*arg2
= (PyObject
*) 0 ;
15657 PyObject
*arg3
= (PyObject
*) 0 ;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 PyObject
* obj2
= 0 ;
15666 PyObject
* obj3
= 0 ;
15667 char * kwnames
[] = {
15668 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15676 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15680 if (!SWIG_IsOK(ecode4
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15683 arg4
= static_cast< int >(val4
);
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_Py_Void();
15697 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15698 PyObject
*resultobj
= 0;
15699 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15702 PyObject
*swig_obj
[1] ;
15704 if (!args
) SWIG_fail
;
15705 swig_obj
[0] = args
;
15706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15710 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 wxPyTaskBarIcon_Destroy(arg1
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_Py_Void();
15724 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15725 PyObject
*resultobj
= 0;
15726 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15730 PyObject
*swig_obj
[1] ;
15732 if (!args
) SWIG_fail
;
15733 swig_obj
[0] = args
;
15734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15735 if (!SWIG_IsOK(res1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15738 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15755 PyObject
*resultobj
= 0;
15756 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15760 PyObject
*swig_obj
[1] ;
15762 if (!args
) SWIG_fail
;
15763 swig_obj
[0] = args
;
15764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15765 if (!SWIG_IsOK(res1
)) {
15766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15768 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= 0;
15786 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15795 bool temp3
= false ;
15796 PyObject
* obj0
= 0 ;
15797 PyObject
* obj1
= 0 ;
15798 PyObject
* obj2
= 0 ;
15799 char * kwnames
[] = {
15800 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15805 if (!SWIG_IsOK(res1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15808 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15810 if (!SWIG_IsOK(res2
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15816 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15819 arg3
= wxString_in_helper(obj2
);
15820 if (arg3
== NULL
) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15847 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15848 PyObject
*resultobj
= 0;
15849 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15853 PyObject
*swig_obj
[1] ;
15855 if (!args
) SWIG_fail
;
15856 swig_obj
[0] = args
;
15857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15858 if (!SWIG_IsOK(res1
)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15861 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)(arg1
)->RemoveIcon();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15880 wxMenu
*arg2
= (wxMenu
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 char * kwnames
[] = {
15889 (char *) "self",(char *) "menu", NULL
15892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15897 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15899 if (!SWIG_IsOK(res2
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15902 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (bool)(arg1
)->PopupMenu(arg2
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15918 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15921 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15922 return SWIG_Py_Void();
15925 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15926 return SWIG_Python_InitShadowInstance(args
);
15929 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
= 0;
15932 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15933 wxTaskBarIconEvent
*result
= 0 ;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 char * kwnames
[] = {
15941 (char *) "evtType",(char *) "tbIcon", NULL
15944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15945 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15946 if (!SWIG_IsOK(ecode1
)) {
15947 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15949 arg1
= static_cast< wxEventType
>(val1
);
15950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15951 if (!SWIG_IsOK(res2
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15954 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15968 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15971 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15972 return SWIG_Py_Void();
15975 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15976 return SWIG_Python_InitShadowInstance(args
);
15979 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15980 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15985 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15986 PyObject
*pyobj
= 0;
15990 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15992 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15999 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16000 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16005 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16006 PyObject
*pyobj
= 0;
16010 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16012 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16019 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16020 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16025 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16026 PyObject
*pyobj
= 0;
16030 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16032 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16039 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16040 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16045 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16046 PyObject
*pyobj
= 0;
16050 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16052 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16059 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16060 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16065 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16066 PyObject
*pyobj
= 0;
16070 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16072 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16079 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16080 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16085 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16086 PyObject
*pyobj
= 0;
16090 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16092 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16099 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 PyObject
*resultobj
= 0;
16101 wxColourData
*result
= 0 ;
16103 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxColourData
*)new wxColourData();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16117 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16118 PyObject
*resultobj
= 0;
16119 wxColourData
*arg1
= (wxColourData
*) 0 ;
16122 PyObject
*swig_obj
[1] ;
16124 if (!args
) SWIG_fail
;
16125 swig_obj
[0] = args
;
16126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16127 if (!SWIG_IsOK(res1
)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16130 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_Py_Void();
16145 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16146 PyObject
*resultobj
= 0;
16147 wxColourData
*arg1
= (wxColourData
*) 0 ;
16151 PyObject
*swig_obj
[1] ;
16153 if (!args
) SWIG_fail
;
16154 swig_obj
[0] = args
;
16155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16156 if (!SWIG_IsOK(res1
)) {
16157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16159 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (bool)(arg1
)->GetChooseFull();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16175 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16176 PyObject
*resultobj
= 0;
16177 wxColourData
*arg1
= (wxColourData
*) 0 ;
16181 PyObject
*swig_obj
[1] ;
16183 if (!args
) SWIG_fail
;
16184 swig_obj
[0] = args
;
16185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16186 if (!SWIG_IsOK(res1
)) {
16187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16189 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (arg1
)->GetColour();
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16203 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
= 0;
16205 wxColourData
*arg1
= (wxColourData
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 char * kwnames
[] = {
16215 (char *) "self",(char *) "i", NULL
16218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16220 if (!SWIG_IsOK(res1
)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16223 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16225 if (!SWIG_IsOK(ecode2
)) {
16226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16228 arg2
= static_cast< int >(val2
);
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (arg1
)->GetCustomColour(arg2
);
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16242 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
= 0;
16244 wxColourData
*arg1
= (wxColourData
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char * kwnames
[] = {
16253 (char *) "self",(char *) "flag", NULL
16256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16258 if (!SWIG_IsOK(res1
)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16261 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16263 if (!SWIG_IsOK(ecode2
)) {
16264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16266 arg2
= static_cast< int >(val2
);
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 (arg1
)->SetChooseFull(arg2
);
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= SWIG_Py_Void();
16280 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
= 0;
16282 wxColourData
*arg1
= (wxColourData
*) 0 ;
16283 wxColour
*arg2
= 0 ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 char * kwnames
[] = {
16290 (char *) "self",(char *) "colour", NULL
16293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16298 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 (arg1
)->SetColour((wxColour
const &)*arg2
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= SWIG_Py_Void();
16316 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
= 0;
16318 wxColourData
*arg1
= (wxColourData
*) 0 ;
16320 wxColour
*arg3
= 0 ;
16326 PyObject
* obj0
= 0 ;
16327 PyObject
* obj1
= 0 ;
16328 PyObject
* obj2
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "self",(char *) "i",(char *) "colour", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16338 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16340 if (!SWIG_IsOK(ecode2
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16343 arg2
= static_cast< int >(val2
);
16346 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_Py_Void();
16361 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16364 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16365 return SWIG_Py_Void();
16368 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16369 return SWIG_Python_InitShadowInstance(args
);
16372 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
= 0;
16374 wxWindow
*arg1
= (wxWindow
*) 0 ;
16375 wxColourData
*arg2
= (wxColourData
*) NULL
;
16376 wxColourDialog
*result
= 0 ;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 char * kwnames
[] = {
16384 (char *) "parent",(char *) "data", NULL
16387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16389 if (!SWIG_IsOK(res1
)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16395 if (!SWIG_IsOK(res2
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16398 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16401 if (!wxPyCheckForApp()) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16414 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16415 PyObject
*resultobj
= 0;
16416 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16417 wxColourData
*result
= 0 ;
16420 PyObject
*swig_obj
[1] ;
16422 if (!args
) SWIG_fail
;
16423 swig_obj
[0] = args
;
16424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16425 if (!SWIG_IsOK(res1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16428 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16433 result
= (wxColourData
*) &_result_ref
;
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16445 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16448 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16449 return SWIG_Py_Void();
16452 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16453 return SWIG_Python_InitShadowInstance(args
);
16456 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= 0;
16458 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16459 wxColour
const &arg2_defvalue
= wxNullColour
;
16460 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16461 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16467 bool temp3
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16491 arg3
= wxString_in_helper(obj2
);
16492 if (arg3
== NULL
) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16517 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
= 0;
16519 wxWindow
*arg1
= (wxWindow
*) 0 ;
16520 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16521 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16522 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16523 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16524 long arg4
= (long) 0 ;
16525 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16526 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16527 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16528 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16529 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16530 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16531 wxDirDialog
*result
= 0 ;
16534 bool temp2
= false ;
16535 bool temp3
= false ;
16540 bool temp7
= false ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 PyObject
* obj2
= 0 ;
16544 PyObject
* obj3
= 0 ;
16545 PyObject
* obj4
= 0 ;
16546 PyObject
* obj5
= 0 ;
16547 PyObject
* obj6
= 0 ;
16548 char * kwnames
[] = {
16549 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16554 if (!SWIG_IsOK(res1
)) {
16555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16560 arg2
= wxString_in_helper(obj1
);
16561 if (arg2
== NULL
) SWIG_fail
;
16567 arg3
= wxString_in_helper(obj2
);
16568 if (arg3
== NULL
) SWIG_fail
;
16573 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16574 if (!SWIG_IsOK(ecode4
)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16577 arg4
= static_cast< long >(val4
);
16582 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16588 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16593 arg7
= wxString_in_helper(obj6
);
16594 if (arg7
== NULL
) SWIG_fail
;
16599 if (!wxPyCheckForApp()) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16636 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16637 PyObject
*resultobj
= 0;
16638 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16642 PyObject
*swig_obj
[1] ;
16644 if (!args
) SWIG_fail
;
16645 swig_obj
[0] = args
;
16646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16647 if (!SWIG_IsOK(res1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16650 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (arg1
)->GetPath();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16670 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16671 PyObject
*resultobj
= 0;
16672 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16676 PyObject
*swig_obj
[1] ;
16678 if (!args
) SWIG_fail
;
16679 swig_obj
[0] = args
;
16680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16684 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (arg1
)->GetMessage();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16704 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16705 PyObject
*resultobj
= 0;
16706 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16710 PyObject
*swig_obj
[1] ;
16712 if (!args
) SWIG_fail
;
16713 swig_obj
[0] = args
;
16714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16718 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (long)(arg1
)->GetStyle();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_From_long(static_cast< long >(result
));
16732 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
= 0;
16734 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16735 wxString
*arg2
= 0 ;
16738 bool temp2
= false ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char * kwnames
[] = {
16742 (char *) "self",(char *) "message", NULL
16745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16747 if (!SWIG_IsOK(res1
)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16750 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16752 arg2
= wxString_in_helper(obj1
);
16753 if (arg2
== NULL
) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 (arg1
)->SetMessage((wxString
const &)*arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_Py_Void();
16777 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
= 0;
16779 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16780 wxString
*arg2
= 0 ;
16783 bool temp2
= false ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char * kwnames
[] = {
16787 (char *) "self",(char *) "path", NULL
16790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16795 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16797 arg2
= wxString_in_helper(obj1
);
16798 if (arg2
== NULL
) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 (arg1
)->SetPath((wxString
const &)*arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= SWIG_Py_Void();
16822 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16825 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16826 return SWIG_Py_Void();
16829 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16830 return SWIG_Python_InitShadowInstance(args
);
16833 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16835 wxWindow
*arg1
= (wxWindow
*) 0 ;
16836 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16837 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16838 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16840 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16841 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16842 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16843 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16844 long arg6
= (long) 0 ;
16845 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16846 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16847 wxFileDialog
*result
= 0 ;
16850 bool temp2
= false ;
16851 bool temp3
= false ;
16852 bool temp4
= false ;
16853 bool temp5
= false ;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 PyObject
* obj2
= 0 ;
16860 PyObject
* obj3
= 0 ;
16861 PyObject
* obj4
= 0 ;
16862 PyObject
* obj5
= 0 ;
16863 PyObject
* obj6
= 0 ;
16864 char * kwnames
[] = {
16865 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16870 if (!SWIG_IsOK(res1
)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16876 arg2
= wxString_in_helper(obj1
);
16877 if (arg2
== NULL
) SWIG_fail
;
16883 arg3
= wxString_in_helper(obj2
);
16884 if (arg3
== NULL
) SWIG_fail
;
16890 arg4
= wxString_in_helper(obj3
);
16891 if (arg4
== NULL
) SWIG_fail
;
16897 arg5
= wxString_in_helper(obj4
);
16898 if (arg5
== NULL
) SWIG_fail
;
16903 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16904 if (!SWIG_IsOK(ecode6
)) {
16905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16907 arg6
= static_cast< long >(val6
);
16912 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16916 if (!wxPyCheckForApp()) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16961 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
= 0;
16963 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16964 wxString
*arg2
= 0 ;
16967 bool temp2
= false ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char * kwnames
[] = {
16971 (char *) "self",(char *) "message", NULL
16974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16976 if (!SWIG_IsOK(res1
)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16979 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16981 arg2
= wxString_in_helper(obj1
);
16982 if (arg2
== NULL
) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->SetMessage((wxString
const &)*arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
17006 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17009 wxString
*arg2
= 0 ;
17012 bool temp2
= false ;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char * kwnames
[] = {
17016 (char *) "self",(char *) "path", NULL
17019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17021 if (!SWIG_IsOK(res1
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17024 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17026 arg2
= wxString_in_helper(obj1
);
17027 if (arg2
== NULL
) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 (arg1
)->SetPath((wxString
const &)*arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= SWIG_Py_Void();
17051 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
= 0;
17053 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17054 wxString
*arg2
= 0 ;
17057 bool temp2
= false ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "dir", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17069 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17071 arg2
= wxString_in_helper(obj1
);
17072 if (arg2
== NULL
) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_Py_Void();
17096 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
= 0;
17098 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17099 wxString
*arg2
= 0 ;
17102 bool temp2
= false ;
17103 PyObject
* obj0
= 0 ;
17104 PyObject
* obj1
= 0 ;
17105 char * kwnames
[] = {
17106 (char *) "self",(char *) "name", NULL
17109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17111 if (!SWIG_IsOK(res1
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17114 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17116 arg2
= wxString_in_helper(obj1
);
17117 if (arg2
== NULL
) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 (arg1
)->SetFilename((wxString
const &)*arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_Py_Void();
17141 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17143 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17144 wxString
*arg2
= 0 ;
17147 bool temp2
= false ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char * kwnames
[] = {
17151 (char *) "self",(char *) "wildCard", NULL
17154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17156 if (!SWIG_IsOK(res1
)) {
17157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17159 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17161 arg2
= wxString_in_helper(obj1
);
17162 if (arg2
== NULL
) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= SWIG_Py_Void();
17186 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
= 0;
17188 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "self",(char *) "style", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17202 if (!SWIG_IsOK(res1
)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17205 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17206 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17207 if (!SWIG_IsOK(ecode2
)) {
17208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17210 arg2
= static_cast< long >(val2
);
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 (arg1
)->SetStyle(arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_Py_Void();
17224 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
= 0;
17226 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 char * kwnames
[] = {
17235 (char *) "self",(char *) "filterIndex", NULL
17238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17240 if (!SWIG_IsOK(res1
)) {
17241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17243 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17245 if (!SWIG_IsOK(ecode2
)) {
17246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17248 arg2
= static_cast< int >(val2
);
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->SetFilterIndex(arg2
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_Py_Void();
17262 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17263 PyObject
*resultobj
= 0;
17264 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17268 PyObject
*swig_obj
[1] ;
17270 if (!args
) SWIG_fail
;
17271 swig_obj
[0] = args
;
17272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17276 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17296 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17297 PyObject
*resultobj
= 0;
17298 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17302 PyObject
*swig_obj
[1] ;
17304 if (!args
) SWIG_fail
;
17305 swig_obj
[0] = args
;
17306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17310 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17330 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17331 PyObject
*resultobj
= 0;
17332 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17336 PyObject
*swig_obj
[1] ;
17338 if (!args
) SWIG_fail
;
17339 swig_obj
[0] = args
;
17340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17341 if (!SWIG_IsOK(res1
)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17344 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17364 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17365 PyObject
*resultobj
= 0;
17366 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17370 PyObject
*swig_obj
[1] ;
17372 if (!args
) SWIG_fail
;
17373 swig_obj
[0] = args
;
17374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17375 if (!SWIG_IsOK(res1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17378 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17398 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17399 PyObject
*resultobj
= 0;
17400 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17404 PyObject
*swig_obj
[1] ;
17406 if (!args
) SWIG_fail
;
17407 swig_obj
[0] = args
;
17408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17409 if (!SWIG_IsOK(res1
)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17412 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17432 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 PyObject
*resultobj
= 0;
17434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17438 PyObject
*swig_obj
[1] ;
17440 if (!args
) SWIG_fail
;
17441 swig_obj
[0] = args
;
17442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17446 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_From_long(static_cast< long >(result
));
17460 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17461 PyObject
*resultobj
= 0;
17462 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17466 PyObject
*swig_obj
[1] ;
17468 if (!args
) SWIG_fail
;
17469 swig_obj
[0] = args
;
17470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17474 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= SWIG_From_int(static_cast< int >(result
));
17488 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17489 PyObject
*resultobj
= 0;
17490 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
*result
= 0 ;
17494 PyObject
*swig_obj
[1] ;
17496 if (!args
) SWIG_fail
;
17497 swig_obj
[0] = args
;
17498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17502 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= result
;
17516 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17517 PyObject
*resultobj
= 0;
17518 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17519 PyObject
*result
= 0 ;
17522 PyObject
*swig_obj
[1] ;
17524 if (!args
) SWIG_fail
;
17525 swig_obj
[0] = args
;
17526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17527 if (!SWIG_IsOK(res1
)) {
17528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17530 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= result
;
17544 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17547 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17548 return SWIG_Py_Void();
17551 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17552 return SWIG_Python_InitShadowInstance(args
);
17555 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
= 0;
17557 wxWindow
*arg1
= (wxWindow
*) 0 ;
17558 wxString
*arg2
= 0 ;
17559 wxString
*arg3
= 0 ;
17560 int arg4
= (int) 0 ;
17561 wxString
*arg5
= (wxString
*) NULL
;
17562 long arg6
= (long) wxCHOICEDLG_STYLE
;
17563 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17564 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17565 wxMultiChoiceDialog
*result
= 0 ;
17568 bool temp2
= false ;
17569 bool temp3
= false ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 PyObject
* obj2
= 0 ;
17576 PyObject
* obj3
= 0 ;
17577 PyObject
* obj4
= 0 ;
17578 PyObject
* obj5
= 0 ;
17579 char * kwnames
[] = {
17580 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17585 if (!SWIG_IsOK(res1
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17590 arg2
= wxString_in_helper(obj1
);
17591 if (arg2
== NULL
) SWIG_fail
;
17595 arg3
= wxString_in_helper(obj2
);
17596 if (arg3
== NULL
) SWIG_fail
;
17601 arg4
= PyList_Size(obj3
);
17602 arg5
= wxString_LIST_helper(obj3
);
17603 if (arg5
== NULL
) SWIG_fail
;
17607 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17608 if (!SWIG_IsOK(ecode6
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17611 arg6
= static_cast< long >(val6
);
17616 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17620 if (!wxPyCheckForApp()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17636 if (arg5
) delete [] arg5
;
17649 if (arg5
) delete [] arg5
;
17655 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
= 0;
17657 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17658 wxArrayInt
*arg2
= 0 ;
17661 bool temp2
= false ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "selections", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17673 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17675 if (! PySequence_Check(obj1
)) {
17676 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17679 arg2
= new wxArrayInt
;
17681 int i
, len
=PySequence_Length(obj1
);
17682 for (i
=0; i
<len
; i
++) {
17683 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17684 PyObject
* number
= PyNumber_Int(item
);
17685 arg2
->Add(PyInt_AS_LONG(number
));
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= SWIG_Py_Void();
17698 if (temp2
) delete arg2
;
17703 if (temp2
) delete arg2
;
17709 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17710 PyObject
*resultobj
= 0;
17711 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17712 PyObject
*result
= 0 ;
17715 PyObject
*swig_obj
[1] ;
17717 if (!args
) SWIG_fail
;
17718 swig_obj
[0] = args
;
17719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17720 if (!SWIG_IsOK(res1
)) {
17721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17723 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= result
;
17737 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17740 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17741 return SWIG_Py_Void();
17744 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17745 return SWIG_Python_InitShadowInstance(args
);
17748 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= 0;
17750 wxWindow
*arg1
= (wxWindow
*) 0 ;
17751 wxString
*arg2
= 0 ;
17752 wxString
*arg3
= 0 ;
17754 wxString
*arg5
= (wxString
*) 0 ;
17755 long arg6
= (long) wxCHOICEDLG_STYLE
;
17756 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17757 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17758 wxSingleChoiceDialog
*result
= 0 ;
17761 bool temp2
= false ;
17762 bool temp3
= false ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 PyObject
* obj2
= 0 ;
17769 PyObject
* obj3
= 0 ;
17770 PyObject
* obj4
= 0 ;
17771 PyObject
* obj5
= 0 ;
17772 char * kwnames
[] = {
17773 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17778 if (!SWIG_IsOK(res1
)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17783 arg2
= wxString_in_helper(obj1
);
17784 if (arg2
== NULL
) SWIG_fail
;
17788 arg3
= wxString_in_helper(obj2
);
17789 if (arg3
== NULL
) SWIG_fail
;
17793 arg4
= PyList_Size(obj3
);
17794 arg5
= wxString_LIST_helper(obj3
);
17795 if (arg5
== NULL
) SWIG_fail
;
17798 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17799 if (!SWIG_IsOK(ecode6
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17802 arg6
= static_cast< long >(val6
);
17807 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17811 if (!wxPyCheckForApp()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17827 if (arg5
) delete [] arg5
;
17840 if (arg5
) delete [] arg5
;
17846 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17847 PyObject
*resultobj
= 0;
17848 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17852 PyObject
*swig_obj
[1] ;
17854 if (!args
) SWIG_fail
;
17855 swig_obj
[0] = args
;
17856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17857 if (!SWIG_IsOK(res1
)) {
17858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17860 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (int)(arg1
)->GetSelection();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_From_int(static_cast< int >(result
));
17874 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17875 PyObject
*resultobj
= 0;
17876 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17880 PyObject
*swig_obj
[1] ;
17882 if (!args
) SWIG_fail
;
17883 swig_obj
[0] = args
;
17884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17885 if (!SWIG_IsOK(res1
)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17888 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (arg1
)->GetStringSelection();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17908 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 char * kwnames
[] = {
17919 (char *) "self",(char *) "sel", NULL
17922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17924 if (!SWIG_IsOK(res1
)) {
17925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17927 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17929 if (!SWIG_IsOK(ecode2
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17932 arg2
= static_cast< int >(val2
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->SetSelection(arg2
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17946 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17949 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17950 return SWIG_Py_Void();
17953 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17954 return SWIG_Python_InitShadowInstance(args
);
17957 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
= 0;
17959 wxWindow
*arg1
= (wxWindow
*) 0 ;
17960 wxString
*arg2
= 0 ;
17961 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17962 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17963 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17964 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17965 long arg5
= (long) wxTextEntryDialogStyle
;
17966 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17967 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17968 wxTextEntryDialog
*result
= 0 ;
17971 bool temp2
= false ;
17972 bool temp3
= false ;
17973 bool temp4
= false ;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 PyObject
* obj3
= 0 ;
17981 PyObject
* obj4
= 0 ;
17982 PyObject
* obj5
= 0 ;
17983 char * kwnames
[] = {
17984 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17989 if (!SWIG_IsOK(res1
)) {
17990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17994 arg2
= wxString_in_helper(obj1
);
17995 if (arg2
== NULL
) SWIG_fail
;
18000 arg3
= wxString_in_helper(obj2
);
18001 if (arg3
== NULL
) SWIG_fail
;
18007 arg4
= wxString_in_helper(obj3
);
18008 if (arg4
== NULL
) SWIG_fail
;
18013 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18014 if (!SWIG_IsOK(ecode5
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18017 arg5
= static_cast< long >(val5
);
18022 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18026 if (!wxPyCheckForApp()) SWIG_fail
;
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18063 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18064 PyObject
*resultobj
= 0;
18065 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18069 PyObject
*swig_obj
[1] ;
18071 if (!args
) SWIG_fail
;
18072 swig_obj
[0] = args
;
18073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18077 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (arg1
)->GetValue();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18097 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
= 0;
18099 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18100 wxString
*arg2
= 0 ;
18103 bool temp2
= false ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 char * kwnames
[] = {
18107 (char *) "self",(char *) "value", NULL
18110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18115 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18117 arg2
= wxString_in_helper(obj1
);
18118 if (arg2
== NULL
) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->SetValue((wxString
const &)*arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_Py_Void();
18142 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18145 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18146 return SWIG_Py_Void();
18149 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18150 return SWIG_Python_InitShadowInstance(args
);
18153 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18154 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18159 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18160 PyObject
*pyobj
= 0;
18164 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18166 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18173 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
= 0;
18175 wxWindow
*arg1
= (wxWindow
*) 0 ;
18176 wxString
*arg2
= 0 ;
18177 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18179 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18180 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18181 long arg5
= (long) wxTextEntryDialogStyle
;
18182 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18183 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18184 wxPasswordEntryDialog
*result
= 0 ;
18187 bool temp2
= false ;
18188 bool temp3
= false ;
18189 bool temp4
= false ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 PyObject
* obj2
= 0 ;
18196 PyObject
* obj3
= 0 ;
18197 PyObject
* obj4
= 0 ;
18198 PyObject
* obj5
= 0 ;
18199 char * kwnames
[] = {
18200 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18205 if (!SWIG_IsOK(res1
)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18208 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18210 arg2
= wxString_in_helper(obj1
);
18211 if (arg2
== NULL
) SWIG_fail
;
18216 arg3
= wxString_in_helper(obj2
);
18217 if (arg3
== NULL
) SWIG_fail
;
18223 arg4
= wxString_in_helper(obj3
);
18224 if (arg4
== NULL
) SWIG_fail
;
18229 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18230 if (!SWIG_IsOK(ecode5
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18233 arg5
= static_cast< long >(val5
);
18238 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18278 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18282 return SWIG_Py_Void();
18285 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18286 return SWIG_Python_InitShadowInstance(args
);
18289 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 PyObject
*resultobj
= 0;
18291 wxFontData
*result
= 0 ;
18293 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (wxFontData
*)new wxFontData();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18307 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18308 PyObject
*resultobj
= 0;
18309 wxFontData
*arg1
= (wxFontData
*) 0 ;
18312 PyObject
*swig_obj
[1] ;
18314 if (!args
) SWIG_fail
;
18315 swig_obj
[0] = args
;
18316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18317 if (!SWIG_IsOK(res1
)) {
18318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18320 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= SWIG_Py_Void();
18335 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
= 0;
18337 wxFontData
*arg1
= (wxFontData
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char * kwnames
[] = {
18346 (char *) "self",(char *) "enable", NULL
18349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18354 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18356 if (!SWIG_IsOK(ecode2
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18359 arg2
= static_cast< bool >(val2
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->EnableEffects(arg2
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_Py_Void();
18373 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18374 PyObject
*resultobj
= 0;
18375 wxFontData
*arg1
= (wxFontData
*) 0 ;
18379 PyObject
*swig_obj
[1] ;
18381 if (!args
) SWIG_fail
;
18382 swig_obj
[0] = args
;
18383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18384 if (!SWIG_IsOK(res1
)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18387 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (bool)(arg1
)->GetAllowSymbols();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18403 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18404 PyObject
*resultobj
= 0;
18405 wxFontData
*arg1
= (wxFontData
*) 0 ;
18409 PyObject
*swig_obj
[1] ;
18411 if (!args
) SWIG_fail
;
18412 swig_obj
[0] = args
;
18413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18417 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (arg1
)->GetColour();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18431 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18432 PyObject
*resultobj
= 0;
18433 wxFontData
*arg1
= (wxFontData
*) 0 ;
18437 PyObject
*swig_obj
[1] ;
18439 if (!args
) SWIG_fail
;
18440 swig_obj
[0] = args
;
18441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18445 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (arg1
)->GetChosenFont();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18459 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18460 PyObject
*resultobj
= 0;
18461 wxFontData
*arg1
= (wxFontData
*) 0 ;
18465 PyObject
*swig_obj
[1] ;
18467 if (!args
) SWIG_fail
;
18468 swig_obj
[0] = args
;
18469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18470 if (!SWIG_IsOK(res1
)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18473 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (bool)(arg1
)->GetEnableEffects();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18489 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18490 PyObject
*resultobj
= 0;
18491 wxFontData
*arg1
= (wxFontData
*) 0 ;
18495 PyObject
*swig_obj
[1] ;
18497 if (!args
) SWIG_fail
;
18498 swig_obj
[0] = args
;
18499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18500 if (!SWIG_IsOK(res1
)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18503 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (arg1
)->GetInitialFont();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18517 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18518 PyObject
*resultobj
= 0;
18519 wxFontData
*arg1
= (wxFontData
*) 0 ;
18523 PyObject
*swig_obj
[1] ;
18525 if (!args
) SWIG_fail
;
18526 swig_obj
[0] = args
;
18527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18528 if (!SWIG_IsOK(res1
)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18531 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)(arg1
)->GetShowHelp();
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18547 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxFontData
*arg1
= (wxFontData
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char * kwnames
[] = {
18558 (char *) "self",(char *) "allowSymbols", NULL
18561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18566 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18567 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18568 if (!SWIG_IsOK(ecode2
)) {
18569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18571 arg2
= static_cast< bool >(val2
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 (arg1
)->SetAllowSymbols(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_Py_Void();
18585 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
= 0;
18587 wxFontData
*arg1
= (wxFontData
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj1
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "font", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18604 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18606 if (!SWIG_IsOK(res2
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18612 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= SWIG_Py_Void();
18626 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
= 0;
18628 wxFontData
*arg1
= (wxFontData
*) 0 ;
18629 wxColour
*arg2
= 0 ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char * kwnames
[] = {
18636 (char *) "self",(char *) "colour", NULL
18639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18641 if (!SWIG_IsOK(res1
)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18644 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 (arg1
)->SetColour((wxColour
const &)*arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_Py_Void();
18662 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
= 0;
18664 wxFontData
*arg1
= (wxFontData
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 char * kwnames
[] = {
18673 (char *) "self",(char *) "font", NULL
18676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18678 if (!SWIG_IsOK(res1
)) {
18679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18681 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18683 if (!SWIG_IsOK(res2
)) {
18684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18689 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_Py_Void();
18703 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
= 0;
18705 wxFontData
*arg1
= (wxFontData
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 PyObject
* obj1
= 0 ;
18716 PyObject
* obj2
= 0 ;
18717 char * kwnames
[] = {
18718 (char *) "self",(char *) "min",(char *) "max", NULL
18721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18723 if (!SWIG_IsOK(res1
)) {
18724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18726 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18728 if (!SWIG_IsOK(ecode2
)) {
18729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18731 arg2
= static_cast< int >(val2
);
18732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18733 if (!SWIG_IsOK(ecode3
)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18736 arg3
= static_cast< int >(val3
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 (arg1
)->SetRange(arg2
,arg3
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_Py_Void();
18750 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
= 0;
18752 wxFontData
*arg1
= (wxFontData
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 char * kwnames
[] = {
18761 (char *) "self",(char *) "showHelp", NULL
18764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18766 if (!SWIG_IsOK(res1
)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18769 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18771 if (!SWIG_IsOK(ecode2
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18774 arg2
= static_cast< bool >(val2
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->SetShowHelp(arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_Py_Void();
18788 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18791 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18792 return SWIG_Py_Void();
18795 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18796 return SWIG_Python_InitShadowInstance(args
);
18799 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
= 0;
18801 wxWindow
*arg1
= (wxWindow
*) 0 ;
18802 wxFontData
*arg2
= 0 ;
18803 wxFontDialog
*result
= 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char * kwnames
[] = {
18811 (char *) "parent",(char *) "data", NULL
18814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18816 if (!SWIG_IsOK(res1
)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18821 if (!SWIG_IsOK(res2
)) {
18822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18827 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18829 if (!wxPyCheckForApp()) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18842 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18843 PyObject
*resultobj
= 0;
18844 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18845 wxFontData
*result
= 0 ;
18848 PyObject
*swig_obj
[1] ;
18850 if (!args
) SWIG_fail
;
18851 swig_obj
[0] = args
;
18852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18856 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18861 result
= (wxFontData
*) &_result_ref
;
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18873 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18876 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18877 return SWIG_Py_Void();
18880 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18881 return SWIG_Python_InitShadowInstance(args
);
18884 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
= 0;
18886 wxWindow
*arg1
= (wxWindow
*) NULL
;
18887 wxFont
const &arg2_defvalue
= wxNullFont
;
18888 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18896 bool temp3
= false ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 PyObject
* obj2
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18914 if (!SWIG_IsOK(res2
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18920 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18924 arg3
= wxString_in_helper(obj2
);
18925 if (arg3
== NULL
) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18950 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
= 0;
18952 wxWindow
*arg1
= (wxWindow
*) 0 ;
18953 wxString
*arg2
= 0 ;
18954 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18956 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18957 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18958 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18959 wxMessageDialog
*result
= 0 ;
18962 bool temp2
= false ;
18963 bool temp3
= false ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 PyObject
* obj2
= 0 ;
18970 PyObject
* obj3
= 0 ;
18971 PyObject
* obj4
= 0 ;
18972 char * kwnames
[] = {
18973 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18978 if (!SWIG_IsOK(res1
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18981 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18983 arg2
= wxString_in_helper(obj1
);
18984 if (arg2
== NULL
) SWIG_fail
;
18989 arg3
= wxString_in_helper(obj2
);
18990 if (arg3
== NULL
) SWIG_fail
;
18995 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18996 if (!SWIG_IsOK(ecode4
)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18999 arg4
= static_cast< long >(val4
);
19004 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19008 if (!wxPyCheckForApp()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19037 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19040 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19041 return SWIG_Py_Void();
19044 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19045 return SWIG_Python_InitShadowInstance(args
);
19048 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
= 0;
19050 wxString
*arg1
= 0 ;
19051 wxString
*arg2
= 0 ;
19052 int arg3
= (int) 100 ;
19053 wxWindow
*arg4
= (wxWindow
*) NULL
;
19054 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19055 wxProgressDialog
*result
= 0 ;
19056 bool temp1
= false ;
19057 bool temp2
= false ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 PyObject
* obj3
= 0 ;
19068 PyObject
* obj4
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19075 arg1
= wxString_in_helper(obj0
);
19076 if (arg1
== NULL
) SWIG_fail
;
19080 arg2
= wxString_in_helper(obj1
);
19081 if (arg2
== NULL
) SWIG_fail
;
19085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19086 if (!SWIG_IsOK(ecode3
)) {
19087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19089 arg3
= static_cast< int >(val3
);
19092 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19093 if (!SWIG_IsOK(res4
)) {
19094 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19096 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19099 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19100 if (!SWIG_IsOK(ecode5
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19103 arg5
= static_cast< int >(val5
);
19106 if (!wxPyCheckForApp()) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19135 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19139 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19146 bool temp3
= false ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19159 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19161 if (!SWIG_IsOK(ecode2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19164 arg2
= static_cast< int >(val2
);
19167 arg3
= wxString_in_helper(obj2
);
19168 if (arg3
== NULL
) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19195 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19196 PyObject
*resultobj
= 0;
19197 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19200 PyObject
*swig_obj
[1] ;
19202 if (!args
) SWIG_fail
;
19203 swig_obj
[0] = args
;
19204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19205 if (!SWIG_IsOK(res1
)) {
19206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19208 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19225 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19226 return SWIG_Py_Void();
19229 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19230 return SWIG_Python_InitShadowInstance(args
);
19233 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
= 0;
19235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19236 int arg2
= (int) 0 ;
19237 wxFindDialogEvent
*result
= 0 ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char * kwnames
[] = {
19245 (char *) "commandType",(char *) "id", NULL
19248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19251 if (!SWIG_IsOK(ecode1
)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19254 arg1
= static_cast< wxEventType
>(val1
);
19257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19258 if (!SWIG_IsOK(ecode2
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19261 arg2
= static_cast< int >(val2
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19276 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19277 PyObject
*resultobj
= 0;
19278 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19282 PyObject
*swig_obj
[1] ;
19284 if (!args
) SWIG_fail
;
19285 swig_obj
[0] = args
;
19286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19287 if (!SWIG_IsOK(res1
)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19290 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (int)(arg1
)->GetFlags();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_From_int(static_cast< int >(result
));
19304 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19305 PyObject
*resultobj
= 0;
19306 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19307 wxString
*result
= 0 ;
19310 PyObject
*swig_obj
[1] ;
19312 if (!args
) SWIG_fail
;
19313 swig_obj
[0] = args
;
19314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19318 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 wxString
const &_result_ref
= (arg1
)->GetFindString();
19323 result
= (wxString
*) &_result_ref
;
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19332 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19341 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19342 PyObject
*resultobj
= 0;
19343 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19344 wxString
*result
= 0 ;
19347 PyObject
*swig_obj
[1] ;
19349 if (!args
) SWIG_fail
;
19350 swig_obj
[0] = args
;
19351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19352 if (!SWIG_IsOK(res1
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19355 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19360 result
= (wxString
*) &_result_ref
;
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19369 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19378 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19379 PyObject
*resultobj
= 0;
19380 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19381 wxFindReplaceDialog
*result
= 0 ;
19384 PyObject
*swig_obj
[1] ;
19386 if (!args
) SWIG_fail
;
19387 swig_obj
[0] = args
;
19388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19392 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19406 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
= 0;
19408 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "self",(char *) "flags", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19425 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19427 if (!SWIG_IsOK(ecode2
)) {
19428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19430 arg2
= static_cast< int >(val2
);
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetFlags(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= SWIG_Py_Void();
19444 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19447 wxString
*arg2
= 0 ;
19450 bool temp2
= false ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "self",(char *) "str", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19462 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19464 arg2
= wxString_in_helper(obj1
);
19465 if (arg2
== NULL
) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 (arg1
)->SetFindString((wxString
const &)*arg2
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_Py_Void();
19489 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
= 0;
19491 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19492 wxString
*arg2
= 0 ;
19495 bool temp2
= false ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char * kwnames
[] = {
19499 (char *) "self",(char *) "str", NULL
19502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19504 if (!SWIG_IsOK(res1
)) {
19505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19507 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19509 arg2
= wxString_in_helper(obj1
);
19510 if (arg2
== NULL
) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_Py_Void();
19534 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19537 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19538 return SWIG_Py_Void();
19541 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19542 return SWIG_Python_InitShadowInstance(args
);
19545 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
= 0;
19547 int arg1
= (int) 0 ;
19548 wxFindReplaceData
*result
= 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char * kwnames
[] = {
19553 (char *) "flags", NULL
19556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19558 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19559 if (!SWIG_IsOK(ecode1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19562 arg1
= static_cast< int >(val1
);
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19577 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19578 PyObject
*resultobj
= 0;
19579 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19582 PyObject
*swig_obj
[1] ;
19584 if (!args
) SWIG_fail
;
19585 swig_obj
[0] = args
;
19586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19587 if (!SWIG_IsOK(res1
)) {
19588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19590 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_Py_Void();
19605 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19606 PyObject
*resultobj
= 0;
19607 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19608 wxString
*result
= 0 ;
19611 PyObject
*swig_obj
[1] ;
19613 if (!args
) SWIG_fail
;
19614 swig_obj
[0] = args
;
19615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19619 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 wxString
const &_result_ref
= (arg1
)->GetFindString();
19624 result
= (wxString
*) &_result_ref
;
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19642 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19643 PyObject
*resultobj
= 0;
19644 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19645 wxString
*result
= 0 ;
19648 PyObject
*swig_obj
[1] ;
19650 if (!args
) SWIG_fail
;
19651 swig_obj
[0] = args
;
19652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19653 if (!SWIG_IsOK(res1
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19656 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19661 result
= (wxString
*) &_result_ref
;
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19670 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19679 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19680 PyObject
*resultobj
= 0;
19681 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19685 PyObject
*swig_obj
[1] ;
19687 if (!args
) SWIG_fail
;
19688 swig_obj
[0] = args
;
19689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19693 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (int)(arg1
)->GetFlags();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_From_int(static_cast< int >(result
));
19707 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
= 0;
19709 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char * kwnames
[] = {
19718 (char *) "self",(char *) "flags", NULL
19721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19726 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19728 if (!SWIG_IsOK(ecode2
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19731 arg2
= static_cast< int >(val2
);
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->SetFlags(arg2
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_Py_Void();
19745 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
= 0;
19747 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19748 wxString
*arg2
= 0 ;
19751 bool temp2
= false ;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 char * kwnames
[] = {
19755 (char *) "self",(char *) "str", NULL
19758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19760 if (!SWIG_IsOK(res1
)) {
19761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19763 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19765 arg2
= wxString_in_helper(obj1
);
19766 if (arg2
== NULL
) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 (arg1
)->SetFindString((wxString
const &)*arg2
);
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_Py_Void();
19790 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
= 0;
19792 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19793 wxString
*arg2
= 0 ;
19796 bool temp2
= false ;
19797 PyObject
* obj0
= 0 ;
19798 PyObject
* obj1
= 0 ;
19799 char * kwnames
[] = {
19800 (char *) "self",(char *) "str", NULL
19803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19805 if (!SWIG_IsOK(res1
)) {
19806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19808 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19810 arg2
= wxString_in_helper(obj1
);
19811 if (arg2
== NULL
) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_Py_Void();
19835 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19838 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19839 return SWIG_Py_Void();
19842 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19843 return SWIG_Python_InitShadowInstance(args
);
19846 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
= 0;
19848 wxWindow
*arg1
= (wxWindow
*) 0 ;
19849 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19850 wxString
*arg3
= 0 ;
19851 int arg4
= (int) 0 ;
19852 wxFindReplaceDialog
*result
= 0 ;
19857 bool temp3
= false ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 PyObject
* obj2
= 0 ;
19863 PyObject
* obj3
= 0 ;
19864 char * kwnames
[] = {
19865 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19870 if (!SWIG_IsOK(res1
)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19875 if (!SWIG_IsOK(res2
)) {
19876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19878 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19880 arg3
= wxString_in_helper(obj2
);
19881 if (arg3
== NULL
) SWIG_fail
;
19885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19886 if (!SWIG_IsOK(ecode4
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19889 arg4
= static_cast< int >(val4
);
19892 if (!wxPyCheckForApp()) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19913 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19914 PyObject
*resultobj
= 0;
19915 wxFindReplaceDialog
*result
= 0 ;
19917 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19919 if (!wxPyCheckForApp()) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19932 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
= 0;
19934 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19935 wxWindow
*arg2
= (wxWindow
*) 0 ;
19936 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19937 wxString
*arg4
= 0 ;
19938 int arg5
= (int) 0 ;
19946 bool temp4
= false ;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 PyObject
* obj2
= 0 ;
19952 PyObject
* obj3
= 0 ;
19953 PyObject
* obj4
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19960 if (!SWIG_IsOK(res1
)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19963 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19965 if (!SWIG_IsOK(res2
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19969 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19970 if (!SWIG_IsOK(res3
)) {
19971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19973 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19975 arg4
= wxString_in_helper(obj3
);
19976 if (arg4
== NULL
) SWIG_fail
;
19980 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19981 if (!SWIG_IsOK(ecode5
)) {
19982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19984 arg5
= static_cast< int >(val5
);
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20009 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20010 PyObject
*resultobj
= 0;
20011 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20012 wxFindReplaceData
*result
= 0 ;
20015 PyObject
*swig_obj
[1] ;
20017 if (!args
) SWIG_fail
;
20018 swig_obj
[0] = args
;
20019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20020 if (!SWIG_IsOK(res1
)) {
20021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20023 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20037 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= 0;
20039 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20040 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 char * kwnames
[] = {
20048 (char *) "self",(char *) "data", NULL
20051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20053 if (!SWIG_IsOK(res1
)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20056 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20058 if (!SWIG_IsOK(res2
)) {
20059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20061 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->SetData(arg2
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= SWIG_Py_Void();
20075 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20078 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20079 return SWIG_Py_Void();
20082 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20083 return SWIG_Python_InitShadowInstance(args
);
20086 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
= 0;
20088 wxWindow
*arg1
= (wxWindow
*) 0 ;
20089 int arg2
= (int) (int)-1 ;
20090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20092 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20093 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20094 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20095 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20096 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20097 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20099 wxMDIParentFrame
*result
= 0 ;
20104 bool temp3
= false ;
20109 bool temp7
= false ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 PyObject
* obj2
= 0 ;
20113 PyObject
* obj3
= 0 ;
20114 PyObject
* obj4
= 0 ;
20115 PyObject
* obj5
= 0 ;
20116 PyObject
* obj6
= 0 ;
20117 char * kwnames
[] = {
20118 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20123 if (!SWIG_IsOK(res1
)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20126 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20129 if (!SWIG_IsOK(ecode2
)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20132 arg2
= static_cast< int >(val2
);
20136 arg3
= wxString_in_helper(obj2
);
20137 if (arg3
== NULL
) SWIG_fail
;
20144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20154 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20155 if (!SWIG_IsOK(ecode6
)) {
20156 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20158 arg6
= static_cast< long >(val6
);
20162 arg7
= wxString_in_helper(obj6
);
20163 if (arg7
== NULL
) SWIG_fail
;
20168 if (!wxPyCheckForApp()) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20197 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20198 PyObject
*resultobj
= 0;
20199 wxMDIParentFrame
*result
= 0 ;
20201 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20203 if (!wxPyCheckForApp()) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20216 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
= 0;
20218 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20219 wxWindow
*arg2
= (wxWindow
*) 0 ;
20220 int arg3
= (int) (int)-1 ;
20221 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20222 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20223 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20224 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20225 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20226 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20227 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20228 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20229 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20237 bool temp4
= false ;
20242 bool temp8
= false ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 PyObject
* obj2
= 0 ;
20246 PyObject
* obj3
= 0 ;
20247 PyObject
* obj4
= 0 ;
20248 PyObject
* obj5
= 0 ;
20249 PyObject
* obj6
= 0 ;
20250 PyObject
* obj7
= 0 ;
20251 char * kwnames
[] = {
20252 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20257 if (!SWIG_IsOK(res1
)) {
20258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20260 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20262 if (!SWIG_IsOK(res2
)) {
20263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20265 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20268 if (!SWIG_IsOK(ecode3
)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20271 arg3
= static_cast< int >(val3
);
20275 arg4
= wxString_in_helper(obj3
);
20276 if (arg4
== NULL
) SWIG_fail
;
20283 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20289 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20293 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20294 if (!SWIG_IsOK(ecode7
)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20297 arg7
= static_cast< long >(val7
);
20301 arg8
= wxString_in_helper(obj7
);
20302 if (arg8
== NULL
) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20337 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20338 PyObject
*resultobj
= 0;
20339 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20342 PyObject
*swig_obj
[1] ;
20344 if (!args
) SWIG_fail
;
20345 swig_obj
[0] = args
;
20346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20347 if (!SWIG_IsOK(res1
)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20350 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->ActivateNext();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_Py_Void();
20364 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20365 PyObject
*resultobj
= 0;
20366 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20369 PyObject
*swig_obj
[1] ;
20371 if (!args
) SWIG_fail
;
20372 swig_obj
[0] = args
;
20373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20377 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 (arg1
)->ActivatePrevious();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= SWIG_Py_Void();
20391 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20392 PyObject
*resultobj
= 0;
20393 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20396 PyObject
*swig_obj
[1] ;
20398 if (!args
) SWIG_fail
;
20399 swig_obj
[0] = args
;
20400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20401 if (!SWIG_IsOK(res1
)) {
20402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20404 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 (arg1
)->ArrangeIcons();
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_Py_Void();
20418 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20419 PyObject
*resultobj
= 0;
20420 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20423 PyObject
*swig_obj
[1] ;
20425 if (!args
) SWIG_fail
;
20426 swig_obj
[0] = args
;
20427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20428 if (!SWIG_IsOK(res1
)) {
20429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20431 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= SWIG_Py_Void();
20445 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20446 PyObject
*resultobj
= 0;
20447 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20448 wxMDIChildFrame
*result
= 0 ;
20451 PyObject
*swig_obj
[1] ;
20453 if (!args
) SWIG_fail
;
20454 swig_obj
[0] = args
;
20455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20456 if (!SWIG_IsOK(res1
)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20459 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20475 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20476 PyObject
*resultobj
= 0;
20477 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20478 wxMDIClientWindow
*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_wxMDIParentFrame
, 0 | 0 );
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20489 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20505 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20506 PyObject
*resultobj
= 0;
20507 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20508 wxWindow
*result
= 0 ;
20511 PyObject
*swig_obj
[1] ;
20513 if (!args
) SWIG_fail
;
20514 swig_obj
[0] = args
;
20515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20516 if (!SWIG_IsOK(res1
)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20519 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (wxWindow
*)(arg1
)->GetToolBar();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= wxPyMake_wxObject(result
, 0);
20535 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
= 0;
20537 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20538 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char * kwnames
[] = {
20546 (char *) "self",(char *) "orient", NULL
20549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20554 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20557 if (!SWIG_IsOK(ecode2
)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20560 arg2
= static_cast< wxOrientation
>(val2
);
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->Tile(arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_Py_Void();
20575 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20578 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20579 return SWIG_Py_Void();
20582 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20583 return SWIG_Python_InitShadowInstance(args
);
20586 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
= 0;
20588 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20589 int arg2
= (int) (int)-1 ;
20590 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20591 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20592 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20593 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20594 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20595 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20596 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20597 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20598 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20599 wxMDIChildFrame
*result
= 0 ;
20604 bool temp3
= false ;
20609 bool temp7
= false ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 PyObject
* obj2
= 0 ;
20613 PyObject
* obj3
= 0 ;
20614 PyObject
* obj4
= 0 ;
20615 PyObject
* obj5
= 0 ;
20616 PyObject
* obj6
= 0 ;
20617 char * kwnames
[] = {
20618 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20623 if (!SWIG_IsOK(res1
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20626 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20629 if (!SWIG_IsOK(ecode2
)) {
20630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20632 arg2
= static_cast< int >(val2
);
20636 arg3
= wxString_in_helper(obj2
);
20637 if (arg3
== NULL
) SWIG_fail
;
20644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20654 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20655 if (!SWIG_IsOK(ecode6
)) {
20656 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20658 arg6
= static_cast< long >(val6
);
20662 arg7
= wxString_in_helper(obj6
);
20663 if (arg7
== NULL
) SWIG_fail
;
20668 if (!wxPyCheckForApp()) SWIG_fail
;
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20697 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20698 PyObject
*resultobj
= 0;
20699 wxMDIChildFrame
*result
= 0 ;
20701 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20703 if (!wxPyCheckForApp()) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20716 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
= 0;
20718 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20719 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20720 int arg3
= (int) (int)-1 ;
20721 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20723 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20724 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20725 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20726 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20727 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20728 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20729 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20737 bool temp4
= false ;
20742 bool temp8
= false ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 PyObject
* obj2
= 0 ;
20746 PyObject
* obj3
= 0 ;
20747 PyObject
* obj4
= 0 ;
20748 PyObject
* obj5
= 0 ;
20749 PyObject
* obj6
= 0 ;
20750 PyObject
* obj7
= 0 ;
20751 char * kwnames
[] = {
20752 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20757 if (!SWIG_IsOK(res1
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20760 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20762 if (!SWIG_IsOK(res2
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20765 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20768 if (!SWIG_IsOK(ecode3
)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20771 arg3
= static_cast< int >(val3
);
20775 arg4
= wxString_in_helper(obj3
);
20776 if (arg4
== NULL
) SWIG_fail
;
20783 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20789 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20793 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20794 if (!SWIG_IsOK(ecode7
)) {
20795 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20797 arg7
= static_cast< long >(val7
);
20801 arg8
= wxString_in_helper(obj7
);
20802 if (arg8
== NULL
) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20837 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20838 PyObject
*resultobj
= 0;
20839 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20842 PyObject
*swig_obj
[1] ;
20844 if (!args
) SWIG_fail
;
20845 swig_obj
[0] = args
;
20846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20847 if (!SWIG_IsOK(res1
)) {
20848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20850 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 (arg1
)->Activate();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_Py_Void();
20864 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20867 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20868 return SWIG_Py_Void();
20871 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20872 return SWIG_Python_InitShadowInstance(args
);
20875 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= 0;
20877 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20878 long arg2
= (long) 0 ;
20879 wxMDIClientWindow
*result
= 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 char * kwnames
[] = {
20887 (char *) "parent",(char *) "style", NULL
20890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20892 if (!SWIG_IsOK(res1
)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20895 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20897 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20898 if (!SWIG_IsOK(ecode2
)) {
20899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20901 arg2
= static_cast< long >(val2
);
20904 if (!wxPyCheckForApp()) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20917 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20918 PyObject
*resultobj
= 0;
20919 wxMDIClientWindow
*result
= 0 ;
20921 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20923 if (!wxPyCheckForApp()) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20936 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
= 0;
20938 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20939 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20940 long arg3
= (long) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 PyObject
* obj2
= 0 ;
20951 char * kwnames
[] = {
20952 (char *) "self",(char *) "parent",(char *) "style", NULL
20955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20957 if (!SWIG_IsOK(res1
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20960 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20962 if (!SWIG_IsOK(res2
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20965 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20967 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20968 if (!SWIG_IsOK(ecode3
)) {
20969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20971 arg3
= static_cast< long >(val3
);
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20988 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20991 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20992 return SWIG_Py_Void();
20995 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 return SWIG_Python_InitShadowInstance(args
);
20999 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
= 0;
21001 wxWindow
*arg1
= (wxWindow
*) 0 ;
21002 int arg2
= (int) (int)-1 ;
21003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21007 long arg5
= (long) 0 ;
21008 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21009 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21010 wxPyWindow
*result
= 0 ;
21019 bool temp6
= false ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 PyObject
* obj2
= 0 ;
21023 PyObject
* obj3
= 0 ;
21024 PyObject
* obj4
= 0 ;
21025 PyObject
* obj5
= 0 ;
21026 char * kwnames
[] = {
21027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21032 if (!SWIG_IsOK(res1
)) {
21033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21035 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21038 if (!SWIG_IsOK(ecode2
)) {
21039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21041 arg2
= static_cast< int >(val2
);
21046 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21052 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21056 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21057 if (!SWIG_IsOK(ecode5
)) {
21058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21060 arg5
= static_cast< long >(val5
);
21064 arg6
= wxString_in_helper(obj5
);
21065 if (arg6
== NULL
) SWIG_fail
;
21070 if (!wxPyCheckForApp()) SWIG_fail
;
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21091 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21092 PyObject
*resultobj
= 0;
21093 wxPyWindow
*result
= 0 ;
21095 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21097 if (!wxPyCheckForApp()) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (wxPyWindow
*)new wxPyWindow();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21110 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
= 0;
21112 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21113 PyObject
*arg2
= (PyObject
*) 0 ;
21114 PyObject
*arg3
= (PyObject
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 char * kwnames
[] = {
21121 (char *) "self",(char *) "self",(char *) "_class", NULL
21124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21126 if (!SWIG_IsOK(res1
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21129 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_Py_Void();
21145 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
= 0;
21147 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 PyObject
* obj1
= 0 ;
21154 char * kwnames
[] = {
21155 (char *) "self",(char *) "size", NULL
21158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21160 if (!SWIG_IsOK(res1
)) {
21161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21163 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_Py_Void();
21181 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21184 wxDC
*arg2
= (wxDC
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char * kwnames
[] = {
21193 (char *) "self",(char *) "dc", NULL
21196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21198 if (!SWIG_IsOK(res1
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21201 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21203 if (!SWIG_IsOK(res2
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21206 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21222 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
= 0;
21224 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 PyObject
* obj2
= 0 ;
21242 PyObject
* obj3
= 0 ;
21243 PyObject
* obj4
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21253 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21255 if (!SWIG_IsOK(ecode2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21258 arg2
= static_cast< int >(val2
);
21259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21260 if (!SWIG_IsOK(ecode3
)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21263 arg3
= static_cast< int >(val3
);
21264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21265 if (!SWIG_IsOK(ecode4
)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21268 arg4
= static_cast< int >(val4
);
21269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21270 if (!SWIG_IsOK(ecode5
)) {
21271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21273 arg5
= static_cast< int >(val5
);
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_Py_Void();
21287 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
= 0;
21289 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21294 int arg6
= (int) wxSIZE_AUTO
;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 PyObject
* obj3
= 0 ;
21311 PyObject
* obj4
= 0 ;
21312 PyObject
* obj5
= 0 ;
21313 char * kwnames
[] = {
21314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21319 if (!SWIG_IsOK(res1
)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21322 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21324 if (!SWIG_IsOK(ecode2
)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21327 arg2
= static_cast< int >(val2
);
21328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21329 if (!SWIG_IsOK(ecode3
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21332 arg3
= static_cast< int >(val3
);
21333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21334 if (!SWIG_IsOK(ecode4
)) {
21335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21337 arg4
= static_cast< int >(val4
);
21338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21339 if (!SWIG_IsOK(ecode5
)) {
21340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21342 arg5
= static_cast< int >(val5
);
21344 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21345 if (!SWIG_IsOK(ecode6
)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21348 arg6
= static_cast< int >(val6
);
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_Py_Void();
21363 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= 0;
21365 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 PyObject
* obj2
= 0 ;
21377 char * kwnames
[] = {
21378 (char *) "self",(char *) "width",(char *) "height", NULL
21381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21383 if (!SWIG_IsOK(res1
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21386 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21388 if (!SWIG_IsOK(ecode2
)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21391 arg2
= static_cast< int >(val2
);
21392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21393 if (!SWIG_IsOK(ecode3
)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21396 arg3
= static_cast< int >(val3
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 (arg1
)->DoSetClientSize(arg2
,arg3
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_Py_Void();
21410 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
= 0;
21412 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 PyObject
* obj2
= 0 ;
21424 char * kwnames
[] = {
21425 (char *) "self",(char *) "x",(char *) "y", NULL
21428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21430 if (!SWIG_IsOK(res1
)) {
21431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21433 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21435 if (!SWIG_IsOK(ecode2
)) {
21436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21438 arg2
= static_cast< int >(val2
);
21439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21440 if (!SWIG_IsOK(ecode3
)) {
21441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21443 arg3
= static_cast< int >(val3
);
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= SWIG_Py_Void();
21457 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21458 PyObject
*resultobj
= 0;
21459 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21460 int *arg2
= (int *) 0 ;
21461 int *arg3
= (int *) 0 ;
21465 int res2
= SWIG_TMPOBJ
;
21467 int res3
= SWIG_TMPOBJ
;
21468 PyObject
*swig_obj
[1] ;
21472 if (!args
) SWIG_fail
;
21473 swig_obj
[0] = args
;
21474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21475 if (!SWIG_IsOK(res1
)) {
21476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21478 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_Py_Void();
21486 if (SWIG_IsTmpObj(res2
)) {
21487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21489 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21492 if (SWIG_IsTmpObj(res3
)) {
21493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21495 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21504 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21505 PyObject
*resultobj
= 0;
21506 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21507 int *arg2
= (int *) 0 ;
21508 int *arg3
= (int *) 0 ;
21512 int res2
= SWIG_TMPOBJ
;
21514 int res3
= SWIG_TMPOBJ
;
21515 PyObject
*swig_obj
[1] ;
21519 if (!args
) SWIG_fail
;
21520 swig_obj
[0] = args
;
21521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21522 if (!SWIG_IsOK(res1
)) {
21523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21525 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_Py_Void();
21533 if (SWIG_IsTmpObj(res2
)) {
21534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21539 if (SWIG_IsTmpObj(res3
)) {
21540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21551 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21552 PyObject
*resultobj
= 0;
21553 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21554 int *arg2
= (int *) 0 ;
21555 int *arg3
= (int *) 0 ;
21559 int res2
= SWIG_TMPOBJ
;
21561 int res3
= SWIG_TMPOBJ
;
21562 PyObject
*swig_obj
[1] ;
21566 if (!args
) SWIG_fail
;
21567 swig_obj
[0] = args
;
21568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21569 if (!SWIG_IsOK(res1
)) {
21570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21572 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_Py_Void();
21580 if (SWIG_IsTmpObj(res2
)) {
21581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21583 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21586 if (SWIG_IsTmpObj(res3
)) {
21587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21589 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21598 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21599 PyObject
*resultobj
= 0;
21600 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21604 PyObject
*swig_obj
[1] ;
21606 if (!args
) SWIG_fail
;
21607 swig_obj
[0] = args
;
21608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21609 if (!SWIG_IsOK(res1
)) {
21610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21612 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21626 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21627 PyObject
*resultobj
= 0;
21628 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21632 PyObject
*swig_obj
[1] ;
21634 if (!args
) SWIG_fail
;
21635 swig_obj
[0] = args
;
21636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21640 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21654 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21655 PyObject
*resultobj
= 0;
21656 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21657 SwigValueWrapper
<wxVisualAttributes
> result
;
21660 PyObject
*swig_obj
[1] ;
21662 if (!args
) SWIG_fail
;
21663 swig_obj
[0] = args
;
21664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21665 if (!SWIG_IsOK(res1
)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21668 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (arg1
)->GetDefaultAttributes();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21682 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21683 PyObject
*resultobj
= 0;
21684 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21687 PyObject
*swig_obj
[1] ;
21689 if (!args
) SWIG_fail
;
21690 swig_obj
[0] = args
;
21691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21692 if (!SWIG_IsOK(res1
)) {
21693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21695 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 (arg1
)->OnInternalIdle();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_Py_Void();
21709 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21713 return SWIG_Py_Void();
21716 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21717 return SWIG_Python_InitShadowInstance(args
);
21720 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
= 0;
21722 wxWindow
*arg1
= (wxWindow
*) 0 ;
21723 int arg2
= (int) (int)-1 ;
21724 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21725 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21726 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21727 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21728 long arg5
= (long) 0 ;
21729 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21730 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21731 wxPyPanel
*result
= 0 ;
21740 bool temp6
= false ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 PyObject
* obj2
= 0 ;
21744 PyObject
* obj3
= 0 ;
21745 PyObject
* obj4
= 0 ;
21746 PyObject
* obj5
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21759 if (!SWIG_IsOK(ecode2
)) {
21760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21762 arg2
= static_cast< int >(val2
);
21767 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21773 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21777 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21778 if (!SWIG_IsOK(ecode5
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21781 arg5
= static_cast< long >(val5
);
21785 arg6
= wxString_in_helper(obj5
);
21786 if (arg6
== NULL
) SWIG_fail
;
21791 if (!wxPyCheckForApp()) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21812 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 PyObject
*resultobj
= 0;
21814 wxPyPanel
*result
= 0 ;
21816 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21818 if (!wxPyCheckForApp()) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (wxPyPanel
*)new wxPyPanel();
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21831 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= 0;
21833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21834 PyObject
*arg2
= (PyObject
*) 0 ;
21835 PyObject
*arg3
= (PyObject
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 PyObject
* obj2
= 0 ;
21841 char * kwnames
[] = {
21842 (char *) "self",(char *) "self",(char *) "_class", NULL
21845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21847 if (!SWIG_IsOK(res1
)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21850 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_Py_Void();
21866 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
= 0;
21868 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char * kwnames
[] = {
21876 (char *) "self",(char *) "size", NULL
21879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21881 if (!SWIG_IsOK(res1
)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21884 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= SWIG_Py_Void();
21902 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
= 0;
21904 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21905 wxDC
*arg2
= (wxDC
*) 0 ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char * kwnames
[] = {
21914 (char *) "self",(char *) "dc", NULL
21917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21919 if (!SWIG_IsOK(res1
)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21922 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21924 if (!SWIG_IsOK(res2
)) {
21925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21927 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21943 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
= 0;
21945 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 PyObject
* obj2
= 0 ;
21963 PyObject
* obj3
= 0 ;
21964 PyObject
* obj4
= 0 ;
21965 char * kwnames
[] = {
21966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21971 if (!SWIG_IsOK(res1
)) {
21972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21974 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21976 if (!SWIG_IsOK(ecode2
)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21979 arg2
= static_cast< int >(val2
);
21980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21981 if (!SWIG_IsOK(ecode3
)) {
21982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21984 arg3
= static_cast< int >(val3
);
21985 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21986 if (!SWIG_IsOK(ecode4
)) {
21987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21989 arg4
= static_cast< int >(val4
);
21990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21991 if (!SWIG_IsOK(ecode5
)) {
21992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21994 arg5
= static_cast< int >(val5
);
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= SWIG_Py_Void();
22008 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
= 0;
22010 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22015 int arg6
= (int) wxSIZE_AUTO
;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 PyObject
* obj2
= 0 ;
22031 PyObject
* obj3
= 0 ;
22032 PyObject
* obj4
= 0 ;
22033 PyObject
* obj5
= 0 ;
22034 char * kwnames
[] = {
22035 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22040 if (!SWIG_IsOK(res1
)) {
22041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22043 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22045 if (!SWIG_IsOK(ecode2
)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22048 arg2
= static_cast< int >(val2
);
22049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22050 if (!SWIG_IsOK(ecode3
)) {
22051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22053 arg3
= static_cast< int >(val3
);
22054 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22055 if (!SWIG_IsOK(ecode4
)) {
22056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22058 arg4
= static_cast< int >(val4
);
22059 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22060 if (!SWIG_IsOK(ecode5
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22063 arg5
= static_cast< int >(val5
);
22065 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22066 if (!SWIG_IsOK(ecode6
)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22069 arg6
= static_cast< int >(val6
);
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_Py_Void();
22084 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
= 0;
22086 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 PyObject
* obj2
= 0 ;
22098 char * kwnames
[] = {
22099 (char *) "self",(char *) "width",(char *) "height", NULL
22102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22104 if (!SWIG_IsOK(res1
)) {
22105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22107 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22109 if (!SWIG_IsOK(ecode2
)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22112 arg2
= static_cast< int >(val2
);
22113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22114 if (!SWIG_IsOK(ecode3
)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22117 arg3
= static_cast< int >(val3
);
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 (arg1
)->DoSetClientSize(arg2
,arg3
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= SWIG_Py_Void();
22131 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22132 PyObject
*resultobj
= 0;
22133 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char * kwnames
[] = {
22146 (char *) "self",(char *) "x",(char *) "y", NULL
22149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22154 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22156 if (!SWIG_IsOK(ecode2
)) {
22157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22159 arg2
= static_cast< int >(val2
);
22160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22161 if (!SWIG_IsOK(ecode3
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22164 arg3
= static_cast< int >(val3
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_Py_Void();
22178 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22179 PyObject
*resultobj
= 0;
22180 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22181 int *arg2
= (int *) 0 ;
22182 int *arg3
= (int *) 0 ;
22186 int res2
= SWIG_TMPOBJ
;
22188 int res3
= SWIG_TMPOBJ
;
22189 PyObject
*swig_obj
[1] ;
22193 if (!args
) SWIG_fail
;
22194 swig_obj
[0] = args
;
22195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22196 if (!SWIG_IsOK(res1
)) {
22197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22199 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_Py_Void();
22207 if (SWIG_IsTmpObj(res2
)) {
22208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22210 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22213 if (SWIG_IsTmpObj(res3
)) {
22214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22216 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22225 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22226 PyObject
*resultobj
= 0;
22227 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22228 int *arg2
= (int *) 0 ;
22229 int *arg3
= (int *) 0 ;
22233 int res2
= SWIG_TMPOBJ
;
22235 int res3
= SWIG_TMPOBJ
;
22236 PyObject
*swig_obj
[1] ;
22240 if (!args
) SWIG_fail
;
22241 swig_obj
[0] = args
;
22242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22243 if (!SWIG_IsOK(res1
)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22246 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= SWIG_Py_Void();
22254 if (SWIG_IsTmpObj(res2
)) {
22255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22257 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22260 if (SWIG_IsTmpObj(res3
)) {
22261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22263 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22272 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22273 PyObject
*resultobj
= 0;
22274 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22275 int *arg2
= (int *) 0 ;
22276 int *arg3
= (int *) 0 ;
22280 int res2
= SWIG_TMPOBJ
;
22282 int res3
= SWIG_TMPOBJ
;
22283 PyObject
*swig_obj
[1] ;
22287 if (!args
) SWIG_fail
;
22288 swig_obj
[0] = args
;
22289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22290 if (!SWIG_IsOK(res1
)) {
22291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22293 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 resultobj
= SWIG_Py_Void();
22301 if (SWIG_IsTmpObj(res2
)) {
22302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22304 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22307 if (SWIG_IsTmpObj(res3
)) {
22308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22310 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22319 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22320 PyObject
*resultobj
= 0;
22321 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22325 PyObject
*swig_obj
[1] ;
22327 if (!args
) SWIG_fail
;
22328 swig_obj
[0] = args
;
22329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22333 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22347 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22348 PyObject
*resultobj
= 0;
22349 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22353 PyObject
*swig_obj
[1] ;
22355 if (!args
) SWIG_fail
;
22356 swig_obj
[0] = args
;
22357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22358 if (!SWIG_IsOK(res1
)) {
22359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22361 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22375 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22376 PyObject
*resultobj
= 0;
22377 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22378 SwigValueWrapper
<wxVisualAttributes
> result
;
22381 PyObject
*swig_obj
[1] ;
22383 if (!args
) SWIG_fail
;
22384 swig_obj
[0] = args
;
22385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22386 if (!SWIG_IsOK(res1
)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22389 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (arg1
)->GetDefaultAttributes();
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22403 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22404 PyObject
*resultobj
= 0;
22405 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22408 PyObject
*swig_obj
[1] ;
22410 if (!args
) SWIG_fail
;
22411 swig_obj
[0] = args
;
22412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22413 if (!SWIG_IsOK(res1
)) {
22414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22416 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 (arg1
)->OnInternalIdle();
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= SWIG_Py_Void();
22430 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22434 return SWIG_Py_Void();
22437 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 return SWIG_Python_InitShadowInstance(args
);
22441 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
= 0;
22443 wxWindow
*arg1
= (wxWindow
*) 0 ;
22444 int arg2
= (int) (int)-1 ;
22445 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22446 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22447 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22448 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22449 long arg5
= (long) 0 ;
22450 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22451 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22452 wxPyScrolledWindow
*result
= 0 ;
22461 bool temp6
= false ;
22462 PyObject
* obj0
= 0 ;
22463 PyObject
* obj1
= 0 ;
22464 PyObject
* obj2
= 0 ;
22465 PyObject
* obj3
= 0 ;
22466 PyObject
* obj4
= 0 ;
22467 PyObject
* obj5
= 0 ;
22468 char * kwnames
[] = {
22469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22480 if (!SWIG_IsOK(ecode2
)) {
22481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22483 arg2
= static_cast< int >(val2
);
22488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22494 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22498 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22499 if (!SWIG_IsOK(ecode5
)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22502 arg5
= static_cast< long >(val5
);
22506 arg6
= wxString_in_helper(obj5
);
22507 if (arg6
== NULL
) SWIG_fail
;
22512 if (!wxPyCheckForApp()) SWIG_fail
;
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22533 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22534 PyObject
*resultobj
= 0;
22535 wxPyScrolledWindow
*result
= 0 ;
22537 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22539 if (!wxPyCheckForApp()) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22552 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
= 0;
22554 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22555 PyObject
*arg2
= (PyObject
*) 0 ;
22556 PyObject
*arg3
= (PyObject
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 PyObject
* obj2
= 0 ;
22562 char * kwnames
[] = {
22563 (char *) "self",(char *) "self",(char *) "_class", NULL
22566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22568 if (!SWIG_IsOK(res1
)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22571 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_Py_Void();
22587 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
= 0;
22589 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char * kwnames
[] = {
22597 (char *) "self",(char *) "size", NULL
22600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22605 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_Py_Void();
22623 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= 0;
22625 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22626 wxDC
*arg2
= (wxDC
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char * kwnames
[] = {
22635 (char *) "self",(char *) "dc", NULL
22638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22640 if (!SWIG_IsOK(res1
)) {
22641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22643 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22645 if (!SWIG_IsOK(res2
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22648 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22664 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
= 0;
22666 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 PyObject
* obj2
= 0 ;
22684 PyObject
* obj3
= 0 ;
22685 PyObject
* obj4
= 0 ;
22686 char * kwnames
[] = {
22687 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22692 if (!SWIG_IsOK(res1
)) {
22693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22695 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22697 if (!SWIG_IsOK(ecode2
)) {
22698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22700 arg2
= static_cast< int >(val2
);
22701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22702 if (!SWIG_IsOK(ecode3
)) {
22703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22705 arg3
= static_cast< int >(val3
);
22706 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22707 if (!SWIG_IsOK(ecode4
)) {
22708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22710 arg4
= static_cast< int >(val4
);
22711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22712 if (!SWIG_IsOK(ecode5
)) {
22713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22715 arg5
= static_cast< int >(val5
);
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_Py_Void();
22729 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
= 0;
22731 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22736 int arg6
= (int) wxSIZE_AUTO
;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 PyObject
* obj2
= 0 ;
22752 PyObject
* obj3
= 0 ;
22753 PyObject
* obj4
= 0 ;
22754 PyObject
* obj5
= 0 ;
22755 char * kwnames
[] = {
22756 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22764 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22766 if (!SWIG_IsOK(ecode2
)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22769 arg2
= static_cast< int >(val2
);
22770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22771 if (!SWIG_IsOK(ecode3
)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22774 arg3
= static_cast< int >(val3
);
22775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22776 if (!SWIG_IsOK(ecode4
)) {
22777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22779 arg4
= static_cast< int >(val4
);
22780 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22781 if (!SWIG_IsOK(ecode5
)) {
22782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22784 arg5
= static_cast< int >(val5
);
22786 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22787 if (!SWIG_IsOK(ecode6
)) {
22788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22790 arg6
= static_cast< int >(val6
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_Py_Void();
22805 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
= 0;
22807 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 PyObject
* obj1
= 0 ;
22818 PyObject
* obj2
= 0 ;
22819 char * kwnames
[] = {
22820 (char *) "self",(char *) "width",(char *) "height", NULL
22823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22825 if (!SWIG_IsOK(res1
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22828 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22830 if (!SWIG_IsOK(ecode2
)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22833 arg2
= static_cast< int >(val2
);
22834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22835 if (!SWIG_IsOK(ecode3
)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22838 arg3
= static_cast< int >(val3
);
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 (arg1
)->DoSetClientSize(arg2
,arg3
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= SWIG_Py_Void();
22852 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
= 0;
22854 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 PyObject
* obj2
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "x",(char *) "y", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22875 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22877 if (!SWIG_IsOK(ecode2
)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22880 arg2
= static_cast< int >(val2
);
22881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22882 if (!SWIG_IsOK(ecode3
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22885 arg3
= static_cast< int >(val3
);
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_Py_Void();
22899 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 PyObject
*resultobj
= 0;
22901 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22902 int *arg2
= (int *) 0 ;
22903 int *arg3
= (int *) 0 ;
22907 int res2
= SWIG_TMPOBJ
;
22909 int res3
= SWIG_TMPOBJ
;
22910 PyObject
*swig_obj
[1] ;
22914 if (!args
) SWIG_fail
;
22915 swig_obj
[0] = args
;
22916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22917 if (!SWIG_IsOK(res1
)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22920 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22928 if (SWIG_IsTmpObj(res2
)) {
22929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22931 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22934 if (SWIG_IsTmpObj(res3
)) {
22935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22937 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22946 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22947 PyObject
*resultobj
= 0;
22948 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22949 int *arg2
= (int *) 0 ;
22950 int *arg3
= (int *) 0 ;
22954 int res2
= SWIG_TMPOBJ
;
22956 int res3
= SWIG_TMPOBJ
;
22957 PyObject
*swig_obj
[1] ;
22961 if (!args
) SWIG_fail
;
22962 swig_obj
[0] = args
;
22963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22964 if (!SWIG_IsOK(res1
)) {
22965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22967 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_Py_Void();
22975 if (SWIG_IsTmpObj(res2
)) {
22976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22978 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22981 if (SWIG_IsTmpObj(res3
)) {
22982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22984 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22993 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22994 PyObject
*resultobj
= 0;
22995 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22996 int *arg2
= (int *) 0 ;
22997 int *arg3
= (int *) 0 ;
23001 int res2
= SWIG_TMPOBJ
;
23003 int res3
= SWIG_TMPOBJ
;
23004 PyObject
*swig_obj
[1] ;
23008 if (!args
) SWIG_fail
;
23009 swig_obj
[0] = args
;
23010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23014 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_Py_Void();
23022 if (SWIG_IsTmpObj(res2
)) {
23023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23025 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23028 if (SWIG_IsTmpObj(res3
)) {
23029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23031 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23040 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23041 PyObject
*resultobj
= 0;
23042 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23054 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23068 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23069 PyObject
*resultobj
= 0;
23070 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23074 PyObject
*swig_obj
[1] ;
23076 if (!args
) SWIG_fail
;
23077 swig_obj
[0] = args
;
23078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23082 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23096 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23097 PyObject
*resultobj
= 0;
23098 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23099 SwigValueWrapper
<wxVisualAttributes
> result
;
23102 PyObject
*swig_obj
[1] ;
23104 if (!args
) SWIG_fail
;
23105 swig_obj
[0] = args
;
23106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23107 if (!SWIG_IsOK(res1
)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23110 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (arg1
)->GetDefaultAttributes();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23124 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23125 PyObject
*resultobj
= 0;
23126 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23129 PyObject
*swig_obj
[1] ;
23131 if (!args
) SWIG_fail
;
23132 swig_obj
[0] = args
;
23133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23137 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 (arg1
)->OnInternalIdle();
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 resultobj
= SWIG_Py_Void();
23151 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23154 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23155 return SWIG_Py_Void();
23158 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23159 return SWIG_Python_InitShadowInstance(args
);
23162 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23163 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23168 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23169 PyObject
*pyobj
= 0;
23173 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23175 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23182 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23183 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23188 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23189 PyObject
*pyobj
= 0;
23193 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23195 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23202 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23203 PyObject
*resultobj
= 0;
23204 wxPrintData
*result
= 0 ;
23206 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (wxPrintData
*)new wxPrintData();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23220 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23221 PyObject
*resultobj
= 0;
23222 wxPrintData
*arg1
= 0 ;
23223 wxPrintData
*result
= 0 ;
23227 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23229 if (!SWIG_IsOK(res1
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23235 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23249 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23253 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23256 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23259 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23263 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23268 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23269 PyObject
*resultobj
= 0;
23270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23273 PyObject
*swig_obj
[1] ;
23275 if (!args
) SWIG_fail
;
23276 swig_obj
[0] = args
;
23277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23281 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= SWIG_Py_Void();
23296 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23297 PyObject
*resultobj
= 0;
23298 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23302 PyObject
*swig_obj
[1] ;
23304 if (!args
) SWIG_fail
;
23305 swig_obj
[0] = args
;
23306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23310 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (int)(arg1
)->GetNoCopies();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_From_int(static_cast< int >(result
));
23324 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23325 PyObject
*resultobj
= 0;
23326 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23330 PyObject
*swig_obj
[1] ;
23332 if (!args
) SWIG_fail
;
23333 swig_obj
[0] = args
;
23334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23335 if (!SWIG_IsOK(res1
)) {
23336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23338 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (bool)(arg1
)->GetCollate();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23354 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23355 PyObject
*resultobj
= 0;
23356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23360 PyObject
*swig_obj
[1] ;
23362 if (!args
) SWIG_fail
;
23363 swig_obj
[0] = args
;
23364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23368 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (int)(arg1
)->GetOrientation();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_From_int(static_cast< int >(result
));
23382 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23383 PyObject
*resultobj
= 0;
23384 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23388 PyObject
*swig_obj
[1] ;
23390 if (!args
) SWIG_fail
;
23391 swig_obj
[0] = args
;
23392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23393 if (!SWIG_IsOK(res1
)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23396 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (bool)(arg1
)->Ok();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23412 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23413 PyObject
*resultobj
= 0;
23414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23415 wxString
*result
= 0 ;
23418 PyObject
*swig_obj
[1] ;
23420 if (!args
) SWIG_fail
;
23421 swig_obj
[0] = args
;
23422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23426 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23431 result
= (wxString
*) &_result_ref
;
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23449 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23450 PyObject
*resultobj
= 0;
23451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23455 PyObject
*swig_obj
[1] ;
23457 if (!args
) SWIG_fail
;
23458 swig_obj
[0] = args
;
23459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23460 if (!SWIG_IsOK(res1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23463 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (bool)(arg1
)->GetColour();
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23479 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23480 PyObject
*resultobj
= 0;
23481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23482 wxDuplexMode result
;
23485 PyObject
*swig_obj
[1] ;
23487 if (!args
) SWIG_fail
;
23488 swig_obj
[0] = args
;
23489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23490 if (!SWIG_IsOK(res1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23493 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_From_int(static_cast< int >(result
));
23507 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23508 PyObject
*resultobj
= 0;
23509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23510 wxPaperSize result
;
23513 PyObject
*swig_obj
[1] ;
23515 if (!args
) SWIG_fail
;
23516 swig_obj
[0] = args
;
23517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23521 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_From_int(static_cast< int >(result
));
23535 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23536 PyObject
*resultobj
= 0;
23537 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23538 wxSize
*result
= 0 ;
23541 PyObject
*swig_obj
[1] ;
23543 if (!args
) SWIG_fail
;
23544 swig_obj
[0] = args
;
23545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23549 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23554 result
= (wxSize
*) &_result_ref
;
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23566 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23567 PyObject
*resultobj
= 0;
23568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23572 PyObject
*swig_obj
[1] ;
23574 if (!args
) SWIG_fail
;
23575 swig_obj
[0] = args
;
23576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23580 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (int)(arg1
)->GetQuality();
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_From_int(static_cast< int >(result
));
23594 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23595 PyObject
*resultobj
= 0;
23596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23600 PyObject
*swig_obj
[1] ;
23602 if (!args
) SWIG_fail
;
23603 swig_obj
[0] = args
;
23604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23605 if (!SWIG_IsOK(res1
)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23608 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= (wxPrintBin
)(arg1
)->GetBin();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_From_int(static_cast< int >(result
));
23622 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23623 PyObject
*resultobj
= 0;
23624 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23625 wxPrintMode result
;
23628 PyObject
*swig_obj
[1] ;
23630 if (!args
) SWIG_fail
;
23631 swig_obj
[0] = args
;
23632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23633 if (!SWIG_IsOK(res1
)) {
23634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23636 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_From_int(static_cast< int >(result
));
23650 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= 0;
23652 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char * kwnames
[] = {
23661 (char *) "self",(char *) "v", NULL
23664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23666 if (!SWIG_IsOK(res1
)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23669 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23671 if (!SWIG_IsOK(ecode2
)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23674 arg2
= static_cast< int >(val2
);
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 (arg1
)->SetNoCopies(arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_Py_Void();
23688 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
= 0;
23690 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 char * kwnames
[] = {
23699 (char *) "self",(char *) "flag", NULL
23702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23707 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23709 if (!SWIG_IsOK(ecode2
)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23712 arg2
= static_cast< bool >(val2
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 (arg1
)->SetCollate(arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_Py_Void();
23726 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= 0;
23728 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 char * kwnames
[] = {
23737 (char *) "self",(char *) "orient", NULL
23740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23742 if (!SWIG_IsOK(res1
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23745 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23747 if (!SWIG_IsOK(ecode2
)) {
23748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23750 arg2
= static_cast< int >(val2
);
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 (arg1
)->SetOrientation(arg2
);
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_Py_Void();
23764 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
= 0;
23766 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23767 wxString
*arg2
= 0 ;
23770 bool temp2
= false ;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 char * kwnames
[] = {
23774 (char *) "self",(char *) "name", NULL
23777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23782 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23784 arg2
= wxString_in_helper(obj1
);
23785 if (arg2
== NULL
) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23794 resultobj
= SWIG_Py_Void();
23809 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char * kwnames
[] = {
23820 (char *) "self",(char *) "colour", NULL
23823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23828 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23829 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23830 if (!SWIG_IsOK(ecode2
)) {
23831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23833 arg2
= static_cast< bool >(val2
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 (arg1
)->SetColour(arg2
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_Py_Void();
23847 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
= 0;
23849 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23850 wxDuplexMode arg2
;
23855 PyObject
* obj0
= 0 ;
23856 PyObject
* obj1
= 0 ;
23857 char * kwnames
[] = {
23858 (char *) "self",(char *) "duplex", NULL
23861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23863 if (!SWIG_IsOK(res1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23866 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23868 if (!SWIG_IsOK(ecode2
)) {
23869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23871 arg2
= static_cast< wxDuplexMode
>(val2
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 (arg1
)->SetDuplex(arg2
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_Py_Void();
23885 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "sizeId", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23904 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23906 if (!SWIG_IsOK(ecode2
)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23909 arg2
= static_cast< wxPaperSize
>(val2
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 (arg1
)->SetPaperId(arg2
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_Py_Void();
23923 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
= 0;
23925 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char * kwnames
[] = {
23933 (char *) "self",(char *) "sz", NULL
23936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23938 if (!SWIG_IsOK(res1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23941 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= SWIG_Py_Void();
23959 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
= 0;
23961 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 char * kwnames
[] = {
23970 (char *) "self",(char *) "quality", NULL
23973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23978 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23980 if (!SWIG_IsOK(ecode2
)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23983 arg2
= static_cast< int >(val2
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->SetQuality(arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_Py_Void();
23997 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
= 0;
23999 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char * kwnames
[] = {
24008 (char *) "self",(char *) "bin", NULL
24011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24013 if (!SWIG_IsOK(res1
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24016 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24018 if (!SWIG_IsOK(ecode2
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24021 arg2
= static_cast< wxPrintBin
>(val2
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->SetBin(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= SWIG_Py_Void();
24035 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
= 0;
24037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char * kwnames
[] = {
24046 (char *) "self",(char *) "printMode", NULL
24049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24051 if (!SWIG_IsOK(res1
)) {
24052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24054 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24056 if (!SWIG_IsOK(ecode2
)) {
24057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24059 arg2
= static_cast< wxPrintMode
>(val2
);
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 (arg1
)->SetPrintMode(arg2
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= SWIG_Py_Void();
24073 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24074 PyObject
*resultobj
= 0;
24075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24079 PyObject
*swig_obj
[1] ;
24081 if (!args
) SWIG_fail
;
24082 swig_obj
[0] = args
;
24083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24087 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24107 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
= 0;
24109 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24110 wxString
*arg2
= 0 ;
24113 bool temp2
= false ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 char * kwnames
[] = {
24117 (char *) "self",(char *) "filename", NULL
24120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24122 if (!SWIG_IsOK(res1
)) {
24123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24125 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24127 arg2
= wxString_in_helper(obj1
);
24128 if (arg2
== NULL
) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 (arg1
)->SetFilename((wxString
const &)*arg2
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= SWIG_Py_Void();
24152 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24153 PyObject
*resultobj
= 0;
24154 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24155 PyObject
*result
= 0 ;
24158 PyObject
*swig_obj
[1] ;
24160 if (!args
) SWIG_fail
;
24161 swig_obj
[0] = args
;
24162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24166 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= result
;
24180 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
= 0;
24182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24183 PyObject
*arg2
= (PyObject
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 char * kwnames
[] = {
24189 (char *) "self",(char *) "data", NULL
24192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24194 if (!SWIG_IsOK(res1
)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24197 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 wxPrintData_SetPrivData(arg1
,arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_Py_Void();
24212 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24215 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24216 return SWIG_Py_Void();
24219 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 return SWIG_Python_InitShadowInstance(args
);
24223 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24224 PyObject
*resultobj
= 0;
24225 wxPageSetupDialogData
*result
= 0 ;
24227 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24241 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24242 PyObject
*resultobj
= 0;
24243 wxPageSetupDialogData
*arg1
= 0 ;
24244 wxPageSetupDialogData
*result
= 0 ;
24248 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24270 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24271 PyObject
*resultobj
= 0;
24272 wxPrintData
*arg1
= 0 ;
24273 wxPageSetupDialogData
*result
= 0 ;
24277 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24285 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24299 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24303 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24306 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24311 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24312 _v
= SWIG_CheckState(res
);
24314 if (!_v
) goto check_2
;
24315 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24320 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24324 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24329 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24330 PyObject
*resultobj
= 0;
24331 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24334 PyObject
*swig_obj
[1] ;
24336 if (!args
) SWIG_fail
;
24337 swig_obj
[0] = args
;
24338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24339 if (!SWIG_IsOK(res1
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24342 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_Py_Void();
24357 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
= 0;
24359 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char * kwnames
[] = {
24368 (char *) "self",(char *) "flag", NULL
24371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24373 if (!SWIG_IsOK(res1
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24376 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24377 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24378 if (!SWIG_IsOK(ecode2
)) {
24379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24381 arg2
= static_cast< bool >(val2
);
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 (arg1
)->EnableHelp(arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= SWIG_Py_Void();
24395 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= 0;
24397 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char * kwnames
[] = {
24406 (char *) "self",(char *) "flag", NULL
24409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24411 if (!SWIG_IsOK(res1
)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24414 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24415 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24416 if (!SWIG_IsOK(ecode2
)) {
24417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24419 arg2
= static_cast< bool >(val2
);
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 (arg1
)->EnableMargins(arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_Py_Void();
24433 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
= 0;
24435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24441 PyObject
* obj0
= 0 ;
24442 PyObject
* obj1
= 0 ;
24443 char * kwnames
[] = {
24444 (char *) "self",(char *) "flag", NULL
24447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24449 if (!SWIG_IsOK(res1
)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24452 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24454 if (!SWIG_IsOK(ecode2
)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24457 arg2
= static_cast< bool >(val2
);
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 (arg1
)->EnableOrientation(arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_Py_Void();
24471 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= 0;
24473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "flag", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24490 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24491 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24492 if (!SWIG_IsOK(ecode2
)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24495 arg2
= static_cast< bool >(val2
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->EnablePaper(arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= SWIG_Py_Void();
24509 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char * kwnames
[] = {
24520 (char *) "self",(char *) "flag", NULL
24523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24528 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24530 if (!SWIG_IsOK(ecode2
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24533 arg2
= static_cast< bool >(val2
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->EnablePrinter(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_Py_Void();
24547 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24548 PyObject
*resultobj
= 0;
24549 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24553 PyObject
*swig_obj
[1] ;
24555 if (!args
) SWIG_fail
;
24556 swig_obj
[0] = args
;
24557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24561 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (bool)(arg1
)->GetDefaultMinMargins();
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24577 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24578 PyObject
*resultobj
= 0;
24579 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24583 PyObject
*swig_obj
[1] ;
24585 if (!args
) SWIG_fail
;
24586 swig_obj
[0] = args
;
24587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24591 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (bool)(arg1
)->GetEnableMargins();
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24607 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24608 PyObject
*resultobj
= 0;
24609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24613 PyObject
*swig_obj
[1] ;
24615 if (!args
) SWIG_fail
;
24616 swig_obj
[0] = args
;
24617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24621 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)(arg1
)->GetEnableOrientation();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24637 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 PyObject
*resultobj
= 0;
24639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24643 PyObject
*swig_obj
[1] ;
24645 if (!args
) SWIG_fail
;
24646 swig_obj
[0] = args
;
24647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24648 if (!SWIG_IsOK(res1
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24651 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (bool)(arg1
)->GetEnablePaper();
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24667 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24668 PyObject
*resultobj
= 0;
24669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24673 PyObject
*swig_obj
[1] ;
24675 if (!args
) SWIG_fail
;
24676 swig_obj
[0] = args
;
24677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24678 if (!SWIG_IsOK(res1
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24681 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (bool)(arg1
)->GetEnablePrinter();
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24697 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24698 PyObject
*resultobj
= 0;
24699 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24703 PyObject
*swig_obj
[1] ;
24705 if (!args
) SWIG_fail
;
24706 swig_obj
[0] = args
;
24707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24711 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (bool)(arg1
)->GetEnableHelp();
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24727 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24728 PyObject
*resultobj
= 0;
24729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24733 PyObject
*swig_obj
[1] ;
24735 if (!args
) SWIG_fail
;
24736 swig_obj
[0] = args
;
24737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24738 if (!SWIG_IsOK(res1
)) {
24739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24741 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= (bool)(arg1
)->GetDefaultInfo();
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24757 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24758 PyObject
*resultobj
= 0;
24759 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24763 PyObject
*swig_obj
[1] ;
24765 if (!args
) SWIG_fail
;
24766 swig_obj
[0] = args
;
24767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24771 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (arg1
)->GetMarginTopLeft();
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24785 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24786 PyObject
*resultobj
= 0;
24787 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24791 PyObject
*swig_obj
[1] ;
24793 if (!args
) SWIG_fail
;
24794 swig_obj
[0] = args
;
24795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24799 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (arg1
)->GetMarginBottomRight();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24813 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24814 PyObject
*resultobj
= 0;
24815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24819 PyObject
*swig_obj
[1] ;
24821 if (!args
) SWIG_fail
;
24822 swig_obj
[0] = args
;
24823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24824 if (!SWIG_IsOK(res1
)) {
24825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24827 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (arg1
)->GetMinMarginTopLeft();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24841 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24842 PyObject
*resultobj
= 0;
24843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24847 PyObject
*swig_obj
[1] ;
24849 if (!args
) SWIG_fail
;
24850 swig_obj
[0] = args
;
24851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24852 if (!SWIG_IsOK(res1
)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24855 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 result
= (arg1
)->GetMinMarginBottomRight();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24869 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24870 PyObject
*resultobj
= 0;
24871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24872 wxPaperSize result
;
24875 PyObject
*swig_obj
[1] ;
24877 if (!args
) SWIG_fail
;
24878 swig_obj
[0] = args
;
24879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24880 if (!SWIG_IsOK(res1
)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24883 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= SWIG_From_int(static_cast< int >(result
));
24897 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24898 PyObject
*resultobj
= 0;
24899 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24903 PyObject
*swig_obj
[1] ;
24905 if (!args
) SWIG_fail
;
24906 swig_obj
[0] = args
;
24907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24908 if (!SWIG_IsOK(res1
)) {
24909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24911 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (arg1
)->GetPaperSize();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24925 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 PyObject
*resultobj
= 0;
24927 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24928 wxPrintData
*result
= 0 ;
24931 PyObject
*swig_obj
[1] ;
24933 if (!args
) SWIG_fail
;
24934 swig_obj
[0] = args
;
24935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24939 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24944 result
= (wxPrintData
*) &_result_ref
;
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24956 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 PyObject
*resultobj
= 0;
24958 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24962 PyObject
*swig_obj
[1] ;
24964 if (!args
) SWIG_fail
;
24965 swig_obj
[0] = args
;
24966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24970 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (bool)(arg1
)->Ok();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24986 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
= 0;
24988 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 char * kwnames
[] = {
24997 (char *) "self",(char *) "flag", NULL
25000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25005 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25006 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25007 if (!SWIG_IsOK(ecode2
)) {
25008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25010 arg2
= static_cast< bool >(val2
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->SetDefaultInfo(arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_Py_Void();
25024 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "flag", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25043 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25044 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25045 if (!SWIG_IsOK(ecode2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25048 arg2
= static_cast< bool >(val2
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 (arg1
)->SetDefaultMinMargins(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_Py_Void();
25062 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
= 0;
25064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25065 wxPoint
*arg2
= 0 ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 char * kwnames
[] = {
25072 (char *) "self",(char *) "pt", NULL
25075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25080 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_Py_Void();
25098 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
= 0;
25100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25101 wxPoint
*arg2
= 0 ;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 char * kwnames
[] = {
25108 (char *) "self",(char *) "pt", NULL
25111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25113 if (!SWIG_IsOK(res1
)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25116 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_Py_Void();
25134 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
= 0;
25136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25137 wxPoint
*arg2
= 0 ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 char * kwnames
[] = {
25144 (char *) "self",(char *) "pt", NULL
25147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25152 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_Py_Void();
25170 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
= 0;
25172 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25173 wxPoint
*arg2
= 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char * kwnames
[] = {
25180 (char *) "self",(char *) "pt", NULL
25183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25188 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= SWIG_Py_Void();
25206 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
= 0;
25208 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 char * kwnames
[] = {
25217 (char *) "self",(char *) "id", NULL
25220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25225 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25227 if (!SWIG_IsOK(ecode2
)) {
25228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25230 arg2
= static_cast< wxPaperSize
>(val2
);
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 (arg1
)->SetPaperId(arg2
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_Py_Void();
25244 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
= 0;
25246 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 char * kwnames
[] = {
25254 (char *) "self",(char *) "size", NULL
25257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25262 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= SWIG_Py_Void();
25280 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
= 0;
25282 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25283 wxPrintData
*arg2
= 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 char * kwnames
[] = {
25291 (char *) "self",(char *) "printData", NULL
25294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25301 if (!SWIG_IsOK(res2
)) {
25302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25307 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= SWIG_Py_Void();
25321 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25322 PyObject
*resultobj
= 0;
25323 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25326 PyObject
*swig_obj
[1] ;
25328 if (!args
) SWIG_fail
;
25329 swig_obj
[0] = args
;
25330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25334 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 (arg1
)->CalculateIdFromPaperSize();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_Py_Void();
25348 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25349 PyObject
*resultobj
= 0;
25350 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25353 PyObject
*swig_obj
[1] ;
25355 if (!args
) SWIG_fail
;
25356 swig_obj
[0] = args
;
25357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25358 if (!SWIG_IsOK(res1
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25361 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->CalculatePaperSizeFromId();
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_Py_Void();
25375 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25379 return SWIG_Py_Void();
25382 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 return SWIG_Python_InitShadowInstance(args
);
25386 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxWindow
*arg1
= (wxWindow
*) 0 ;
25389 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25390 wxPageSetupDialog
*result
= 0 ;
25395 PyObject
* obj0
= 0 ;
25396 PyObject
* obj1
= 0 ;
25397 char * kwnames
[] = {
25398 (char *) "parent",(char *) "data", NULL
25401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25403 if (!SWIG_IsOK(res1
)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25406 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25409 if (!SWIG_IsOK(res2
)) {
25410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25412 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25415 if (!wxPyCheckForApp()) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25428 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25429 PyObject
*resultobj
= 0;
25430 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25431 wxPageSetupDialogData
*result
= 0 ;
25434 PyObject
*swig_obj
[1] ;
25436 if (!args
) SWIG_fail
;
25437 swig_obj
[0] = args
;
25438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25439 if (!SWIG_IsOK(res1
)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25442 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25447 result
= (wxPageSetupDialogData
*) &_result_ref
;
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25460 PyObject
*resultobj
= 0;
25461 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25462 wxPageSetupDialogData
*result
= 0 ;
25465 PyObject
*swig_obj
[1] ;
25467 if (!args
) SWIG_fail
;
25468 swig_obj
[0] = args
;
25469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25470 if (!SWIG_IsOK(res1
)) {
25471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25473 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25478 result
= (wxPageSetupDialogData
*) &_result_ref
;
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25490 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25491 PyObject
*resultobj
= 0;
25492 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25496 PyObject
*swig_obj
[1] ;
25498 if (!args
) SWIG_fail
;
25499 swig_obj
[0] = args
;
25500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25504 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (int)(arg1
)->ShowModal();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_From_int(static_cast< int >(result
));
25518 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25521 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25522 return SWIG_Py_Void();
25525 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 return SWIG_Python_InitShadowInstance(args
);
25529 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25530 PyObject
*resultobj
= 0;
25531 wxPrintDialogData
*result
= 0 ;
25533 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25547 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25548 PyObject
*resultobj
= 0;
25549 wxPrintData
*arg1
= 0 ;
25550 wxPrintDialogData
*result
= 0 ;
25554 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25556 if (!SWIG_IsOK(res1
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25562 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25565 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25576 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25577 PyObject
*resultobj
= 0;
25578 wxPrintDialogData
*arg1
= 0 ;
25579 wxPrintDialogData
*result
= 0 ;
25583 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25585 if (!SWIG_IsOK(res1
)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25591 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25605 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25609 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25612 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25617 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25618 _v
= SWIG_CheckState(res
);
25620 if (!_v
) goto check_2
;
25621 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25626 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25630 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25635 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25636 PyObject
*resultobj
= 0;
25637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25640 PyObject
*swig_obj
[1] ;
25642 if (!args
) SWIG_fail
;
25643 swig_obj
[0] = args
;
25644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25648 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_Py_Void();
25663 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 PyObject
*resultobj
= 0;
25665 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25669 PyObject
*swig_obj
[1] ;
25671 if (!args
) SWIG_fail
;
25672 swig_obj
[0] = args
;
25673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25674 if (!SWIG_IsOK(res1
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25677 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_From_int(static_cast< int >(result
));
25691 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25692 PyObject
*resultobj
= 0;
25693 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25697 PyObject
*swig_obj
[1] ;
25699 if (!args
) SWIG_fail
;
25700 swig_obj
[0] = args
;
25701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25702 if (!SWIG_IsOK(res1
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25705 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 resultobj
= SWIG_From_int(static_cast< int >(result
));
25719 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25720 PyObject
*resultobj
= 0;
25721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25725 PyObject
*swig_obj
[1] ;
25727 if (!args
) SWIG_fail
;
25728 swig_obj
[0] = args
;
25729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25730 if (!SWIG_IsOK(res1
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25733 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_From_int(static_cast< int >(result
));
25747 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25748 PyObject
*resultobj
= 0;
25749 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25753 PyObject
*swig_obj
[1] ;
25755 if (!args
) SWIG_fail
;
25756 swig_obj
[0] = args
;
25757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25758 if (!SWIG_IsOK(res1
)) {
25759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25761 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= SWIG_From_int(static_cast< int >(result
));
25775 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25776 PyObject
*resultobj
= 0;
25777 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25781 PyObject
*swig_obj
[1] ;
25783 if (!args
) SWIG_fail
;
25784 swig_obj
[0] = args
;
25785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25786 if (!SWIG_IsOK(res1
)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25789 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_From_int(static_cast< int >(result
));
25803 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25804 PyObject
*resultobj
= 0;
25805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25809 PyObject
*swig_obj
[1] ;
25811 if (!args
) SWIG_fail
;
25812 swig_obj
[0] = args
;
25813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25817 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25833 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 PyObject
*resultobj
= 0;
25835 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25839 PyObject
*swig_obj
[1] ;
25841 if (!args
) SWIG_fail
;
25842 swig_obj
[0] = args
;
25843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25847 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25863 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25864 PyObject
*resultobj
= 0;
25865 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25869 PyObject
*swig_obj
[1] ;
25871 if (!args
) SWIG_fail
;
25872 swig_obj
[0] = args
;
25873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25874 if (!SWIG_IsOK(res1
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25877 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25893 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25894 PyObject
*resultobj
= 0;
25895 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 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_wxPrintDialogData
, 0 | 0 );
25904 if (!SWIG_IsOK(res1
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25907 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25923 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
= 0;
25925 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char * kwnames
[] = {
25934 (char *) "self",(char *) "v", NULL
25937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25942 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25944 if (!SWIG_IsOK(ecode2
)) {
25945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25947 arg2
= static_cast< int >(val2
);
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->SetFromPage(arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_Py_Void();
25961 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
= 0;
25963 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 char * kwnames
[] = {
25972 (char *) "self",(char *) "v", NULL
25975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25977 if (!SWIG_IsOK(res1
)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25980 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25982 if (!SWIG_IsOK(ecode2
)) {
25983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25985 arg2
= static_cast< int >(val2
);
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->SetToPage(arg2
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_Py_Void();
25999 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
= 0;
26001 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 char * kwnames
[] = {
26010 (char *) "self",(char *) "v", NULL
26013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26015 if (!SWIG_IsOK(res1
)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26018 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26020 if (!SWIG_IsOK(ecode2
)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26023 arg2
= static_cast< int >(val2
);
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 (arg1
)->SetMinPage(arg2
);
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= SWIG_Py_Void();
26037 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
= 0;
26039 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 char * kwnames
[] = {
26048 (char *) "self",(char *) "v", NULL
26051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26053 if (!SWIG_IsOK(res1
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26056 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26058 if (!SWIG_IsOK(ecode2
)) {
26059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26061 arg2
= static_cast< int >(val2
);
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 (arg1
)->SetMaxPage(arg2
);
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= SWIG_Py_Void();
26075 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= 0;
26077 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char * kwnames
[] = {
26086 (char *) "self",(char *) "v", NULL
26089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26094 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26096 if (!SWIG_IsOK(ecode2
)) {
26097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26099 arg2
= static_cast< int >(val2
);
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 (arg1
)->SetNoCopies(arg2
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= SWIG_Py_Void();
26113 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
= 0;
26115 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char * kwnames
[] = {
26124 (char *) "self",(char *) "flag", NULL
26127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26129 if (!SWIG_IsOK(res1
)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26132 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26133 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26134 if (!SWIG_IsOK(ecode2
)) {
26135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26137 arg2
= static_cast< bool >(val2
);
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 (arg1
)->SetAllPages(arg2
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_Py_Void();
26151 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
= 0;
26153 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char * kwnames
[] = {
26162 (char *) "self",(char *) "flag", NULL
26165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26170 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26171 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26172 if (!SWIG_IsOK(ecode2
)) {
26173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26175 arg2
= static_cast< bool >(val2
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->SetSelection(arg2
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_Py_Void();
26189 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
= 0;
26191 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 char * kwnames
[] = {
26200 (char *) "self",(char *) "flag", NULL
26203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26205 if (!SWIG_IsOK(res1
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26208 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26209 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26210 if (!SWIG_IsOK(ecode2
)) {
26211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26213 arg2
= static_cast< bool >(val2
);
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 (arg1
)->SetCollate(arg2
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_Py_Void();
26227 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
= 0;
26229 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 char * kwnames
[] = {
26238 (char *) "self",(char *) "flag", NULL
26241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26246 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26247 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26248 if (!SWIG_IsOK(ecode2
)) {
26249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26251 arg2
= static_cast< bool >(val2
);
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 (arg1
)->SetPrintToFile(arg2
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_Py_Void();
26265 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
= 0;
26267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 PyObject
* obj1
= 0 ;
26275 char * kwnames
[] = {
26276 (char *) "self",(char *) "flag", NULL
26279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26284 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26285 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26286 if (!SWIG_IsOK(ecode2
)) {
26287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26289 arg2
= static_cast< bool >(val2
);
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 (arg1
)->EnablePrintToFile(arg2
);
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= SWIG_Py_Void();
26303 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
= 0;
26305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 char * kwnames
[] = {
26314 (char *) "self",(char *) "flag", NULL
26317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26319 if (!SWIG_IsOK(res1
)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26322 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26323 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26324 if (!SWIG_IsOK(ecode2
)) {
26325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26327 arg2
= static_cast< bool >(val2
);
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->EnableSelection(arg2
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26334 resultobj
= SWIG_Py_Void();
26341 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
= 0;
26343 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char * kwnames
[] = {
26352 (char *) "self",(char *) "flag", NULL
26355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26357 if (!SWIG_IsOK(res1
)) {
26358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26360 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26361 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26362 if (!SWIG_IsOK(ecode2
)) {
26363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26365 arg2
= static_cast< bool >(val2
);
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 (arg1
)->EnablePageNumbers(arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= SWIG_Py_Void();
26379 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26380 PyObject
*resultobj
= 0;
26381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26387 PyObject
* obj0
= 0 ;
26388 PyObject
* obj1
= 0 ;
26389 char * kwnames
[] = {
26390 (char *) "self",(char *) "flag", NULL
26393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26398 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26399 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26400 if (!SWIG_IsOK(ecode2
)) {
26401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26403 arg2
= static_cast< bool >(val2
);
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->EnableHelp(arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 PyObject
*resultobj
= 0;
26419 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26423 PyObject
*swig_obj
[1] ;
26425 if (!args
) SWIG_fail
;
26426 swig_obj
[0] = args
;
26427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26431 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26447 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26448 PyObject
*resultobj
= 0;
26449 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26453 PyObject
*swig_obj
[1] ;
26455 if (!args
) SWIG_fail
;
26456 swig_obj
[0] = args
;
26457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26461 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26477 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26478 PyObject
*resultobj
= 0;
26479 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26483 PyObject
*swig_obj
[1] ;
26485 if (!args
) SWIG_fail
;
26486 swig_obj
[0] = args
;
26487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26488 if (!SWIG_IsOK(res1
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26491 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26507 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26508 PyObject
*resultobj
= 0;
26509 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26513 PyObject
*swig_obj
[1] ;
26515 if (!args
) SWIG_fail
;
26516 swig_obj
[0] = args
;
26517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26518 if (!SWIG_IsOK(res1
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26521 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26537 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26538 PyObject
*resultobj
= 0;
26539 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26543 PyObject
*swig_obj
[1] ;
26545 if (!args
) SWIG_fail
;
26546 swig_obj
[0] = args
;
26547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26551 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26567 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26568 PyObject
*resultobj
= 0;
26569 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26570 wxPrintData
*result
= 0 ;
26573 PyObject
*swig_obj
[1] ;
26575 if (!args
) SWIG_fail
;
26576 swig_obj
[0] = args
;
26577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26581 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26586 result
= (wxPrintData
*) &_result_ref
;
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26598 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26601 wxPrintData
*arg2
= 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "printData", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26617 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26619 if (!SWIG_IsOK(res2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26625 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_Py_Void();
26639 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26642 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26643 return SWIG_Py_Void();
26646 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 return SWIG_Python_InitShadowInstance(args
);
26650 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
= 0;
26652 wxWindow
*arg1
= (wxWindow
*) 0 ;
26653 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26654 wxPrintDialog
*result
= 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 char * kwnames
[] = {
26662 (char *) "parent",(char *) "data", NULL
26665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26667 if (!SWIG_IsOK(res1
)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26673 if (!SWIG_IsOK(res2
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26676 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26679 if (!wxPyCheckForApp()) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26692 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26693 PyObject
*resultobj
= 0;
26694 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26698 PyObject
*swig_obj
[1] ;
26700 if (!args
) SWIG_fail
;
26701 swig_obj
[0] = args
;
26702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26703 if (!SWIG_IsOK(res1
)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26706 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (int)(arg1
)->ShowModal();
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_From_int(static_cast< int >(result
));
26720 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26721 PyObject
*resultobj
= 0;
26722 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26723 wxPrintDialogData
*result
= 0 ;
26726 PyObject
*swig_obj
[1] ;
26728 if (!args
) SWIG_fail
;
26729 swig_obj
[0] = args
;
26730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26731 if (!SWIG_IsOK(res1
)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26734 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26739 result
= (wxPrintDialogData
*) &_result_ref
;
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26751 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26752 PyObject
*resultobj
= 0;
26753 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26754 wxPrintData
*result
= 0 ;
26757 PyObject
*swig_obj
[1] ;
26759 if (!args
) SWIG_fail
;
26760 swig_obj
[0] = args
;
26761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26762 if (!SWIG_IsOK(res1
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26765 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26770 result
= (wxPrintData
*) &_result_ref
;
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26782 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26783 PyObject
*resultobj
= 0;
26784 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26788 PyObject
*swig_obj
[1] ;
26790 if (!args
) SWIG_fail
;
26791 swig_obj
[0] = args
;
26792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26796 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= (wxDC
*)(arg1
)->GetPrintDC();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26804 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26812 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26816 return SWIG_Py_Void();
26819 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 return SWIG_Python_InitShadowInstance(args
);
26823 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26826 wxPrinter
*result
= 0 ;
26829 PyObject
* obj0
= 0 ;
26830 char * kwnames
[] = {
26831 (char *) "data", NULL
26834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26840 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26843 if (!wxPyCheckForApp()) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (wxPrinter
*)new wxPrinter(arg1
);
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26856 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26857 PyObject
*resultobj
= 0;
26858 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26861 PyObject
*swig_obj
[1] ;
26863 if (!args
) SWIG_fail
;
26864 swig_obj
[0] = args
;
26865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26869 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= SWIG_Py_Void();
26884 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
= 0;
26886 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26887 wxWindow
*arg2
= (wxWindow
*) 0 ;
26888 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26889 wxWindow
*result
= 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 PyObject
* obj2
= 0 ;
26899 char * kwnames
[] = {
26900 (char *) "self",(char *) "parent",(char *) "printout", NULL
26903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26908 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26910 if (!SWIG_IsOK(res2
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26914 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26915 if (!SWIG_IsOK(res3
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26918 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26922 wxPyEndAllowThreads(__tstate
);
26923 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= wxPyMake_wxObject(result
, 0);
26934 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26937 wxWindow
*arg2
= (wxWindow
*) 0 ;
26938 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26939 wxString
*arg4
= 0 ;
26946 bool temp4
= false ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 PyObject
* obj2
= 0 ;
26950 PyObject
* obj3
= 0 ;
26951 char * kwnames
[] = {
26952 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26957 if (!SWIG_IsOK(res1
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26960 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26962 if (!SWIG_IsOK(res2
)) {
26963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26966 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26967 if (!SWIG_IsOK(res3
)) {
26968 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26970 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26972 arg4
= wxString_in_helper(obj3
);
26973 if (arg4
== NULL
) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26979 wxPyEndAllowThreads(__tstate
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_Py_Void();
26997 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
= 0;
26999 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27000 wxWindow
*arg2
= (wxWindow
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "parent", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27017 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27019 if (!SWIG_IsOK(res2
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (bool)(arg1
)->Setup(arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
= 0;
27040 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27041 wxWindow
*arg2
= (wxWindow
*) 0 ;
27042 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27043 bool arg4
= (bool) true ;
27053 PyObject
* obj0
= 0 ;
27054 PyObject
* obj1
= 0 ;
27055 PyObject
* obj2
= 0 ;
27056 PyObject
* obj3
= 0 ;
27057 char * kwnames
[] = {
27058 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27066 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27068 if (!SWIG_IsOK(res2
)) {
27069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27072 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27073 if (!SWIG_IsOK(res3
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27076 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27078 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27079 if (!SWIG_IsOK(ecode4
)) {
27080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27082 arg4
= static_cast< bool >(val4
);
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27099 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
= 0;
27101 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27102 wxWindow
*arg2
= (wxWindow
*) 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char * kwnames
[] = {
27111 (char *) "self",(char *) "parent", NULL
27114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27119 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27121 if (!SWIG_IsOK(res2
)) {
27122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27140 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27141 PyObject
*resultobj
= 0;
27142 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27143 wxPrintDialogData
*result
= 0 ;
27146 PyObject
*swig_obj
[1] ;
27148 if (!args
) SWIG_fail
;
27149 swig_obj
[0] = args
;
27150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27154 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27159 result
= (wxPrintDialogData
*) &_result_ref
;
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27171 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27172 PyObject
*resultobj
= 0;
27173 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27177 PyObject
*swig_obj
[1] ;
27179 if (!args
) SWIG_fail
;
27180 swig_obj
[0] = args
;
27181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27185 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)(arg1
)->GetAbort();
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27201 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27202 PyObject
*resultobj
= 0;
27203 wxPrinterError result
;
27205 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 result
= (wxPrinterError
)wxPrinter::GetLastError();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_From_int(static_cast< int >(result
));
27219 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27223 return SWIG_Py_Void();
27226 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 return SWIG_Python_InitShadowInstance(args
);
27230 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
= 0;
27232 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27233 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27234 wxPyPrintout
*result
= 0 ;
27235 bool temp1
= false ;
27236 PyObject
* obj0
= 0 ;
27237 char * kwnames
[] = {
27238 (char *) "title", NULL
27241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27244 arg1
= wxString_in_helper(obj0
);
27245 if (arg1
== NULL
) SWIG_fail
;
27250 if (!wxPyCheckForApp()) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27271 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27276 PyObject
*swig_obj
[1] ;
27278 if (!args
) SWIG_fail
;
27279 swig_obj
[0] = args
;
27280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27281 if (!SWIG_IsOK(res1
)) {
27282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27284 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= SWIG_Py_Void();
27299 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
= 0;
27301 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27302 PyObject
*arg2
= (PyObject
*) 0 ;
27303 PyObject
*arg3
= (PyObject
*) 0 ;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 PyObject
* obj2
= 0 ;
27309 char * kwnames
[] = {
27310 (char *) "self",(char *) "self",(char *) "_class", NULL
27313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27318 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_Py_Void();
27334 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27335 PyObject
*resultobj
= 0;
27336 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27340 PyObject
*swig_obj
[1] ;
27342 if (!args
) SWIG_fail
;
27343 swig_obj
[0] = args
;
27344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27348 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27368 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27369 PyObject
*resultobj
= 0;
27370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27374 PyObject
*swig_obj
[1] ;
27376 if (!args
) SWIG_fail
;
27377 swig_obj
[0] = args
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27382 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 result
= (wxDC
*)(arg1
)->GetDC();
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27398 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
= 0;
27400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27401 wxDC
*arg2
= (wxDC
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 PyObject
* obj1
= 0 ;
27408 char * kwnames
[] = {
27409 (char *) "self",(char *) "dc", NULL
27412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27417 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27419 if (!SWIG_IsOK(res2
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27422 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 (arg1
)->SetDC(arg2
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= SWIG_Py_Void();
27436 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
= 0;
27438 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 char * kwnames
[] = {
27451 (char *) "self",(char *) "w",(char *) "h", NULL
27454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27459 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27461 if (!SWIG_IsOK(ecode2
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27464 arg2
= static_cast< int >(val2
);
27465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27466 if (!SWIG_IsOK(ecode3
)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27469 arg3
= static_cast< int >(val3
);
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_Py_Void();
27483 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27486 int *arg2
= (int *) 0 ;
27487 int *arg3
= (int *) 0 ;
27491 int res2
= SWIG_TMPOBJ
;
27493 int res3
= SWIG_TMPOBJ
;
27494 PyObject
*swig_obj
[1] ;
27498 if (!args
) SWIG_fail
;
27499 swig_obj
[0] = args
;
27500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27504 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_Py_Void();
27512 if (SWIG_IsTmpObj(res2
)) {
27513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27515 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27518 if (SWIG_IsTmpObj(res3
)) {
27519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27521 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27530 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
= 0;
27532 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 PyObject
* obj2
= 0 ;
27544 char * kwnames
[] = {
27545 (char *) "self",(char *) "w",(char *) "h", NULL
27548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27553 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27555 if (!SWIG_IsOK(ecode2
)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27558 arg2
= static_cast< int >(val2
);
27559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27560 if (!SWIG_IsOK(ecode3
)) {
27561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27563 arg3
= static_cast< int >(val3
);
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_Py_Void();
27577 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27578 PyObject
*resultobj
= 0;
27579 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27580 int *arg2
= (int *) 0 ;
27581 int *arg3
= (int *) 0 ;
27585 int res2
= SWIG_TMPOBJ
;
27587 int res3
= SWIG_TMPOBJ
;
27588 PyObject
*swig_obj
[1] ;
27592 if (!args
) SWIG_fail
;
27593 swig_obj
[0] = args
;
27594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27598 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_Py_Void();
27606 if (SWIG_IsTmpObj(res2
)) {
27607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27609 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27612 if (SWIG_IsTmpObj(res3
)) {
27613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27615 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27624 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
= 0;
27626 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 PyObject
* obj2
= 0 ;
27638 char * kwnames
[] = {
27639 (char *) "self",(char *) "x",(char *) "y", NULL
27642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27644 if (!SWIG_IsOK(res1
)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27647 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27649 if (!SWIG_IsOK(ecode2
)) {
27650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27652 arg2
= static_cast< int >(val2
);
27653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27654 if (!SWIG_IsOK(ecode3
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27657 arg3
= static_cast< int >(val3
);
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 (arg1
)->SetPPIScreen(arg2
,arg3
);
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_Py_Void();
27671 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 PyObject
*resultobj
= 0;
27673 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27674 int *arg2
= (int *) 0 ;
27675 int *arg3
= (int *) 0 ;
27679 int res2
= SWIG_TMPOBJ
;
27681 int res3
= SWIG_TMPOBJ
;
27682 PyObject
*swig_obj
[1] ;
27686 if (!args
) SWIG_fail
;
27687 swig_obj
[0] = args
;
27688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27689 if (!SWIG_IsOK(res1
)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27692 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 (arg1
)->GetPPIScreen(arg2
,arg3
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= SWIG_Py_Void();
27700 if (SWIG_IsTmpObj(res2
)) {
27701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27703 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27706 if (SWIG_IsTmpObj(res3
)) {
27707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27709 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27718 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
= 0;
27720 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 PyObject
* obj2
= 0 ;
27732 char * kwnames
[] = {
27733 (char *) "self",(char *) "x",(char *) "y", NULL
27736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27741 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27743 if (!SWIG_IsOK(ecode2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27746 arg2
= static_cast< int >(val2
);
27747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27748 if (!SWIG_IsOK(ecode3
)) {
27749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27751 arg3
= static_cast< int >(val3
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= SWIG_Py_Void();
27765 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27766 PyObject
*resultobj
= 0;
27767 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27768 int *arg2
= (int *) 0 ;
27769 int *arg3
= (int *) 0 ;
27773 int res2
= SWIG_TMPOBJ
;
27775 int res3
= SWIG_TMPOBJ
;
27776 PyObject
*swig_obj
[1] ;
27780 if (!args
) SWIG_fail
;
27781 swig_obj
[0] = args
;
27782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27783 if (!SWIG_IsOK(res1
)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27786 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_Py_Void();
27794 if (SWIG_IsTmpObj(res2
)) {
27795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27797 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27800 if (SWIG_IsTmpObj(res3
)) {
27801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27803 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27812 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27813 PyObject
*resultobj
= 0;
27814 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27818 PyObject
*swig_obj
[1] ;
27820 if (!args
) SWIG_fail
;
27821 swig_obj
[0] = args
;
27822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27823 if (!SWIG_IsOK(res1
)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27826 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= (bool)(arg1
)->IsPreview();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27842 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
= 0;
27844 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char * kwnames
[] = {
27853 (char *) "self",(char *) "p", NULL
27856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27861 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27862 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27866 arg2
= static_cast< bool >(val2
);
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 (arg1
)->SetIsPreview(arg2
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_Py_Void();
27880 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
= 0;
27882 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 PyObject
* obj2
= 0 ;
27895 char * kwnames
[] = {
27896 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27904 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27906 if (!SWIG_IsOK(ecode2
)) {
27907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27909 arg2
= static_cast< int >(val2
);
27910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27911 if (!SWIG_IsOK(ecode3
)) {
27912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27914 arg3
= static_cast< int >(val3
);
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27930 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27931 PyObject
*resultobj
= 0;
27932 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27935 PyObject
*swig_obj
[1] ;
27937 if (!args
) SWIG_fail
;
27938 swig_obj
[0] = args
;
27939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27943 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->OnEndDocument();
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27957 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27958 PyObject
*resultobj
= 0;
27959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27962 PyObject
*swig_obj
[1] ;
27964 if (!args
) SWIG_fail
;
27965 swig_obj
[0] = args
;
27966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27967 if (!SWIG_IsOK(res1
)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27970 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->OnBeginPrinting();
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_Py_Void();
27984 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27985 PyObject
*resultobj
= 0;
27986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27989 PyObject
*swig_obj
[1] ;
27991 if (!args
) SWIG_fail
;
27992 swig_obj
[0] = args
;
27993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27997 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 (arg1
)->OnEndPrinting();
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_Py_Void();
28011 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28016 PyObject
*swig_obj
[1] ;
28018 if (!args
) SWIG_fail
;
28019 swig_obj
[0] = args
;
28020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28024 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 (arg1
)->OnPreparePrinting();
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_Py_Void();
28038 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
= 0;
28040 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 PyObject
* obj1
= 0 ;
28049 char * kwnames
[] = {
28050 (char *) "self",(char *) "page", NULL
28053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28055 if (!SWIG_IsOK(res1
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28058 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28060 if (!SWIG_IsOK(ecode2
)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28063 arg2
= static_cast< int >(val2
);
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= (bool)(arg1
)->HasPage(arg2
);
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28079 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28080 PyObject
*resultobj
= 0;
28081 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28082 int *arg2
= (int *) 0 ;
28083 int *arg3
= (int *) 0 ;
28084 int *arg4
= (int *) 0 ;
28085 int *arg5
= (int *) 0 ;
28089 int res2
= SWIG_TMPOBJ
;
28091 int res3
= SWIG_TMPOBJ
;
28093 int res4
= SWIG_TMPOBJ
;
28095 int res5
= SWIG_TMPOBJ
;
28096 PyObject
*swig_obj
[1] ;
28102 if (!args
) SWIG_fail
;
28103 swig_obj
[0] = args
;
28104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28108 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_Py_Void();
28116 if (SWIG_IsTmpObj(res2
)) {
28117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28119 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28122 if (SWIG_IsTmpObj(res3
)) {
28123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28125 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28128 if (SWIG_IsTmpObj(res4
)) {
28129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28131 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28134 if (SWIG_IsTmpObj(res5
)) {
28135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28137 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28146 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28149 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28150 return SWIG_Py_Void();
28153 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28154 return SWIG_Python_InitShadowInstance(args
);
28157 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
= 0;
28159 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28160 wxWindow
*arg2
= (wxWindow
*) 0 ;
28161 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28162 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28163 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28164 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28165 long arg5
= (long) 0 ;
28166 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28167 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28168 wxPreviewCanvas
*result
= 0 ;
28177 bool temp6
= false ;
28178 PyObject
* obj0
= 0 ;
28179 PyObject
* obj1
= 0 ;
28180 PyObject
* obj2
= 0 ;
28181 PyObject
* obj3
= 0 ;
28182 PyObject
* obj4
= 0 ;
28183 PyObject
* obj5
= 0 ;
28184 char * kwnames
[] = {
28185 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28193 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28195 if (!SWIG_IsOK(res2
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28212 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28213 if (!SWIG_IsOK(ecode5
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28216 arg5
= static_cast< long >(val5
);
28220 arg6
= wxString_in_helper(obj5
);
28221 if (arg6
== NULL
) SWIG_fail
;
28226 if (!wxPyCheckForApp()) SWIG_fail
;
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28247 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28251 return SWIG_Py_Void();
28254 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 return SWIG_Python_InitShadowInstance(args
);
28258 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
= 0;
28260 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28261 wxFrame
*arg2
= (wxFrame
*) 0 ;
28262 wxString
*arg3
= 0 ;
28263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28267 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28268 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28269 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28270 wxPreviewFrame
*result
= 0 ;
28274 bool temp3
= false ;
28279 bool temp7
= false ;
28280 PyObject
* obj0
= 0 ;
28281 PyObject
* obj1
= 0 ;
28282 PyObject
* obj2
= 0 ;
28283 PyObject
* obj3
= 0 ;
28284 PyObject
* obj4
= 0 ;
28285 PyObject
* obj5
= 0 ;
28286 PyObject
* obj6
= 0 ;
28287 char * kwnames
[] = {
28288 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28297 if (!SWIG_IsOK(res2
)) {
28298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28300 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28302 arg3
= wxString_in_helper(obj2
);
28303 if (arg3
== NULL
) SWIG_fail
;
28309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28315 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28319 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28320 if (!SWIG_IsOK(ecode6
)) {
28321 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28323 arg6
= static_cast< long >(val6
);
28327 arg7
= wxString_in_helper(obj6
);
28328 if (arg7
== NULL
) SWIG_fail
;
28333 if (!wxPyCheckForApp()) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28362 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28363 PyObject
*resultobj
= 0;
28364 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28367 PyObject
*swig_obj
[1] ;
28369 if (!args
) SWIG_fail
;
28370 swig_obj
[0] = args
;
28371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28372 if (!SWIG_IsOK(res1
)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28375 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->Initialize();
28379 wxPyEndAllowThreads(__tstate
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= SWIG_Py_Void();
28389 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28390 PyObject
*resultobj
= 0;
28391 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28402 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 (arg1
)->CreateControlBar();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_Py_Void();
28416 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28417 PyObject
*resultobj
= 0;
28418 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28421 PyObject
*swig_obj
[1] ;
28423 if (!args
) SWIG_fail
;
28424 swig_obj
[0] = args
;
28425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28426 if (!SWIG_IsOK(res1
)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28429 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 (arg1
)->CreateCanvas();
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_Py_Void();
28443 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28444 PyObject
*resultobj
= 0;
28445 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28446 wxPreviewControlBar
*result
= 0 ;
28449 PyObject
*swig_obj
[1] ;
28451 if (!args
) SWIG_fail
;
28452 swig_obj
[0] = args
;
28453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28454 if (!SWIG_IsOK(res1
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28457 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28471 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28474 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28475 return SWIG_Py_Void();
28478 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28479 return SWIG_Python_InitShadowInstance(args
);
28482 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
= 0;
28484 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28486 wxWindow
*arg3
= (wxWindow
*) 0 ;
28487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28491 long arg6
= (long) wxTAB_TRAVERSAL
;
28492 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28493 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28494 wxPreviewControlBar
*result
= 0 ;
28505 bool temp7
= false ;
28506 PyObject
* obj0
= 0 ;
28507 PyObject
* obj1
= 0 ;
28508 PyObject
* obj2
= 0 ;
28509 PyObject
* obj3
= 0 ;
28510 PyObject
* obj4
= 0 ;
28511 PyObject
* obj5
= 0 ;
28512 PyObject
* obj6
= 0 ;
28513 char * kwnames
[] = {
28514 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28522 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28523 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28524 if (!SWIG_IsOK(ecode2
)) {
28525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28527 arg2
= static_cast< long >(val2
);
28528 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28529 if (!SWIG_IsOK(res3
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28532 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28546 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28547 if (!SWIG_IsOK(ecode6
)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28550 arg6
= static_cast< long >(val6
);
28554 arg7
= wxString_in_helper(obj6
);
28555 if (arg7
== NULL
) SWIG_fail
;
28560 if (!wxPyCheckForApp()) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28581 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28582 PyObject
*resultobj
= 0;
28583 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28587 PyObject
*swig_obj
[1] ;
28589 if (!args
) SWIG_fail
;
28590 swig_obj
[0] = args
;
28591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28592 if (!SWIG_IsOK(res1
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28595 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 result
= (int)(arg1
)->GetZoomControl();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_From_int(static_cast< int >(result
));
28609 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 PyObject
* obj1
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "self",(char *) "zoom", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28628 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28630 if (!SWIG_IsOK(ecode2
)) {
28631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28633 arg2
= static_cast< int >(val2
);
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 (arg1
)->SetZoomControl(arg2
);
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= SWIG_Py_Void();
28647 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28648 PyObject
*resultobj
= 0;
28649 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28650 wxPrintPreview
*result
= 0 ;
28653 PyObject
*swig_obj
[1] ;
28655 if (!args
) SWIG_fail
;
28656 swig_obj
[0] = args
;
28657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28661 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28675 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 PyObject
*resultobj
= 0;
28677 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28680 PyObject
*swig_obj
[1] ;
28682 if (!args
) SWIG_fail
;
28683 swig_obj
[0] = args
;
28684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28688 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_Py_Void();
28702 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28703 PyObject
*resultobj
= 0;
28704 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28707 PyObject
*swig_obj
[1] ;
28709 if (!args
) SWIG_fail
;
28710 swig_obj
[0] = args
;
28711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28712 if (!SWIG_IsOK(res1
)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28715 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 (arg1
)->OnPrevious();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= SWIG_Py_Void();
28729 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28730 PyObject
*resultobj
= 0;
28731 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28734 PyObject
*swig_obj
[1] ;
28736 if (!args
) SWIG_fail
;
28737 swig_obj
[0] = args
;
28738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28739 if (!SWIG_IsOK(res1
)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28742 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 resultobj
= SWIG_Py_Void();
28756 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28757 PyObject
*resultobj
= 0;
28758 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28761 PyObject
*swig_obj
[1] ;
28763 if (!args
) SWIG_fail
;
28764 swig_obj
[0] = args
;
28765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28766 if (!SWIG_IsOK(res1
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28769 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 resultobj
= SWIG_Py_Void();
28783 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28784 PyObject
*resultobj
= 0;
28785 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28788 PyObject
*swig_obj
[1] ;
28790 if (!args
) SWIG_fail
;
28791 swig_obj
[0] = args
;
28792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28793 if (!SWIG_IsOK(res1
)) {
28794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28796 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_Py_Void();
28810 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28813 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28814 return SWIG_Py_Void();
28817 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 return SWIG_Python_InitShadowInstance(args
);
28821 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28822 PyObject
*resultobj
= 0;
28823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28824 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28825 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28826 wxPrintPreview
*result
= 0 ;
28832 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28833 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28837 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28838 if (!SWIG_IsOK(res2
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28842 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28843 if (!SWIG_IsOK(res3
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28846 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28849 if (!wxPyCheckForApp()) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28862 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28863 PyObject
*resultobj
= 0;
28864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28865 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28866 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28867 wxPrintPreview
*result
= 0 ;
28873 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28874 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28878 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28879 if (!SWIG_IsOK(res2
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28882 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28883 if (!SWIG_IsOK(res3
)) {
28884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28886 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28888 if (!wxPyCheckForApp()) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28901 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28905 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28907 if ((argc
>= 2) && (argc
<= 3)) {
28912 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28913 _v
= SWIG_CheckState(res
);
28915 if (!_v
) goto check_1
;
28917 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28922 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28926 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28931 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28932 PyObject
*resultobj
= 0;
28933 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28936 PyObject
*swig_obj
[1] ;
28938 if (!args
) SWIG_fail
;
28939 swig_obj
[0] = args
;
28940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28944 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
= 0;
28961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 char * kwnames
[] = {
28971 (char *) "self",(char *) "pageNum", NULL
28974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28976 if (!SWIG_IsOK(res1
)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28979 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28981 if (!SWIG_IsOK(ecode2
)) {
28982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28984 arg2
= static_cast< int >(val2
);
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29000 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29001 PyObject
*resultobj
= 0;
29002 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29006 PyObject
*swig_obj
[1] ;
29008 if (!args
) SWIG_fail
;
29009 swig_obj
[0] = args
;
29010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29011 if (!SWIG_IsOK(res1
)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29014 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (int)(arg1
)->GetCurrentPage();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_From_int(static_cast< int >(result
));
29028 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
= 0;
29030 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29031 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 char * kwnames
[] = {
29038 (char *) "self",(char *) "printout", NULL
29041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29043 if (!SWIG_IsOK(res1
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29046 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29047 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29048 if (!SWIG_IsOK(res2
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 (arg1
)->SetPrintout(arg2
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_Py_Void();
29064 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29065 PyObject
*resultobj
= 0;
29066 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29067 wxPyPrintout
*result
= 0 ;
29070 PyObject
*swig_obj
[1] ;
29072 if (!args
) SWIG_fail
;
29073 swig_obj
[0] = args
;
29074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29075 if (!SWIG_IsOK(res1
)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29078 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= wxPyMake_wxObject(result
, 0);
29094 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29095 PyObject
*resultobj
= 0;
29096 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29097 wxPyPrintout
*result
= 0 ;
29100 PyObject
*swig_obj
[1] ;
29102 if (!args
) SWIG_fail
;
29103 swig_obj
[0] = args
;
29104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29105 if (!SWIG_IsOK(res1
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29108 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= wxPyMake_wxObject(result
, 0);
29124 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
= 0;
29126 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29127 wxFrame
*arg2
= (wxFrame
*) 0 ;
29132 PyObject
* obj0
= 0 ;
29133 PyObject
* obj1
= 0 ;
29134 char * kwnames
[] = {
29135 (char *) "self",(char *) "frame", NULL
29138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29140 if (!SWIG_IsOK(res1
)) {
29141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29143 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29145 if (!SWIG_IsOK(res2
)) {
29146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29148 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29151 (arg1
)->SetFrame(arg2
);
29152 wxPyEndAllowThreads(__tstate
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29155 resultobj
= SWIG_Py_Void();
29162 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
= 0;
29164 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29165 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 char * kwnames
[] = {
29173 (char *) "self",(char *) "canvas", NULL
29176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29181 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29183 if (!SWIG_IsOK(res2
)) {
29184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29186 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 (arg1
)->SetCanvas(arg2
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= SWIG_Py_Void();
29200 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29201 PyObject
*resultobj
= 0;
29202 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29203 wxFrame
*result
= 0 ;
29206 PyObject
*swig_obj
[1] ;
29208 if (!args
) SWIG_fail
;
29209 swig_obj
[0] = args
;
29210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29214 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (wxFrame
*)(arg1
)->GetFrame();
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 resultobj
= wxPyMake_wxObject(result
, 0);
29230 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29231 PyObject
*resultobj
= 0;
29232 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29233 wxPreviewCanvas
*result
= 0 ;
29236 PyObject
*swig_obj
[1] ;
29238 if (!args
) SWIG_fail
;
29239 swig_obj
[0] = args
;
29240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29244 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29247 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29258 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
= 0;
29260 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29261 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 PyObject
* obj2
= 0 ;
29273 char * kwnames
[] = {
29274 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29282 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29284 if (!SWIG_IsOK(res2
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29287 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29288 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29289 if (!SWIG_IsOK(res3
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29295 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29311 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
= 0;
29313 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29314 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 PyObject
* obj2
= 0 ;
29326 char * kwnames
[] = {
29327 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29335 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29337 if (!SWIG_IsOK(res2
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29340 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29341 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29342 if (!SWIG_IsOK(res3
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29348 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29364 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
= 0;
29366 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29373 PyObject
* obj0
= 0 ;
29374 PyObject
* obj1
= 0 ;
29375 char * kwnames
[] = {
29376 (char *) "self",(char *) "pageNum", NULL
29379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29384 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29386 if (!SWIG_IsOK(ecode2
)) {
29387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29389 arg2
= static_cast< int >(val2
);
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (bool)(arg1
)->RenderPage(arg2
);
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29405 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
= 0;
29407 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29408 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 char * kwnames
[] = {
29416 (char *) "self",(char *) "canvas", NULL
29419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29421 if (!SWIG_IsOK(res1
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29424 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29426 if (!SWIG_IsOK(res2
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29429 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 (arg1
)->AdjustScrollbars(arg2
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29444 PyObject
*resultobj
= 0;
29445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29446 wxPrintDialogData
*result
= 0 ;
29449 PyObject
*swig_obj
[1] ;
29451 if (!args
) SWIG_fail
;
29452 swig_obj
[0] = args
;
29453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29457 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29462 result
= (wxPrintDialogData
*) &_result_ref
;
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29474 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
= 0;
29476 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29482 PyObject
* obj0
= 0 ;
29483 PyObject
* obj1
= 0 ;
29484 char * kwnames
[] = {
29485 (char *) "self",(char *) "percent", NULL
29488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29490 if (!SWIG_IsOK(res1
)) {
29491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29493 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29495 if (!SWIG_IsOK(ecode2
)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29498 arg2
= static_cast< int >(val2
);
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 (arg1
)->SetZoom(arg2
);
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= SWIG_Py_Void();
29512 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29513 PyObject
*resultobj
= 0;
29514 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29518 PyObject
*swig_obj
[1] ;
29520 if (!args
) SWIG_fail
;
29521 swig_obj
[0] = args
;
29522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29523 if (!SWIG_IsOK(res1
)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29526 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (int)(arg1
)->GetZoom();
29530 wxPyEndAllowThreads(__tstate
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= SWIG_From_int(static_cast< int >(result
));
29540 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29541 PyObject
*resultobj
= 0;
29542 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29546 PyObject
*swig_obj
[1] ;
29548 if (!args
) SWIG_fail
;
29549 swig_obj
[0] = args
;
29550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29554 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= (int)(arg1
)->GetMaxPage();
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= SWIG_From_int(static_cast< int >(result
));
29568 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29569 PyObject
*resultobj
= 0;
29570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29574 PyObject
*swig_obj
[1] ;
29576 if (!args
) SWIG_fail
;
29577 swig_obj
[0] = args
;
29578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29582 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 result
= (int)(arg1
)->GetMinPage();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_From_int(static_cast< int >(result
));
29596 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29597 PyObject
*resultobj
= 0;
29598 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29602 PyObject
*swig_obj
[1] ;
29604 if (!args
) SWIG_fail
;
29605 swig_obj
[0] = args
;
29606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29607 if (!SWIG_IsOK(res1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29610 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29613 result
= (bool)(arg1
)->Ok();
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29626 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= 0;
29628 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char * kwnames
[] = {
29637 (char *) "self",(char *) "ok", NULL
29640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29645 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29646 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29647 if (!SWIG_IsOK(ecode2
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29650 arg2
= static_cast< bool >(val2
);
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 (arg1
)->SetOk(arg2
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_Py_Void();
29664 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
= 0;
29666 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char * kwnames
[] = {
29676 (char *) "self",(char *) "interactive", NULL
29679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29684 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29686 if (!SWIG_IsOK(ecode2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29689 arg2
= static_cast< bool >(val2
);
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 result
= (bool)(arg1
)->Print(arg2
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29705 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29706 PyObject
*resultobj
= 0;
29707 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29710 PyObject
*swig_obj
[1] ;
29712 if (!args
) SWIG_fail
;
29713 swig_obj
[0] = args
;
29714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29715 if (!SWIG_IsOK(res1
)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29718 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 (arg1
)->DetermineScaling();
29722 wxPyEndAllowThreads(__tstate
);
29723 if (PyErr_Occurred()) SWIG_fail
;
29725 resultobj
= SWIG_Py_Void();
29732 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29736 return SWIG_Py_Void();
29739 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 return SWIG_Python_InitShadowInstance(args
);
29743 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29744 PyObject
*resultobj
= 0;
29745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29746 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29747 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29748 wxPyPrintPreview
*result
= 0 ;
29754 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29755 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29759 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29760 if (!SWIG_IsOK(res2
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29764 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29765 if (!SWIG_IsOK(res3
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29768 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29771 if (!wxPyCheckForApp()) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29784 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29785 PyObject
*resultobj
= 0;
29786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29787 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29788 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29789 wxPyPrintPreview
*result
= 0 ;
29795 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29800 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29801 if (!SWIG_IsOK(res2
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29804 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29805 if (!SWIG_IsOK(res3
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29808 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29810 if (!wxPyCheckForApp()) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29823 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29827 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29829 if ((argc
>= 2) && (argc
<= 3)) {
29834 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29835 _v
= SWIG_CheckState(res
);
29837 if (!_v
) goto check_1
;
29839 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29844 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29848 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29853 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
= 0;
29855 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29856 PyObject
*arg2
= (PyObject
*) 0 ;
29857 PyObject
*arg3
= (PyObject
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "self",(char *) "_class", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29872 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 resultobj
= SWIG_Py_Void();
29888 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29891 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29892 return SWIG_Py_Void();
29895 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29896 return SWIG_Python_InitShadowInstance(args
);
29899 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
= 0;
29901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29902 wxFrame
*arg2
= (wxFrame
*) 0 ;
29903 wxString
*arg3
= 0 ;
29904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29908 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29909 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29910 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29911 wxPyPreviewFrame
*result
= 0 ;
29916 bool temp3
= false ;
29921 bool temp7
= false ;
29922 PyObject
* obj0
= 0 ;
29923 PyObject
* obj1
= 0 ;
29924 PyObject
* obj2
= 0 ;
29925 PyObject
* obj3
= 0 ;
29926 PyObject
* obj4
= 0 ;
29927 PyObject
* obj5
= 0 ;
29928 PyObject
* obj6
= 0 ;
29929 char * kwnames
[] = {
29930 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29938 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29940 if (!SWIG_IsOK(res2
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29943 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29945 arg3
= wxString_in_helper(obj2
);
29946 if (arg3
== NULL
) SWIG_fail
;
29952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29962 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29963 if (!SWIG_IsOK(ecode6
)) {
29964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29966 arg6
= static_cast< long >(val6
);
29970 arg7
= wxString_in_helper(obj6
);
29971 if (arg7
== NULL
) SWIG_fail
;
29976 if (!wxPyCheckForApp()) SWIG_fail
;
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30005 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
= 0;
30007 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30008 PyObject
*arg2
= (PyObject
*) 0 ;
30009 PyObject
*arg3
= (PyObject
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 PyObject
* obj2
= 0 ;
30015 char * kwnames
[] = {
30016 (char *) "self",(char *) "self",(char *) "_class", NULL
30019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30021 if (!SWIG_IsOK(res1
)) {
30022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30024 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= SWIG_Py_Void();
30040 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
= 0;
30042 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30043 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char * kwnames
[] = {
30051 (char *) "self",(char *) "canvas", NULL
30054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30059 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30061 if (!SWIG_IsOK(res2
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30064 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 (arg1
)->SetPreviewCanvas(arg2
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= SWIG_Py_Void();
30078 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30079 PyObject
*resultobj
= 0;
30080 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30081 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char * kwnames
[] = {
30089 (char *) "self",(char *) "bar", NULL
30092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30097 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30099 if (!SWIG_IsOK(res2
)) {
30100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30102 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 (arg1
)->SetControlBar(arg2
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_Py_Void();
30116 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30117 PyObject
*resultobj
= 0;
30118 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30121 PyObject
*swig_obj
[1] ;
30123 if (!args
) SWIG_fail
;
30124 swig_obj
[0] = args
;
30125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30129 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 (arg1
)->Initialize();
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_Py_Void();
30143 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30144 PyObject
*resultobj
= 0;
30145 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30148 PyObject
*swig_obj
[1] ;
30150 if (!args
) SWIG_fail
;
30151 swig_obj
[0] = args
;
30152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30156 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 (arg1
)->CreateCanvas();
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 resultobj
= SWIG_Py_Void();
30170 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30171 PyObject
*resultobj
= 0;
30172 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30175 PyObject
*swig_obj
[1] ;
30177 if (!args
) SWIG_fail
;
30178 swig_obj
[0] = args
;
30179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30180 if (!SWIG_IsOK(res1
)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30183 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 (arg1
)->CreateControlBar();
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_Py_Void();
30197 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30200 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30201 return SWIG_Py_Void();
30204 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30205 return SWIG_Python_InitShadowInstance(args
);
30208 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30212 wxWindow
*arg3
= (wxWindow
*) 0 ;
30213 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30214 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30215 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30216 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30217 long arg6
= (long) 0 ;
30218 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30219 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30220 wxPyPreviewControlBar
*result
= 0 ;
30231 bool temp7
= false ;
30232 PyObject
* obj0
= 0 ;
30233 PyObject
* obj1
= 0 ;
30234 PyObject
* obj2
= 0 ;
30235 PyObject
* obj3
= 0 ;
30236 PyObject
* obj4
= 0 ;
30237 PyObject
* obj5
= 0 ;
30238 PyObject
* obj6
= 0 ;
30239 char * kwnames
[] = {
30240 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30245 if (!SWIG_IsOK(res1
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30248 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30249 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30250 if (!SWIG_IsOK(ecode2
)) {
30251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30253 arg2
= static_cast< long >(val2
);
30254 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30255 if (!SWIG_IsOK(res3
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30258 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30272 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30273 if (!SWIG_IsOK(ecode6
)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30276 arg6
= static_cast< long >(val6
);
30280 arg7
= wxString_in_helper(obj6
);
30281 if (arg7
== NULL
) SWIG_fail
;
30286 if (!wxPyCheckForApp()) SWIG_fail
;
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30307 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
= 0;
30309 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30310 PyObject
*arg2
= (PyObject
*) 0 ;
30311 PyObject
*arg3
= (PyObject
*) 0 ;
30314 PyObject
* obj0
= 0 ;
30315 PyObject
* obj1
= 0 ;
30316 PyObject
* obj2
= 0 ;
30317 char * kwnames
[] = {
30318 (char *) "self",(char *) "self",(char *) "_class", NULL
30321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30323 if (!SWIG_IsOK(res1
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30326 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30335 resultobj
= SWIG_Py_Void();
30342 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
= 0;
30344 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30345 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 char * kwnames
[] = {
30353 (char *) "self",(char *) "preview", NULL
30356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30358 if (!SWIG_IsOK(res1
)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30361 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30363 if (!SWIG_IsOK(res2
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30366 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 (arg1
)->SetPrintPreview(arg2
);
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_Py_Void();
30380 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30381 PyObject
*resultobj
= 0;
30382 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30385 PyObject
*swig_obj
[1] ;
30387 if (!args
) SWIG_fail
;
30388 swig_obj
[0] = args
;
30389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30393 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 (arg1
)->CreateButtons();
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_Py_Void();
30407 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
= 0;
30409 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30415 PyObject
* obj0
= 0 ;
30416 PyObject
* obj1
= 0 ;
30417 char * kwnames
[] = {
30418 (char *) "self",(char *) "zoom", NULL
30421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30423 if (!SWIG_IsOK(res1
)) {
30424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30426 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30428 if (!SWIG_IsOK(ecode2
)) {
30429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30431 arg2
= static_cast< int >(val2
);
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 (arg1
)->SetZoomControl(arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= SWIG_Py_Void();
30445 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30449 return SWIG_Py_Void();
30452 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30453 return SWIG_Python_InitShadowInstance(args
);
30456 static PyMethodDef SwigMethods
[] = {
30457 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30459 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30461 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30463 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30464 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30466 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30467 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30471 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30473 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30475 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30477 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30478 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30479 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30480 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30481 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30484 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30487 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30488 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30490 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30492 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30493 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30494 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30498 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30500 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30502 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30503 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30505 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30507 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30509 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30511 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30512 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30513 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30516 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30517 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30521 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30523 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30525 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30530 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30531 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30533 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30536 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30538 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30540 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30544 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30545 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30548 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30549 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30551 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30553 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30554 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30557 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30558 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30559 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30561 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30562 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30563 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30564 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30565 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30567 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30570 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30579 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30580 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30582 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30583 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30585 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30587 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30588 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30590 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30596 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30597 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30600 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30601 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30603 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30605 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30607 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30609 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30611 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30613 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30614 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30617 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30618 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30619 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30620 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30621 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30622 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30624 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30632 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30634 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30637 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30638 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30641 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30642 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30644 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30645 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30646 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30649 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30651 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30653 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30654 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30655 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30658 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30660 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30662 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30664 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30666 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30667 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30668 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30671 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30673 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30674 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30675 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30677 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30679 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30680 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30684 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30685 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30686 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30687 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30691 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30692 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30694 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30697 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30698 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30700 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30703 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30704 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30705 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30708 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30709 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30710 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30712 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30721 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30722 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30723 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30724 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30726 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30727 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30730 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30731 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30733 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30736 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30737 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30738 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30741 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30742 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30744 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30745 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30747 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30752 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30753 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30759 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30760 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30762 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30766 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30767 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30768 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30769 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30770 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30772 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30773 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30774 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30776 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30778 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30779 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30781 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30782 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30783 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30784 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30785 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30786 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30791 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30792 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30794 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30795 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30796 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30799 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30800 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30801 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30804 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30805 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30814 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30815 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30816 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30817 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30818 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30819 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30820 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30821 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30822 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30823 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30824 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30827 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30828 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30829 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30831 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30832 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30834 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30835 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30837 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30839 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30840 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30842 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30843 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30844 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30845 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30847 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30848 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30849 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30850 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30851 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30852 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30859 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30860 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30862 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30863 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30864 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30867 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30868 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30871 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30872 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30873 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30875 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30876 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30877 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30878 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30882 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30883 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30885 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30886 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30887 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30888 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30892 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30893 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30895 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30897 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30899 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30900 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30902 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30904 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30905 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30906 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30907 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30908 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30909 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30910 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30912 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30913 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30915 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30917 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30918 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30919 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30921 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30923 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30924 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30926 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30934 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30935 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30936 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30937 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30938 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30939 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30940 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30941 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30942 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30944 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30952 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30953 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30954 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30955 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30956 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30957 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30958 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30959 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30960 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30962 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30970 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30971 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30972 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30973 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30974 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30975 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30976 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30977 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30978 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30979 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30980 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30981 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30982 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30983 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30984 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30985 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30986 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30987 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30988 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30989 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30990 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30991 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30992 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31004 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31006 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31010 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31011 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31017 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31018 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31019 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31020 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31021 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31022 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31023 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31024 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31025 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31026 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31027 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31028 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31029 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31030 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31031 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31041 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31042 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31043 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31044 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31046 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31047 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31048 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31049 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31050 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31051 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31052 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31053 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31054 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31055 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31056 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31057 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31058 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31059 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31060 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31061 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31075 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31076 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31077 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31078 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31079 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31080 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31082 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31083 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31085 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31086 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31087 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31088 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31089 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31090 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31092 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31098 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31099 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31100 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31101 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31102 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31104 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31106 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31107 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31110 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31112 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31114 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31116 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31117 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31120 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31121 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31122 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31123 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31125 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31126 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31127 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31129 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31130 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31132 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31133 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31134 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31135 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31136 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31137 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31139 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31141 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31142 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31143 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31144 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31145 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31146 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31147 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31148 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31149 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31150 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31152 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31154 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31155 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31158 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31159 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31164 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31166 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31167 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31168 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31169 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31172 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31173 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31174 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31175 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31177 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31178 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31183 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31184 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31185 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31186 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31187 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31191 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31194 { NULL
, NULL
, 0, NULL
}
31198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31200 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31201 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31203 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31206 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31207 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31209 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31210 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31212 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31213 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31215 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31216 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31218 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31219 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31221 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31222 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31224 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31225 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31227 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31230 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31233 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31234 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31236 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31239 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31240 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31242 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31243 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31245 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31248 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31249 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31251 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31252 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31254 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31255 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31257 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31258 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31260 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31261 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31263 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31264 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31266 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31269 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31270 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31272 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31273 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31275 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31278 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31279 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31281 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31282 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31284 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31285 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31287 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31288 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31290 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31291 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31293 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31294 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31296 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31299 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31302 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31303 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31305 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31306 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31308 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31309 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31311 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31314 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31315 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31317 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31318 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31320 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31321 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31323 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31324 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31326 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31327 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31329 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31330 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31332 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31333 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31335 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31338 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31341 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31344 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31345 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31347 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31348 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31350 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31351 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31353 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31354 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31356 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31359 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31362 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31365 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31368 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31371 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31374 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31377 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31380 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31381 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31383 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31386 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31389 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31392 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31395 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31398 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31401 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31402 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31404 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31405 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31407 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31408 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31410 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31411 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31413 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31416 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31419 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31420 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31422 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31425 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31426 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31428 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31431 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31434 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31437 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31438 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31440 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31443 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31444 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31446 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31449 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31452 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31455 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31458 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31461 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31462 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31464 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31467 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31470 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31473 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31476 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31479 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31482 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31483 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31485 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31486 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31488 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31489 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31491 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31492 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31494 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31495 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31497 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31498 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31500 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31501 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31503 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31504 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31506 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31509 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31512 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31515 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31518 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31521 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31524 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31527 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31530 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31533 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31536 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) ((wxSizer
*) x
));
31539 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31542 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31545 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31548 static void *_p_wxEventTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) ((wxEvent
*) x
));
31551 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) ((wxFontData
*) x
));
31554 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31557 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31560 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31563 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31566 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31569 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31572 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31575 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31578 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31581 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31584 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31587 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31590 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31593 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31596 static void *_p_wxControlTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31599 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31602 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31605 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31608 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31611 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31614 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31617 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) ((wxColourData
*) x
));
31620 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31623 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31626 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31629 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31632 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31635 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31638 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31641 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31644 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31647 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31650 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31653 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31656 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31659 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31662 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31665 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31668 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31671 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31674 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31677 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31680 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31683 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31686 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31689 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31692 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31695 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31698 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31701 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31704 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31707 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31710 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31713 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31716 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31719 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31722 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31725 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31728 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31731 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31734 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31737 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31740 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31743 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31746 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31749 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31752 static void *_p_wxImageTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) ((wxImage
*) x
));
31755 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31758 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31761 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31764 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31767 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31770 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31773 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31776 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31779 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31782 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31785 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31788 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31791 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31794 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31797 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31800 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31803 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31806 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31809 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31812 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31815 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31818 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31821 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31824 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31827 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31830 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31833 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31836 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31839 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31842 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31845 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31848 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31851 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31854 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31857 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31860 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31863 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31866 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31869 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31872 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31875 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31878 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31881 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31884 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31887 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31890 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31893 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31896 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31899 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31902 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31905 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31908 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31911 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31914 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31915 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31917 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31918 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31920 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
31921 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31923 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31924 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31926 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
31927 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31929 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31930 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31932 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31933 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31935 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31936 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31938 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31939 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31941 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31942 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31944 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31945 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31947 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31948 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31950 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31951 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31953 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31954 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31956 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31957 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31959 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31960 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31962 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31963 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31965 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31966 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31968 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31969 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31971 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31972 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31974 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31975 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31977 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31978 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31980 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31981 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31983 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31984 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31986 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31987 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31989 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31990 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31992 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31993 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31995 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31996 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31998 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31999 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32001 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32002 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32004 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32005 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32007 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32008 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32010 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32011 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32013 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32014 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32016 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32017 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32019 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32020 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32022 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32023 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32025 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32026 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32028 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32029 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32031 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32032 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32034 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32035 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32037 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32038 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32040 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32041 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32043 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32044 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32046 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32047 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32049 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32050 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32052 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32053 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32055 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32056 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32058 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32059 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32061 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32062 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32064 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32065 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32067 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32068 return (void *)((wxWindow
*) ((wxControl
*) x
));
32070 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32073 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32074 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32076 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32077 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32079 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32080 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32082 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32083 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32085 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32086 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32088 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32089 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32091 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32092 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32094 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32095 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32097 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32098 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32100 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32101 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32103 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32104 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32106 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32109 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32112 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32113 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32115 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32116 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32118 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32119 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32121 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32122 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32124 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32125 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32127 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32128 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32130 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32131 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32133 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32134 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32136 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32137 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32139 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32140 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32142 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32143 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32145 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32146 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32148 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32149 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32151 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32152 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32154 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32155 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32157 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32158 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32160 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32161 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32163 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32164 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32166 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32167 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32169 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32170 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32172 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32173 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32175 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32176 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32178 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32179 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32181 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32182 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32184 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32185 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32187 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32188 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32190 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32191 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32193 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32194 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32196 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32197 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32199 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32200 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32202 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32203 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32205 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32206 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32208 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32209 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32211 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32212 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32214 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32215 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32217 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32218 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32220 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32221 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32223 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32224 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};
32225 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32226 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32227 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32228 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32229 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32230 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32231 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32232 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32233 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32234 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32236 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32241 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32242 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32243 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32244 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32250 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32251 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32252 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32253 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32254 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32255 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32256 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32257 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32258 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32259 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32260 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32261 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32262 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32263 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32275 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32281 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32282 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32283 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32284 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32285 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32286 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32287 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32288 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32289 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32290 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32291 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32292 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32293 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32294 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32295 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32303 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32304 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32305 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32306 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32307 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32308 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32309 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32310 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32311 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32312 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32313 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32314 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32315 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32316 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32317 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32318 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32319 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32320 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32321 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32322 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32323 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32324 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32325 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32326 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32327 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32328 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32329 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32330 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32379 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32384 static swig_type_info
*swig_type_initial
[] = {
32386 &_swigt__p_form_ops_t
,
32388 &_swigt__p_unsigned_char
,
32389 &_swigt__p_unsigned_int
,
32390 &_swigt__p_unsigned_long
,
32391 &_swigt__p_wxANIHandler
,
32392 &_swigt__p_wxAcceleratorTable
,
32393 &_swigt__p_wxActivateEvent
,
32394 &_swigt__p_wxArrayInt
,
32395 &_swigt__p_wxBMPHandler
,
32396 &_swigt__p_wxBitmap
,
32397 &_swigt__p_wxBoxSizer
,
32398 &_swigt__p_wxCURHandler
,
32399 &_swigt__p_wxCalculateLayoutEvent
,
32400 &_swigt__p_wxChildFocusEvent
,
32401 &_swigt__p_wxCloseEvent
,
32402 &_swigt__p_wxColour
,
32403 &_swigt__p_wxColourData
,
32404 &_swigt__p_wxColourDialog
,
32405 &_swigt__p_wxCommandEvent
,
32406 &_swigt__p_wxContextMenuEvent
,
32407 &_swigt__p_wxControl
,
32408 &_swigt__p_wxControlWithItems
,
32410 &_swigt__p_wxDateEvent
,
32411 &_swigt__p_wxDialog
,
32412 &_swigt__p_wxDirDialog
,
32413 &_swigt__p_wxDisplayChangedEvent
,
32414 &_swigt__p_wxDropFilesEvent
,
32415 &_swigt__p_wxDuplexMode
,
32416 &_swigt__p_wxEraseEvent
,
32417 &_swigt__p_wxEvent
,
32418 &_swigt__p_wxEvtHandler
,
32419 &_swigt__p_wxFSFile
,
32420 &_swigt__p_wxFileDialog
,
32421 &_swigt__p_wxFileSystem
,
32422 &_swigt__p_wxFindDialogEvent
,
32423 &_swigt__p_wxFindReplaceData
,
32424 &_swigt__p_wxFindReplaceDialog
,
32425 &_swigt__p_wxFlexGridSizer
,
32426 &_swigt__p_wxFocusEvent
,
32428 &_swigt__p_wxFontData
,
32429 &_swigt__p_wxFontDialog
,
32430 &_swigt__p_wxFrame
,
32431 &_swigt__p_wxGBSizerItem
,
32432 &_swigt__p_wxGIFHandler
,
32433 &_swigt__p_wxGridBagSizer
,
32434 &_swigt__p_wxGridSizer
,
32435 &_swigt__p_wxICOHandler
,
32437 &_swigt__p_wxIconBundle
,
32438 &_swigt__p_wxIconizeEvent
,
32439 &_swigt__p_wxIdleEvent
,
32440 &_swigt__p_wxImage
,
32441 &_swigt__p_wxImageHandler
,
32442 &_swigt__p_wxIndividualLayoutConstraint
,
32443 &_swigt__p_wxInitDialogEvent
,
32444 &_swigt__p_wxJPEGHandler
,
32445 &_swigt__p_wxKeyEvent
,
32446 &_swigt__p_wxLayoutAlgorithm
,
32447 &_swigt__p_wxLayoutConstraints
,
32448 &_swigt__p_wxMDIChildFrame
,
32449 &_swigt__p_wxMDIClientWindow
,
32450 &_swigt__p_wxMDIParentFrame
,
32451 &_swigt__p_wxMaximizeEvent
,
32453 &_swigt__p_wxMenuBar
,
32454 &_swigt__p_wxMenuEvent
,
32455 &_swigt__p_wxMenuItem
,
32456 &_swigt__p_wxMessageDialog
,
32457 &_swigt__p_wxMiniFrame
,
32458 &_swigt__p_wxMouseCaptureChangedEvent
,
32459 &_swigt__p_wxMouseEvent
,
32460 &_swigt__p_wxMoveEvent
,
32461 &_swigt__p_wxMultiChoiceDialog
,
32462 &_swigt__p_wxNavigationKeyEvent
,
32463 &_swigt__p_wxNcPaintEvent
,
32464 &_swigt__p_wxNotifyEvent
,
32465 &_swigt__p_wxObject
,
32466 &_swigt__p_wxPCXHandler
,
32467 &_swigt__p_wxPNGHandler
,
32468 &_swigt__p_wxPNMHandler
,
32469 &_swigt__p_wxPageSetupDialog
,
32470 &_swigt__p_wxPageSetupDialogData
,
32471 &_swigt__p_wxPaintEvent
,
32472 &_swigt__p_wxPaletteChangedEvent
,
32473 &_swigt__p_wxPanel
,
32474 &_swigt__p_wxPaperSize
,
32475 &_swigt__p_wxPasswordEntryDialog
,
32476 &_swigt__p_wxPoint
,
32477 &_swigt__p_wxPopupWindow
,
32478 &_swigt__p_wxPreviewCanvas
,
32479 &_swigt__p_wxPreviewControlBar
,
32480 &_swigt__p_wxPreviewFrame
,
32481 &_swigt__p_wxPrintData
,
32482 &_swigt__p_wxPrintDialog
,
32483 &_swigt__p_wxPrintDialogData
,
32484 &_swigt__p_wxPrintPreview
,
32485 &_swigt__p_wxPrinter
,
32486 &_swigt__p_wxProgressDialog
,
32487 &_swigt__p_wxPyApp
,
32488 &_swigt__p_wxPyCommandEvent
,
32489 &_swigt__p_wxPyEvent
,
32490 &_swigt__p_wxPyHtmlListBox
,
32491 &_swigt__p_wxPyImageHandler
,
32492 &_swigt__p_wxPyPanel
,
32493 &_swigt__p_wxPyPopupTransientWindow
,
32494 &_swigt__p_wxPyPreviewControlBar
,
32495 &_swigt__p_wxPyPreviewFrame
,
32496 &_swigt__p_wxPyPrintPreview
,
32497 &_swigt__p_wxPyPrintout
,
32498 &_swigt__p_wxPyScrolledWindow
,
32499 &_swigt__p_wxPySizer
,
32500 &_swigt__p_wxPyTaskBarIcon
,
32501 &_swigt__p_wxPyVListBox
,
32502 &_swigt__p_wxPyVScrolledWindow
,
32503 &_swigt__p_wxPyValidator
,
32504 &_swigt__p_wxPyWindow
,
32505 &_swigt__p_wxQueryLayoutInfoEvent
,
32506 &_swigt__p_wxQueryNewPaletteEvent
,
32508 &_swigt__p_wxRegion
,
32509 &_swigt__p_wxSashEvent
,
32510 &_swigt__p_wxSashLayoutWindow
,
32511 &_swigt__p_wxSashWindow
,
32512 &_swigt__p_wxScrollEvent
,
32513 &_swigt__p_wxScrollWinEvent
,
32514 &_swigt__p_wxScrolledWindow
,
32515 &_swigt__p_wxSetCursorEvent
,
32516 &_swigt__p_wxShowEvent
,
32517 &_swigt__p_wxSingleChoiceDialog
,
32519 &_swigt__p_wxSizeEvent
,
32520 &_swigt__p_wxSizer
,
32521 &_swigt__p_wxSizerItem
,
32522 &_swigt__p_wxSplashScreen
,
32523 &_swigt__p_wxSplashScreenWindow
,
32524 &_swigt__p_wxSplitterEvent
,
32525 &_swigt__p_wxSplitterWindow
,
32526 &_swigt__p_wxStaticBoxSizer
,
32527 &_swigt__p_wxStatusBar
,
32528 &_swigt__p_wxStdDialogButtonSizer
,
32529 &_swigt__p_wxString
,
32530 &_swigt__p_wxSysColourChangedEvent
,
32531 &_swigt__p_wxTIFFHandler
,
32532 &_swigt__p_wxTaskBarIcon
,
32533 &_swigt__p_wxTaskBarIconEvent
,
32534 &_swigt__p_wxTextEntryDialog
,
32535 &_swigt__p_wxTipWindow
,
32536 &_swigt__p_wxToolBar
,
32537 &_swigt__p_wxTopLevelWindow
,
32538 &_swigt__p_wxUpdateUIEvent
,
32539 &_swigt__p_wxValidator
,
32540 &_swigt__p_wxVisualAttributes
,
32541 &_swigt__p_wxWindow
,
32542 &_swigt__p_wxWindowCreateEvent
,
32543 &_swigt__p_wxWindowDestroyEvent
,
32544 &_swigt__p_wxXPMHandler
,
32547 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32612 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}};
32613 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32624 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}};
32625 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32656 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}};
32657 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32660 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}};
32661 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32662 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}};
32663 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}};
32664 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32667 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}};
32668 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32672 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}};
32673 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32679 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}};
32680 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}};
32681 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32687 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}};
32688 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32689 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}};
32690 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32701 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}};
32702 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info
*swig_cast_initial
[] = {
32710 _swigc__p_form_ops_t
,
32712 _swigc__p_unsigned_char
,
32713 _swigc__p_unsigned_int
,
32714 _swigc__p_unsigned_long
,
32715 _swigc__p_wxANIHandler
,
32716 _swigc__p_wxAcceleratorTable
,
32717 _swigc__p_wxActivateEvent
,
32718 _swigc__p_wxArrayInt
,
32719 _swigc__p_wxBMPHandler
,
32720 _swigc__p_wxBitmap
,
32721 _swigc__p_wxBoxSizer
,
32722 _swigc__p_wxCURHandler
,
32723 _swigc__p_wxCalculateLayoutEvent
,
32724 _swigc__p_wxChildFocusEvent
,
32725 _swigc__p_wxCloseEvent
,
32726 _swigc__p_wxColour
,
32727 _swigc__p_wxColourData
,
32728 _swigc__p_wxColourDialog
,
32729 _swigc__p_wxCommandEvent
,
32730 _swigc__p_wxContextMenuEvent
,
32731 _swigc__p_wxControl
,
32732 _swigc__p_wxControlWithItems
,
32734 _swigc__p_wxDateEvent
,
32735 _swigc__p_wxDialog
,
32736 _swigc__p_wxDirDialog
,
32737 _swigc__p_wxDisplayChangedEvent
,
32738 _swigc__p_wxDropFilesEvent
,
32739 _swigc__p_wxDuplexMode
,
32740 _swigc__p_wxEraseEvent
,
32742 _swigc__p_wxEvtHandler
,
32743 _swigc__p_wxFSFile
,
32744 _swigc__p_wxFileDialog
,
32745 _swigc__p_wxFileSystem
,
32746 _swigc__p_wxFindDialogEvent
,
32747 _swigc__p_wxFindReplaceData
,
32748 _swigc__p_wxFindReplaceDialog
,
32749 _swigc__p_wxFlexGridSizer
,
32750 _swigc__p_wxFocusEvent
,
32752 _swigc__p_wxFontData
,
32753 _swigc__p_wxFontDialog
,
32755 _swigc__p_wxGBSizerItem
,
32756 _swigc__p_wxGIFHandler
,
32757 _swigc__p_wxGridBagSizer
,
32758 _swigc__p_wxGridSizer
,
32759 _swigc__p_wxICOHandler
,
32761 _swigc__p_wxIconBundle
,
32762 _swigc__p_wxIconizeEvent
,
32763 _swigc__p_wxIdleEvent
,
32765 _swigc__p_wxImageHandler
,
32766 _swigc__p_wxIndividualLayoutConstraint
,
32767 _swigc__p_wxInitDialogEvent
,
32768 _swigc__p_wxJPEGHandler
,
32769 _swigc__p_wxKeyEvent
,
32770 _swigc__p_wxLayoutAlgorithm
,
32771 _swigc__p_wxLayoutConstraints
,
32772 _swigc__p_wxMDIChildFrame
,
32773 _swigc__p_wxMDIClientWindow
,
32774 _swigc__p_wxMDIParentFrame
,
32775 _swigc__p_wxMaximizeEvent
,
32777 _swigc__p_wxMenuBar
,
32778 _swigc__p_wxMenuEvent
,
32779 _swigc__p_wxMenuItem
,
32780 _swigc__p_wxMessageDialog
,
32781 _swigc__p_wxMiniFrame
,
32782 _swigc__p_wxMouseCaptureChangedEvent
,
32783 _swigc__p_wxMouseEvent
,
32784 _swigc__p_wxMoveEvent
,
32785 _swigc__p_wxMultiChoiceDialog
,
32786 _swigc__p_wxNavigationKeyEvent
,
32787 _swigc__p_wxNcPaintEvent
,
32788 _swigc__p_wxNotifyEvent
,
32789 _swigc__p_wxObject
,
32790 _swigc__p_wxPCXHandler
,
32791 _swigc__p_wxPNGHandler
,
32792 _swigc__p_wxPNMHandler
,
32793 _swigc__p_wxPageSetupDialog
,
32794 _swigc__p_wxPageSetupDialogData
,
32795 _swigc__p_wxPaintEvent
,
32796 _swigc__p_wxPaletteChangedEvent
,
32798 _swigc__p_wxPaperSize
,
32799 _swigc__p_wxPasswordEntryDialog
,
32801 _swigc__p_wxPopupWindow
,
32802 _swigc__p_wxPreviewCanvas
,
32803 _swigc__p_wxPreviewControlBar
,
32804 _swigc__p_wxPreviewFrame
,
32805 _swigc__p_wxPrintData
,
32806 _swigc__p_wxPrintDialog
,
32807 _swigc__p_wxPrintDialogData
,
32808 _swigc__p_wxPrintPreview
,
32809 _swigc__p_wxPrinter
,
32810 _swigc__p_wxProgressDialog
,
32812 _swigc__p_wxPyCommandEvent
,
32813 _swigc__p_wxPyEvent
,
32814 _swigc__p_wxPyHtmlListBox
,
32815 _swigc__p_wxPyImageHandler
,
32816 _swigc__p_wxPyPanel
,
32817 _swigc__p_wxPyPopupTransientWindow
,
32818 _swigc__p_wxPyPreviewControlBar
,
32819 _swigc__p_wxPyPreviewFrame
,
32820 _swigc__p_wxPyPrintPreview
,
32821 _swigc__p_wxPyPrintout
,
32822 _swigc__p_wxPyScrolledWindow
,
32823 _swigc__p_wxPySizer
,
32824 _swigc__p_wxPyTaskBarIcon
,
32825 _swigc__p_wxPyVListBox
,
32826 _swigc__p_wxPyVScrolledWindow
,
32827 _swigc__p_wxPyValidator
,
32828 _swigc__p_wxPyWindow
,
32829 _swigc__p_wxQueryLayoutInfoEvent
,
32830 _swigc__p_wxQueryNewPaletteEvent
,
32832 _swigc__p_wxRegion
,
32833 _swigc__p_wxSashEvent
,
32834 _swigc__p_wxSashLayoutWindow
,
32835 _swigc__p_wxSashWindow
,
32836 _swigc__p_wxScrollEvent
,
32837 _swigc__p_wxScrollWinEvent
,
32838 _swigc__p_wxScrolledWindow
,
32839 _swigc__p_wxSetCursorEvent
,
32840 _swigc__p_wxShowEvent
,
32841 _swigc__p_wxSingleChoiceDialog
,
32843 _swigc__p_wxSizeEvent
,
32845 _swigc__p_wxSizerItem
,
32846 _swigc__p_wxSplashScreen
,
32847 _swigc__p_wxSplashScreenWindow
,
32848 _swigc__p_wxSplitterEvent
,
32849 _swigc__p_wxSplitterWindow
,
32850 _swigc__p_wxStaticBoxSizer
,
32851 _swigc__p_wxStatusBar
,
32852 _swigc__p_wxStdDialogButtonSizer
,
32853 _swigc__p_wxString
,
32854 _swigc__p_wxSysColourChangedEvent
,
32855 _swigc__p_wxTIFFHandler
,
32856 _swigc__p_wxTaskBarIcon
,
32857 _swigc__p_wxTaskBarIconEvent
,
32858 _swigc__p_wxTextEntryDialog
,
32859 _swigc__p_wxTipWindow
,
32860 _swigc__p_wxToolBar
,
32861 _swigc__p_wxTopLevelWindow
,
32862 _swigc__p_wxUpdateUIEvent
,
32863 _swigc__p_wxValidator
,
32864 _swigc__p_wxVisualAttributes
,
32865 _swigc__p_wxWindow
,
32866 _swigc__p_wxWindowCreateEvent
,
32867 _swigc__p_wxWindowDestroyEvent
,
32868 _swigc__p_wxXPMHandler
,
32872 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32874 static swig_const_info swig_const_table
[] = {
32875 {0, 0, 0, 0.0, 0, 0}};
32880 /* -----------------------------------------------------------------------------
32881 * Type initialization:
32882 * This problem is tough by the requirement that no dynamic
32883 * memory is used. Also, since swig_type_info structures store pointers to
32884 * swig_cast_info structures and swig_cast_info structures store pointers back
32885 * to swig_type_info structures, we need some lookup code at initialization.
32886 * The idea is that swig generates all the structures that are needed.
32887 * The runtime then collects these partially filled structures.
32888 * The SWIG_InitializeModule function takes these initial arrays out of
32889 * swig_module, and does all the lookup, filling in the swig_module.types
32890 * array with the correct data and linking the correct swig_cast_info
32891 * structures together.
32893 * The generated swig_type_info structures are assigned staticly to an initial
32894 * array. We just loop though that array, and handle each type individually.
32895 * First we lookup if this type has been already loaded, and if so, use the
32896 * loaded structure instead of the generated one. Then we have to fill in the
32897 * cast linked list. The cast data is initially stored in something like a
32898 * two-dimensional array. Each row corresponds to a type (there are the same
32899 * number of rows as there are in the swig_type_initial array). Each entry in
32900 * a column is one of the swig_cast_info structures for that type.
32901 * The cast_initial array is actually an array of arrays, because each row has
32902 * a variable number of columns. So to actually build the cast linked list,
32903 * we find the array of casts associated with the type, and loop through it
32904 * adding the casts to the list. The one last trick we need to do is making
32905 * sure the type pointer in the swig_cast_info struct is correct.
32907 * First off, we lookup the cast->type name to see if it is already loaded.
32908 * There are three cases to handle:
32909 * 1) If the cast->type has already been loaded AND the type we are adding
32910 * casting info to has not been loaded (it is in this module), THEN we
32911 * replace the cast->type pointer with the type pointer that has already
32913 * 2) If BOTH types (the one we are adding casting info to, and the
32914 * cast->type) are loaded, THEN the cast info has already been loaded by
32915 * the previous module so we just ignore it.
32916 * 3) Finally, if cast->type has not already been loaded, then we add that
32917 * swig_cast_info to the linked list (because the cast->type) pointer will
32919 * ----------------------------------------------------------------------------- */
32929 #define SWIGRUNTIME_DEBUG
32933 SWIG_InitializeModule(void *clientdata
) {
32935 swig_module_info
*module_head
;
32936 static int init_run
= 0;
32938 clientdata
= clientdata
;
32940 if (init_run
) return;
32943 /* Initialize the swig_module */
32944 swig_module
.type_initial
= swig_type_initial
;
32945 swig_module
.cast_initial
= swig_cast_initial
;
32947 /* Try and load any already created modules */
32948 module_head
= SWIG_GetModule(clientdata
);
32950 swig_module
.next
= module_head
->next
;
32951 module_head
->next
= &swig_module
;
32953 /* This is the first module loaded */
32954 swig_module
.next
= &swig_module
;
32955 SWIG_SetModule(clientdata
, &swig_module
);
32958 /* Now work on filling in swig_module.types */
32959 #ifdef SWIGRUNTIME_DEBUG
32960 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32962 for (i
= 0; i
< swig_module
.size
; ++i
) {
32963 swig_type_info
*type
= 0;
32964 swig_type_info
*ret
;
32965 swig_cast_info
*cast
;
32967 #ifdef SWIGRUNTIME_DEBUG
32968 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32971 /* if there is another module already loaded */
32972 if (swig_module
.next
!= &swig_module
) {
32973 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32976 /* Overwrite clientdata field */
32977 #ifdef SWIGRUNTIME_DEBUG
32978 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32980 if (swig_module
.type_initial
[i
]->clientdata
) {
32981 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32982 #ifdef SWIGRUNTIME_DEBUG
32983 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32987 type
= swig_module
.type_initial
[i
];
32990 /* Insert casting types */
32991 cast
= swig_module
.cast_initial
[i
];
32992 while (cast
->type
) {
32993 /* Don't need to add information already in the list */
32995 #ifdef SWIGRUNTIME_DEBUG
32996 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32998 if (swig_module
.next
!= &swig_module
) {
32999 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33000 #ifdef SWIGRUNTIME_DEBUG
33001 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33005 if (type
== swig_module
.type_initial
[i
]) {
33006 #ifdef SWIGRUNTIME_DEBUG
33007 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33012 /* Check for casting already in the list */
33013 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33014 #ifdef SWIGRUNTIME_DEBUG
33015 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33017 if (!ocast
) ret
= 0;
33022 #ifdef SWIGRUNTIME_DEBUG
33023 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33026 type
->cast
->prev
= cast
;
33027 cast
->next
= type
->cast
;
33033 /* Set entry in modules->types array equal to the type */
33034 swig_module
.types
[i
] = type
;
33036 swig_module
.types
[i
] = 0;
33038 #ifdef SWIGRUNTIME_DEBUG
33039 printf("**** SWIG_InitializeModule: Cast List ******\n");
33040 for (i
= 0; i
< swig_module
.size
; ++i
) {
33042 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33043 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33044 while (cast
->type
) {
33045 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33049 printf("---- Total casts: %d\n",j
);
33051 printf("**** SWIG_InitializeModule: Cast List ******\n");
33055 /* This function will propagate the clientdata field of type to
33056 * any new swig_type_info structures that have been added into the list
33057 * of equivalent types. It is like calling
33058 * SWIG_TypeClientData(type, clientdata) a second time.
33061 SWIG_PropagateClientData(void) {
33063 swig_cast_info
*equiv
;
33064 static int init_run
= 0;
33066 if (init_run
) return;
33069 for (i
= 0; i
< swig_module
.size
; i
++) {
33070 if (swig_module
.types
[i
]->clientdata
) {
33071 equiv
= swig_module
.types
[i
]->cast
;
33073 if (!equiv
->converter
) {
33074 if (equiv
->type
&& !equiv
->type
->clientdata
)
33075 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33077 equiv
= equiv
->next
;
33097 /* Python-specific SWIG API */
33098 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33099 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33100 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33102 /* -----------------------------------------------------------------------------
33103 * global variable support code.
33104 * ----------------------------------------------------------------------------- */
33106 typedef struct swig_globalvar
{
33107 char *name
; /* Name of global variable */
33108 PyObject
*(*get_attr
)(void); /* Return the current value */
33109 int (*set_attr
)(PyObject
*); /* Set the value */
33110 struct swig_globalvar
*next
;
33113 typedef struct swig_varlinkobject
{
33115 swig_globalvar
*vars
;
33116 } swig_varlinkobject
;
33118 SWIGINTERN PyObject
*
33119 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33120 return PyString_FromString("<Swig global variables>");
33123 SWIGINTERN PyObject
*
33124 swig_varlink_str(swig_varlinkobject
*v
) {
33125 PyObject
*str
= PyString_FromString("(");
33126 swig_globalvar
*var
;
33127 for (var
= v
->vars
; var
; var
=var
->next
) {
33128 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33129 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33131 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33136 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33137 PyObject
*str
= swig_varlink_str(v
);
33138 fprintf(fp
,"Swig global variables ");
33139 fprintf(fp
,"%s\n", PyString_AsString(str
));
33145 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33146 swig_globalvar
*var
= v
->vars
;
33148 swig_globalvar
*n
= var
->next
;
33155 SWIGINTERN PyObject
*
33156 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33157 PyObject
*res
= NULL
;
33158 swig_globalvar
*var
= v
->vars
;
33160 if (strcmp(var
->name
,n
) == 0) {
33161 res
= (*var
->get_attr
)();
33166 if (res
== NULL
&& !PyErr_Occurred()) {
33167 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33173 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33175 swig_globalvar
*var
= v
->vars
;
33177 if (strcmp(var
->name
,n
) == 0) {
33178 res
= (*var
->set_attr
)(p
);
33183 if (res
== 1 && !PyErr_Occurred()) {
33184 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33189 SWIGINTERN PyTypeObject
*
33190 swig_varlink_type(void) {
33191 static char varlink__doc__
[] = "Swig var link object";
33192 static PyTypeObject varlink_type
;
33193 static int type_init
= 0;
33195 const PyTypeObject tmp
33197 PyObject_HEAD_INIT(NULL
)
33198 0, /* Number of items in variable part (ob_size) */
33199 (char *)"swigvarlink", /* Type name (tp_name) */
33200 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33201 0, /* Itemsize (tp_itemsize) */
33202 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33203 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33204 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33205 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33206 0, /* tp_compare */
33207 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33208 0, /* tp_as_number */
33209 0, /* tp_as_sequence */
33210 0, /* tp_as_mapping */
33213 (reprfunc
)swig_varlink_str
, /* tp_str */
33214 0, /* tp_getattro */
33215 0, /* tp_setattro */
33216 0, /* tp_as_buffer */
33218 varlink__doc__
, /* tp_doc */
33219 0, /* tp_traverse */
33221 0, /* tp_richcompare */
33222 0, /* tp_weaklistoffset */
33223 #if PY_VERSION_HEX >= 0x02020000
33224 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33226 #if PY_VERSION_HEX >= 0x02030000
33229 #ifdef COUNT_ALLOCS
33230 0,0,0,0 /* tp_alloc -> tp_next */
33233 varlink_type
= tmp
;
33234 varlink_type
.ob_type
= &PyType_Type
;
33237 return &varlink_type
;
33240 /* Create a variable linking object for use later */
33241 SWIGINTERN PyObject
*
33242 SWIG_Python_newvarlink(void) {
33243 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33247 return ((PyObject
*) result
);
33251 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33252 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33253 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33255 size_t size
= strlen(name
)+1;
33256 gv
->name
= (char *)malloc(size
);
33258 strncpy(gv
->name
,name
,size
);
33259 gv
->get_attr
= get_attr
;
33260 gv
->set_attr
= set_attr
;
33261 gv
->next
= v
->vars
;
33267 SWIGINTERN PyObject
*
33269 static PyObject
*_SWIG_globals
= 0;
33270 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33271 return _SWIG_globals
;
33274 /* -----------------------------------------------------------------------------
33275 * constants/methods manipulation
33276 * ----------------------------------------------------------------------------- */
33278 /* Install Constants */
33280 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33283 for (i
= 0; constants
[i
].type
; ++i
) {
33284 switch(constants
[i
].type
) {
33285 case SWIG_PY_POINTER
:
33286 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33288 case SWIG_PY_BINARY
:
33289 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33296 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33302 /* -----------------------------------------------------------------------------*/
33303 /* Fix SwigMethods to carry the callback ptrs when needed */
33304 /* -----------------------------------------------------------------------------*/
33307 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33308 swig_const_info
*const_table
,
33309 swig_type_info
**types
,
33310 swig_type_info
**types_initial
) {
33312 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33313 char *c
= methods
[i
].ml_doc
;
33314 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33316 swig_const_info
*ci
= 0;
33317 char *name
= c
+ 10;
33318 for (j
= 0; const_table
[j
].type
; ++j
) {
33319 if (strncmp(const_table
[j
].name
, name
,
33320 strlen(const_table
[j
].name
)) == 0) {
33321 ci
= &(const_table
[j
]);
33326 size_t shift
= (ci
->ptype
) - types
;
33327 swig_type_info
*ty
= types_initial
[shift
];
33328 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33329 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33330 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33333 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33335 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33337 strncpy(buff
, "swig_ptr: ", 10);
33339 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33340 methods
[i
].ml_doc
= ndoc
;
33352 /* -----------------------------------------------------------------------------*
33353 * Partial Init method
33354 * -----------------------------------------------------------------------------*/
33359 SWIGEXPORT
void SWIG_init(void) {
33362 /* Fix SwigMethods to carry the callback ptrs when needed */
33363 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33365 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33366 d
= PyModule_GetDict(m
);
33368 SWIG_InitializeModule(0);
33369 SWIG_InstallConstants(d
,swig_const_table
);
33372 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33373 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33374 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33375 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33376 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33377 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33378 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33379 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33380 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33381 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33382 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33383 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33384 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33385 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33386 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33387 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33388 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33389 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33390 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33391 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33392 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33393 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33394 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33395 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33396 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33397 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33398 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33399 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33400 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33401 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33402 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33403 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33404 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33405 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33406 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33407 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33408 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33409 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33410 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33411 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33412 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33413 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33414 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33415 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33416 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33417 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33418 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33419 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33420 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33421 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33422 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33423 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33424 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33425 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33426 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33427 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33428 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33429 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33430 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33431 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33432 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33433 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33434 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33435 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33436 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33437 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33438 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33439 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33440 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33441 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33442 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33443 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33444 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33445 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33446 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33447 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33448 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33449 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33450 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33451 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33452 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33453 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33454 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33455 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33456 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33457 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33458 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33459 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33460 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33461 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33462 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33463 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33464 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33465 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33466 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33467 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33468 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33469 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33470 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33471 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33472 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33473 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33475 // Map renamed classes back to their common name for OOR
33476 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33477 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33478 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33480 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33481 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33482 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33483 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33484 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33485 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33486 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33487 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33488 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33489 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33490 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33491 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33492 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33493 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33494 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33495 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33496 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33497 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33498 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33499 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33500 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33501 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33502 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33503 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33504 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33505 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33506 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33507 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33508 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33509 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33510 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33511 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33512 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33513 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33514 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33515 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33516 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33517 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33518 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33519 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33520 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33521 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33522 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33523 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33524 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33525 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33526 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33527 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33528 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33529 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33530 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33531 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33532 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33533 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33534 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33535 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33536 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33537 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33538 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33539 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33540 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33541 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33542 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33543 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33544 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33545 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33546 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33547 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33548 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33549 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33550 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33551 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33552 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33553 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33554 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33555 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33556 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33557 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33559 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");