1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2824 int style
= self
->GetExtraStyle();
2826 style
|= wxFRAME_EX_METAL
;
2828 style
&= ~wxFRAME_EX_METAL
;
2829 self
->SetExtraStyle(style
);
2831 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPopupWindow
: public wxWindow
{
2848 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2852 class wxPyPopupTransientWindow
: public wxPopupWindow
2855 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2860 #include <wx/tipwin.h>
2862 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2863 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2866 #include <wx/tipwin.h>
2869 #include <wx/vscroll.h>
2872 class wxPyVScrolledWindow
: public wxVScrolledWindow
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2878 wxPyVScrolledWindow(wxWindow
*parent
,
2879 wxWindowID id
= wxID_ANY
,
2880 const wxPoint
& pos
= wxDefaultPosition
,
2881 const wxSize
& size
= wxDefaultSize
,
2883 const wxString
& name
= wxPyPanelNameStr
)
2884 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2887 // Overridable virtuals
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2916 // this function should return the best guess for the total height it may
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2921 // Also expose some other interesting protected methods
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2951 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2954 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2955 return SWIG_TypeError
;
2958 *val
= (unsigned long)v
;
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_unsigned_SS_long (unsigned long value
)
2976 return (value
> LONG_MAX
) ?
2977 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2981 SWIGINTERNINLINE PyObject
*
2982 SWIG_From_size_t (size_t value
)
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2988 #include <wx/vlbox.h>
2990 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2992 class wxPyVListBox
: public wxVListBox
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2996 wxPyVListBox() : wxVListBox() {}
2998 wxPyVListBox(wxWindow
*parent
,
2999 wxWindowID id
= wxID_ANY
,
3000 const wxPoint
& pos
= wxDefaultPosition
,
3001 const wxSize
& size
= wxDefaultSize
,
3003 const wxString
& name
= wxPyVListBoxNameStr
)
3004 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3007 // Overridable virtuals
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3015 // the derived class must implement this method to return the height of the
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3030 // this method is used to draw the items background and, maybe, a border
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3052 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3053 unsigned long cookie
= 0;
3054 int selected
= self
->GetFirstSelected(cookie
);
3055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3056 PyObject
* tup
= PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3058 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3059 wxPyEndBlockThreads(blocked
);
3062 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3063 int selected
= self
->GetNextSelected(cookie
);
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 PyObject
* tup
= PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3067 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3068 wxPyEndBlockThreads(blocked
);
3072 #include <wx/htmllbox.h>
3075 class wxPyHtmlListBox
: public wxHtmlListBox
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3081 wxPyHtmlListBox(wxWindow
*parent
,
3082 wxWindowID id
= wxID_ANY
,
3083 const wxPoint
& pos
= wxDefaultPosition
,
3084 const wxSize
& size
= wxDefaultSize
,
3086 const wxString
& name
= wxPyVListBoxNameStr
)
3087 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3090 // Overridable virtuals
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n
,
3121 const wxHtmlLinkInfo
& link
);
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3136 const wxHtmlLinkInfo
& link
) {
3138 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3139 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3140 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3144 wxPyEndBlockThreads(blocked
);
3146 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3156 class wxTaskBarIcon
: public wxEvtHandler
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3163 class wxTaskBarIconEvent
: public wxEvent
3166 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent
* Clone() const { return NULL
; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu
*menu
) { return false; }
3177 wxEVT_TASKBAR_MOVE
= 0,
3178 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3179 wxEVT_TASKBAR_LEFT_UP
= 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3181 wxEVT_TASKBAR_RIGHT_UP
= 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon
: public wxTaskBarIcon
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3196 wxMenu
* CreatePopupMenu() {
3197 wxMenu
*rval
= NULL
;
3199 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3200 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3203 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3205 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3210 wxPyEndBlockThreads(blocked
);
3212 rval
= wxTaskBarIcon::CreatePopupMenu();
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3223 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3227 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3228 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3229 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3230 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3231 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3232 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3237 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3239 self
->GetFilenames(arr
);
3240 return wxArrayString2PyList_helper(arr
);
3242 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3244 self
->GetPaths(arr
);
3245 return wxArrayString2PyList_helper(arr
);
3247 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3248 return wxArrayInt2PyList_helper(self
->GetSelections());
3250 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
){
3251 return new wxSingleChoiceDialog(parent
, message
, caption
,
3252 choices
, choices_array
, NULL
, style
, pos
);
3254 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow
: public wxWindow
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3272 const wxPoint
& pos
= wxDefaultPosition
,
3273 const wxSize
& size
= wxDefaultSize
,
3275 const wxString
& name
= wxPyPanelNameStr
)
3276 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3278 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3280 bool DoEraseBackground(wxDC
* dc
) {
3282 return wxWindow::DoEraseBackground(dc
->GetHDC());
3284 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3290 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3291 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3302 DEC_PYCALLBACK__(InitDialog
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3305 DEC_PYCALLBACK_BOOL_(Validate
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3309 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3314 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3315 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3317 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3319 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3324 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3326 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3327 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3338 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3350 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3351 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3355 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3357 // C++ version of Python aware wxPanel
3358 class wxPyPanel
: public wxPanel
3360 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3362 wxPyPanel() : wxPanel() {}
3363 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3364 const wxPoint
& pos
= wxDefaultPosition
,
3365 const wxSize
& size
= wxDefaultSize
,
3367 const wxString
& name
= wxPyPanelNameStr
)
3368 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3370 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3371 bool DoEraseBackground(wxDC
* dc
) {
3373 return wxWindow::DoEraseBackground(dc
->GetHDC());
3375 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3394 DEC_PYCALLBACK__(InitDialog
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3397 DEC_PYCALLBACK_BOOL_(Validate
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3430 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3447 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow
: public wxScrolledWindow
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3456 const wxPoint
& pos
= wxDefaultPosition
,
3457 const wxSize
& size
= wxDefaultSize
,
3459 const wxString
& name
= wxPyPanelNameStr
)
3460 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3462 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3463 bool DoEraseBackground(wxDC
* dc
) {
3465 return wxWindow::DoEraseBackground(dc
->GetHDC());
3467 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3485 DEC_PYCALLBACK__(InitDialog
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3488 DEC_PYCALLBACK_BOOL_(Validate
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3521 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3541 #include "wx/wxPython/printfw.h"
3544 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3550 self
->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked
);
3554 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3555 if (! PyString_Check(data
)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3557 "Expected string object"));
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3563 wxPyEndBlockThreads(blocked
);
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3571 bool hadErr
= false;
3574 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3576 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3577 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3580 val
= PyTuple_GetItem(result
, 0);
3581 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 1);
3585 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 2);
3589 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3592 val
= PyTuple_GetItem(result
, 3);
3593 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3600 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3605 wxPyEndBlockThreads(blocked
);
3607 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3616 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3640 wxPyEndBlockThreads(blocked); \
3642 rval = PCLASS::CBNAME(a, b); \
3649 class wxPyPrintPreview
: public wxPrintPreview
3651 DECLARE_CLASS(wxPyPrintPreview
)
3653 wxPyPrintPreview(wxPyPrintout
* printout
,
3654 wxPyPrintout
* printoutForPrinting
,
3655 wxPrintDialogData
* data
=NULL
)
3656 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3658 wxPyPrintPreview(wxPyPrintout
* printout
,
3659 wxPyPrintout
* printoutForPrinting
,
3661 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3681 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3693 class wxPyPreviewFrame
: public wxPreviewFrame
3695 DECLARE_CLASS(wxPyPreviewFrame
)
3697 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3698 const wxString
& title
,
3699 const wxPoint
& pos
= wxDefaultPosition
,
3700 const wxSize
& size
= wxDefaultSize
,
3701 long style
= wxDEFAULT_FRAME_STYLE
,
3702 const wxString
& name
= wxPyFrameNameStr
)
3703 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3706 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3707 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3709 DEC_PYCALLBACK_VOID_(Initialize
);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3716 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3723 class wxPyPreviewControlBar
: public wxPreviewControlBar
3725 DECLARE_CLASS(wxPyPreviewControlBar
)
3727 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3730 const wxPoint
& pos
= wxDefaultPosition
,
3731 const wxSize
& size
= wxDefaultSize
,
3733 const wxString
& name
= wxPyPanelNameStr
)
3734 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3737 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3739 DEC_PYCALLBACK_VOID_(CreateButtons
);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3752 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
= 0;
3754 wxWindow
*arg1
= (wxWindow
*) 0 ;
3755 int arg2
= (int) (int)-1 ;
3756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3760 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3761 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3763 wxPanel
*result
= 0 ;
3772 bool temp6
= false ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3777 PyObject
* obj4
= 0 ;
3778 PyObject
* obj5
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3809 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3810 if (!SWIG_IsOK(ecode5
)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3813 arg5
= static_cast< long >(val5
);
3817 arg6
= wxString_in_helper(obj5
);
3818 if (arg6
== NULL
) SWIG_fail
;
3823 if (!wxPyCheckForApp()) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3844 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3845 PyObject
*resultobj
= 0;
3846 wxPanel
*result
= 0 ;
3848 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxPanel
*)new wxPanel();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3863 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
= 0;
3865 wxPanel
*arg1
= (wxPanel
*) 0 ;
3866 wxWindow
*arg2
= (wxWindow
*) 0 ;
3867 int arg3
= (int) (int)-1 ;
3868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3872 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3873 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3886 bool temp7
= false ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3889 PyObject
* obj2
= 0 ;
3890 PyObject
* obj3
= 0 ;
3891 PyObject
* obj4
= 0 ;
3892 PyObject
* obj5
= 0 ;
3893 PyObject
* obj6
= 0 ;
3894 char * kwnames
[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3900 if (!SWIG_IsOK(res1
)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3903 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3905 if (!SWIG_IsOK(res2
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3911 if (!SWIG_IsOK(ecode3
)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3914 arg3
= static_cast< int >(val3
);
3919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3929 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3930 if (!SWIG_IsOK(ecode6
)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3933 arg6
= static_cast< long >(val6
);
3937 arg7
= wxString_in_helper(obj6
);
3938 if (arg7
== NULL
) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3965 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3966 PyObject
*resultobj
= 0;
3967 wxPanel
*arg1
= (wxPanel
*) 0 ;
3970 PyObject
*swig_obj
[1] ;
3972 if (!args
) SWIG_fail
;
3974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3975 if (!SWIG_IsOK(res1
)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3978 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_Py_Void();
3992 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
= 0;
3994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3995 SwigValueWrapper
<wxVisualAttributes
> result
;
3998 PyObject
* obj0
= 0 ;
3999 char * kwnames
[] = {
4000 (char *) "variant", NULL
4003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4006 if (!SWIG_IsOK(ecode1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4009 arg1
= static_cast< wxWindowVariant
>(val1
);
4012 if (!wxPyCheckForApp()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4025 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4029 return SWIG_Py_Void();
4032 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 return SWIG_Python_InitShadowInstance(args
);
4036 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
= 0;
4038 wxWindow
*arg1
= (wxWindow
*) 0 ;
4039 int arg2
= (int) (int)-1 ;
4040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4044 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4045 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4046 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4047 wxScrolledWindow
*result
= 0 ;
4056 bool temp6
= false ;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 char * kwnames
[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4069 if (!SWIG_IsOK(res1
)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4075 if (!SWIG_IsOK(ecode2
)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4078 arg2
= static_cast< int >(val2
);
4083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4093 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4094 if (!SWIG_IsOK(ecode5
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4097 arg5
= static_cast< long >(val5
);
4101 arg6
= wxString_in_helper(obj5
);
4102 if (arg6
== NULL
) SWIG_fail
;
4107 if (!wxPyCheckForApp()) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4128 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxScrolledWindow
*result
= 0 ;
4132 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
= 0;
4149 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4150 wxWindow
*arg2
= (wxWindow
*) 0 ;
4151 int arg3
= (int) (int)-1 ;
4152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4156 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4157 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4170 bool temp7
= false ;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 PyObject
* obj2
= 0 ;
4174 PyObject
* obj3
= 0 ;
4175 PyObject
* obj4
= 0 ;
4176 PyObject
* obj5
= 0 ;
4177 PyObject
* obj6
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4184 if (!SWIG_IsOK(res1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4187 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4189 if (!SWIG_IsOK(res2
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4195 if (!SWIG_IsOK(ecode3
)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4198 arg3
= static_cast< int >(val3
);
4203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4214 if (!SWIG_IsOK(ecode6
)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4217 arg6
= static_cast< long >(val6
);
4221 arg7
= wxString_in_helper(obj6
);
4222 if (arg7
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4256 int arg6
= (int) 0 ;
4257 int arg7
= (int) 0 ;
4258 bool arg8
= (bool) false ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 PyObject
* obj2
= 0 ;
4278 PyObject
* obj3
= 0 ;
4279 PyObject
* obj4
= 0 ;
4280 PyObject
* obj5
= 0 ;
4281 PyObject
* obj6
= 0 ;
4282 PyObject
* obj7
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4292 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4294 if (!SWIG_IsOK(ecode2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4297 arg2
= static_cast< int >(val2
);
4298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4299 if (!SWIG_IsOK(ecode3
)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4302 arg3
= static_cast< int >(val3
);
4303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4304 if (!SWIG_IsOK(ecode4
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4307 arg4
= static_cast< int >(val4
);
4308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4309 if (!SWIG_IsOK(ecode5
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4312 arg5
= static_cast< int >(val5
);
4314 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4315 if (!SWIG_IsOK(ecode6
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4318 arg6
= static_cast< int >(val6
);
4321 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4322 if (!SWIG_IsOK(ecode7
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4325 arg7
= static_cast< int >(val7
);
4328 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4329 if (!SWIG_IsOK(ecode8
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4332 arg8
= static_cast< bool >(val8
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_Py_Void();
4347 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
= 0;
4349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 char * kwnames
[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4370 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4372 if (!SWIG_IsOK(ecode2
)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4375 arg2
= static_cast< int >(val2
);
4376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4377 if (!SWIG_IsOK(ecode3
)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4380 arg3
= static_cast< int >(val3
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->Scroll(arg2
,arg3
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_Py_Void();
4394 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "self",(char *) "orient", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4414 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4416 if (!SWIG_IsOK(ecode2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4419 arg2
= static_cast< int >(val2
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_int(static_cast< int >(result
));
4433 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(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 *) "orient",(char *) "pageSize", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",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_SetScrollPageSize" "', 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_SetScrollPageSize" "', 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_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4466 arg3
= static_cast< int >(val3
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
= 0;
4482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4494 char * kwnames
[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4503 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4505 if (!SWIG_IsOK(ecode2
)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4508 arg2
= static_cast< int >(val2
);
4509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4510 if (!SWIG_IsOK(ecode3
)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4513 arg3
= static_cast< int >(val3
);
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->SetScrollRate(arg2
,arg3
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_Py_Void();
4527 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4528 PyObject
*resultobj
= 0;
4529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4530 int *arg2
= (int *) 0 ;
4531 int *arg3
= (int *) 0 ;
4535 int res2
= SWIG_TMPOBJ
;
4537 int res3
= SWIG_TMPOBJ
;
4538 PyObject
*swig_obj
[1] ;
4542 if (!args
) SWIG_fail
;
4544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4545 if (!SWIG_IsOK(res1
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4548 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2
)) {
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4559 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4562 if (SWIG_IsTmpObj(res3
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4574 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 char * kwnames
[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4597 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4599 if (!SWIG_IsOK(ecode2
)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4602 arg2
= static_cast< bool >(val2
);
4603 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4604 if (!SWIG_IsOK(ecode3
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4607 arg3
= static_cast< bool >(val3
);
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->EnableScrolling(arg2
,arg3
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_Py_Void();
4621 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4622 PyObject
*resultobj
= 0;
4623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4624 int *arg2
= (int *) 0 ;
4625 int *arg3
= (int *) 0 ;
4629 int res2
= SWIG_TMPOBJ
;
4631 int res3
= SWIG_TMPOBJ
;
4632 PyObject
*swig_obj
[1] ;
4636 if (!args
) SWIG_fail
;
4638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4639 if (!SWIG_IsOK(res1
)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4642 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2
)) {
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4653 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4656 if (SWIG_IsTmpObj(res3
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4659 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4668 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4691 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4693 if (!SWIG_IsOK(ecode2
)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4696 arg2
= static_cast< double >(val2
);
4697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4698 if (!SWIG_IsOK(ecode3
)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4701 arg3
= static_cast< double >(val3
);
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 (arg1
)->SetScale(arg2
,arg3
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_Py_Void();
4715 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4716 PyObject
*resultobj
= 0;
4717 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4721 PyObject
*swig_obj
[1] ;
4723 if (!args
) SWIG_fail
;
4725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4726 if (!SWIG_IsOK(res1
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4729 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= SWIG_From_double(static_cast< double >(result
));
4743 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 PyObject
*resultobj
= 0;
4745 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4749 PyObject
*swig_obj
[1] ;
4751 if (!args
) SWIG_fail
;
4753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4754 if (!SWIG_IsOK(res1
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4757 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_From_double(static_cast< double >(result
));
4771 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4772 PyObject
*resultobj
= 0;
4773 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4780 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4782 if (!SWIG_IsOK(res1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4785 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4788 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4803 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4804 PyObject
*resultobj
= 0;
4805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4808 int *arg4
= (int *) 0 ;
4809 int *arg5
= (int *) 0 ;
4817 int res4
= SWIG_TMPOBJ
;
4819 int res5
= SWIG_TMPOBJ
;
4823 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4828 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4829 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4830 if (!SWIG_IsOK(ecode2
)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4833 arg2
= static_cast< int >(val2
);
4834 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4835 if (!SWIG_IsOK(ecode3
)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4838 arg3
= static_cast< int >(val3
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4
)) {
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4849 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4852 if (SWIG_IsTmpObj(res5
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4855 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4864 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4883 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4884 PyObject
*resultobj
= 0;
4885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4892 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4897 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4900 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4915 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4916 PyObject
*resultobj
= 0;
4917 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4920 int *arg4
= (int *) 0 ;
4921 int *arg5
= (int *) 0 ;
4929 int res4
= SWIG_TMPOBJ
;
4931 int res5
= SWIG_TMPOBJ
;
4935 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4937 if (!SWIG_IsOK(res1
)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4940 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4941 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4942 if (!SWIG_IsOK(ecode2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4945 arg2
= static_cast< int >(val2
);
4946 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4947 if (!SWIG_IsOK(ecode3
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4950 arg3
= static_cast< int >(val3
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4
)) {
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4961 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4964 if (SWIG_IsTmpObj(res5
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4967 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4976 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4980 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4995 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5008 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= 0;
5024 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5025 wxScrollWinEvent
*arg2
= 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "event", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5042 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5044 if (!SWIG_IsOK(res2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5050 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_From_int(static_cast< int >(result
));
5064 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5067 wxWindow
*arg2
= (wxWindow
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "target", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5083 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5085 if (!SWIG_IsOK(res2
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetTargetWindow(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5102 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5103 PyObject
*resultobj
= 0;
5104 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5105 wxWindow
*result
= 0 ;
5108 PyObject
*swig_obj
[1] ;
5110 if (!args
) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5116 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= wxPyMake_wxObject(result
, 0);
5132 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "rect", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5182 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5196 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
= 0;
5198 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "self",(char *) "dc", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5215 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5217 if (!SWIG_IsOK(res2
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5223 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->DoPrepareDC(*arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_Py_Void();
5237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
= 0;
5239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5240 SwigValueWrapper
<wxVisualAttributes
> result
;
5243 PyObject
* obj0
= 0 ;
5244 char * kwnames
[] = {
5245 (char *) "variant", NULL
5248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5251 if (!SWIG_IsOK(ecode1
)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5254 arg1
= static_cast< wxWindowVariant
>(val1
);
5257 if (!wxPyCheckForApp()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5270 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5274 return SWIG_Py_Void();
5277 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 return SWIG_Python_InitShadowInstance(args
);
5281 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5282 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5287 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5288 PyObject
*pyobj
= 0;
5292 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5294 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5301 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5302 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5307 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5308 PyObject
*pyobj
= 0;
5312 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5314 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5321 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5322 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5327 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5328 PyObject
*pyobj
= 0;
5332 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5334 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5341 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5342 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5347 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5348 PyObject
*pyobj
= 0;
5352 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5354 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5361 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5364 bool arg2
= (bool) true ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "maximize", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5380 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5386 arg2
= static_cast< bool >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->Maximize(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 PyObject
*resultobj
= 0;
5403 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5414 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_Py_Void();
5428 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5431 bool arg2
= (bool) true ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5438 char * kwnames
[] = {
5439 (char *) "self",(char *) "iconize", NULL
5442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5450 if (!SWIG_IsOK(ecode2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5453 arg2
= static_cast< bool >(val2
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->Iconize(arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_Py_Void();
5468 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 PyObject
*resultobj
= 0;
5470 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5474 PyObject
*swig_obj
[1] ;
5476 if (!args
) SWIG_fail
;
5478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5479 if (!SWIG_IsOK(res1
)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5482 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5498 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 PyObject
*resultobj
= 0;
5500 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5504 PyObject
*swig_obj
[1] ;
5506 if (!args
) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5512 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5529 PyObject
*resultobj
= 0;
5530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5534 PyObject
*swig_obj
[1] ;
5536 if (!args
) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5542 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5558 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 PyObject
*resultobj
= 0;
5560 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5564 PyObject
*swig_obj
[1] ;
5566 if (!args
) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5572 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5586 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "icon", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5605 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5613 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_Py_Void();
5627 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= 0;
5629 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5630 wxIconBundle
*arg2
= 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 char * kwnames
[] = {
5638 (char *) "self",(char *) "icons", NULL
5641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5643 if (!SWIG_IsOK(res1
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5646 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5648 if (!SWIG_IsOK(res2
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5654 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_Py_Void();
5668 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5672 long arg3
= (long) wxFULLSCREEN_ALL
;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5682 PyObject
* obj2
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5694 if (!SWIG_IsOK(ecode2
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5697 arg2
= static_cast< bool >(val2
);
5699 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5700 if (!SWIG_IsOK(ecode3
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5703 arg3
= static_cast< long >(val3
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5721 PyObject
*resultobj
= 0;
5722 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5726 PyObject
*swig_obj
[1] ;
5728 if (!args
) SWIG_fail
;
5730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5731 if (!SWIG_IsOK(res1
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5734 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5750 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= 0;
5752 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5753 wxString
*arg2
= 0 ;
5756 bool temp2
= false ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 char * kwnames
[] = {
5760 (char *) "self",(char *) "title", NULL
5763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5768 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5770 arg2
= wxString_in_helper(obj1
);
5771 if (arg2
== NULL
) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->SetTitle((wxString
const &)*arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_Py_Void();
5795 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5809 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5832 wxRegion
*arg2
= 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 char * kwnames
[] = {
5841 (char *) "self",(char *) "region", NULL
5844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5846 if (!SWIG_IsOK(res1
)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5849 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5851 if (!SWIG_IsOK(res2
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5857 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5873 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5876 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "flags", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5892 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5895 if (!SWIG_IsOK(ecode2
)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5898 arg2
= static_cast< int >(val2
);
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 (arg1
)->RequestUserAttention(arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_Py_Void();
5913 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5914 PyObject
*resultobj
= 0;
5915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5919 PyObject
*swig_obj
[1] ;
5921 if (!args
) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5927 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)(arg1
)->IsActive();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5943 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 char * kwnames
[] = {
5954 (char *) "self",(char *) "on", NULL
5957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5962 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5964 if (!SWIG_IsOK(ecode2
)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5967 arg2
= static_cast< bool >(val2
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5987 PyObject
*swig_obj
[1] ;
5989 if (!args
) SWIG_fail
;
5991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5992 if (!SWIG_IsOK(res1
)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5995 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6014 int arg2
= (int) wxBOTH
;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 char * kwnames
[] = {
6022 (char *) "self",(char *) "dir", NULL
6025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6030 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6033 if (!SWIG_IsOK(ecode2
)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6036 arg2
= static_cast< int >(val2
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 (arg1
)->CenterOnScreen(arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_Py_Void();
6051 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
= 0;
6053 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6054 bool arg2
= (bool) true ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "self",(char *) "enable", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6071 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6074 if (!SWIG_IsOK(ecode2
)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6077 arg2
= static_cast< bool >(val2
);
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 PyObject
*resultobj
= 0;
6096 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6097 wxWindow
*result
= 0 ;
6100 PyObject
*swig_obj
[1] ;
6102 if (!args
) SWIG_fail
;
6104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6105 if (!SWIG_IsOK(res1
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6108 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= wxPyMake_wxObject(result
, 0);
6124 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
= 0;
6126 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6127 wxWindow
*arg2
= (wxWindow
*) 0 ;
6128 wxWindow
*result
= 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6135 char * kwnames
[] = {
6136 (char *) "self",(char *) "child", NULL
6139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6141 if (!SWIG_IsOK(res1
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6144 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6146 if (!SWIG_IsOK(res2
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= wxPyMake_wxObject(result
, 0);
6165 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= 0;
6167 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6168 wxWindow
*arg2
= (wxWindow
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6175 char * kwnames
[] = {
6176 (char *) "self",(char *) "win", NULL
6179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6184 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6186 if (!SWIG_IsOK(res2
)) {
6187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 (arg1
)->SetTmpDefaultItem(arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_Py_Void();
6203 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6204 PyObject
*resultobj
= 0;
6205 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6206 wxWindow
*result
= 0 ;
6209 PyObject
*swig_obj
[1] ;
6211 if (!args
) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6217 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= wxPyMake_wxObject(result
, 0);
6233 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6236 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6237 return SWIG_Py_Void();
6240 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxWindow
*arg1
= (wxWindow
*) 0 ;
6243 int arg2
= (int) (int)-1 ;
6244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6250 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6251 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6253 wxFrame
*result
= 0 ;
6258 bool temp3
= false ;
6263 bool temp7
= false ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 PyObject
* obj2
= 0 ;
6267 PyObject
* obj3
= 0 ;
6268 PyObject
* obj4
= 0 ;
6269 PyObject
* obj5
= 0 ;
6270 PyObject
* obj6
= 0 ;
6271 char * kwnames
[] = {
6272 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6283 if (!SWIG_IsOK(ecode2
)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6286 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6308 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6309 if (!SWIG_IsOK(ecode6
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6312 arg6
= static_cast< long >(val6
);
6316 arg7
= wxString_in_helper(obj6
);
6317 if (arg7
== NULL
) SWIG_fail
;
6322 if (!wxPyCheckForApp()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6351 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxFrame
*result
= 0 ;
6355 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6357 if (!wxPyCheckForApp()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxFrame
*)new wxFrame();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6370 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
= 0;
6372 wxFrame
*arg1
= (wxFrame
*) 0 ;
6373 wxWindow
*arg2
= (wxWindow
*) 0 ;
6374 int arg3
= (int) (int)-1 ;
6375 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6376 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6377 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6378 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6379 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6380 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6381 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6382 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6383 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6391 bool temp4
= false ;
6396 bool temp8
= false ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6399 PyObject
* obj2
= 0 ;
6400 PyObject
* obj3
= 0 ;
6401 PyObject
* obj4
= 0 ;
6402 PyObject
* obj5
= 0 ;
6403 PyObject
* obj6
= 0 ;
6404 PyObject
* obj7
= 0 ;
6405 char * kwnames
[] = {
6406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6411 if (!SWIG_IsOK(res1
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6414 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6416 if (!SWIG_IsOK(res2
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6422 if (!SWIG_IsOK(ecode3
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6425 arg3
= static_cast< int >(val3
);
6429 arg4
= wxString_in_helper(obj3
);
6430 if (arg4
== NULL
) SWIG_fail
;
6437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6447 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6448 if (!SWIG_IsOK(ecode7
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6451 arg7
= static_cast< long >(val7
);
6455 arg8
= wxString_in_helper(obj7
);
6456 if (arg8
== NULL
) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxFrame
*arg1
= (wxFrame
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6504 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SendSizeEvent();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_Py_Void();
6518 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxFrame
*arg1
= (wxFrame
*) 0 ;
6521 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 char * kwnames
[] = {
6529 (char *) "self",(char *) "menubar", NULL
6532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6537 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6539 if (!SWIG_IsOK(res2
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6542 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetMenuBar(arg2
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_Py_Void();
6556 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxFrame
*arg1
= (wxFrame
*) 0 ;
6559 wxMenuBar
*result
= 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6570 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= wxPyMake_wxObject(result
, 0);
6586 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxFrame
*arg1
= (wxFrame
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 char * kwnames
[] = {
6598 (char *) "self",(char *) "winid", NULL
6601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6606 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6608 if (!SWIG_IsOK(ecode2
)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6611 arg2
= static_cast< int >(val2
);
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
= 0;
6629 wxFrame
*arg1
= (wxFrame
*) 0 ;
6630 int arg2
= (int) 1 ;
6631 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6632 int arg4
= (int) 0 ;
6633 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6634 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6635 wxStatusBar
*result
= 0 ;
6644 bool temp5
= false ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 PyObject
* obj2
= 0 ;
6648 PyObject
* obj3
= 0 ;
6649 PyObject
* obj4
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6659 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6662 if (!SWIG_IsOK(ecode2
)) {
6663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6665 arg2
= static_cast< int >(val2
);
6668 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6669 if (!SWIG_IsOK(ecode3
)) {
6670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6672 arg3
= static_cast< long >(val3
);
6675 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6676 if (!SWIG_IsOK(ecode4
)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6679 arg4
= static_cast< int >(val4
);
6683 arg5
= wxString_in_helper(obj4
);
6684 if (arg5
== NULL
) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6711 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6712 PyObject
*resultobj
= 0;
6713 wxFrame
*arg1
= (wxFrame
*) 0 ;
6714 wxStatusBar
*result
= 0 ;
6717 PyObject
*swig_obj
[1] ;
6719 if (!args
) SWIG_fail
;
6721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6722 if (!SWIG_IsOK(res1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6725 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6741 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxFrame
*arg1
= (wxFrame
*) 0 ;
6744 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 char * kwnames
[] = {
6752 (char *) "self",(char *) "statBar", NULL
6755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6760 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6762 if (!SWIG_IsOK(res2
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6765 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 (arg1
)->SetStatusBar(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_Py_Void();
6779 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxFrame
*arg1
= (wxFrame
*) 0 ;
6782 wxString
*arg2
= 0 ;
6783 int arg3
= (int) 0 ;
6786 bool temp2
= false ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "self",(char *) "text",(char *) "number", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6801 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6803 arg2
= wxString_in_helper(obj1
);
6804 if (arg2
== NULL
) SWIG_fail
;
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6812 arg3
= static_cast< int >(val3
);
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_Py_Void();
6835 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
= 0;
6837 wxFrame
*arg1
= (wxFrame
*) 0 ;
6839 int *arg3
= (int *) 0 ;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 char * kwnames
[] = {
6845 (char *) "self",(char *) "widths", NULL
6848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6850 if (!SWIG_IsOK(res1
)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6853 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6855 arg2
= PyList_Size(obj1
);
6856 arg3
= int_LIST_helper(obj1
);
6857 if (arg3
== NULL
) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_Py_Void();
6867 if (arg3
) delete [] arg3
;
6872 if (arg3
) delete [] arg3
;
6878 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
= 0;
6880 wxFrame
*arg1
= (wxFrame
*) 0 ;
6881 wxString
*arg2
= 0 ;
6882 int arg3
= (int) 0 ;
6885 bool temp2
= false ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6890 PyObject
* obj2
= 0 ;
6891 char * kwnames
[] = {
6892 (char *) "self",(char *) "text",(char *) "number", NULL
6895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6900 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6902 arg2
= wxString_in_helper(obj1
);
6903 if (arg2
== NULL
) SWIG_fail
;
6907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6908 if (!SWIG_IsOK(ecode3
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6911 arg3
= static_cast< int >(val3
);
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6934 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
= 0;
6936 wxFrame
*arg1
= (wxFrame
*) 0 ;
6937 int arg2
= (int) 0 ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 char * kwnames
[] = {
6945 (char *) "self",(char *) "number", NULL
6948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6953 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6956 if (!SWIG_IsOK(ecode2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6959 arg2
= static_cast< int >(val2
);
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->PopStatusText(arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_Py_Void();
6974 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6976 wxFrame
*arg1
= (wxFrame
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 char * kwnames
[] = {
6985 (char *) "self",(char *) "n", NULL
6988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6993 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6995 if (!SWIG_IsOK(ecode2
)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6998 arg2
= static_cast< int >(val2
);
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 (arg1
)->SetStatusBarPane(arg2
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_Py_Void();
7012 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7013 PyObject
*resultobj
= 0;
7014 wxFrame
*arg1
= (wxFrame
*) 0 ;
7018 PyObject
*swig_obj
[1] ;
7020 if (!args
) SWIG_fail
;
7022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7023 if (!SWIG_IsOK(res1
)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7026 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_From_int(static_cast< int >(result
));
7040 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= 0;
7042 wxFrame
*arg1
= (wxFrame
*) 0 ;
7043 long arg2
= (long) -1 ;
7044 int arg3
= (int) -1 ;
7045 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7047 wxToolBar
*result
= 0 ;
7054 bool temp4
= false ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 PyObject
* obj2
= 0 ;
7058 PyObject
* obj3
= 0 ;
7059 char * kwnames
[] = {
7060 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7068 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7071 if (!SWIG_IsOK(ecode2
)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7074 arg2
= static_cast< long >(val2
);
7077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7078 if (!SWIG_IsOK(ecode3
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7081 arg3
= static_cast< int >(val3
);
7085 arg4
= wxString_in_helper(obj3
);
7086 if (arg4
== NULL
) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7113 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7114 PyObject
*resultobj
= 0;
7115 wxFrame
*arg1
= (wxFrame
*) 0 ;
7116 wxToolBar
*result
= 0 ;
7119 PyObject
*swig_obj
[1] ;
7121 if (!args
) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7127 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7143 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
= 0;
7145 wxFrame
*arg1
= (wxFrame
*) 0 ;
7146 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7153 char * kwnames
[] = {
7154 (char *) "self",(char *) "toolbar", NULL
7157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7162 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7164 if (!SWIG_IsOK(res2
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7167 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 (arg1
)->SetToolBar(arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_Py_Void();
7181 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= 0;
7183 wxFrame
*arg1
= (wxFrame
*) 0 ;
7184 wxString
*arg2
= 0 ;
7188 bool temp2
= false ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "text",(char *) "show", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7203 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7205 arg2
= wxString_in_helper(obj1
);
7206 if (arg2
== NULL
) SWIG_fail
;
7209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7210 if (!SWIG_IsOK(ecode3
)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7213 arg3
= static_cast< bool >(val3
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_Py_Void();
7235 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
= 0;
7237 wxFrame
*arg1
= (wxFrame
*) 0 ;
7238 wxMenu
*arg2
= (wxMenu
*) NULL
;
7243 PyObject
* obj0
= 0 ;
7244 PyObject
* obj1
= 0 ;
7245 char * kwnames
[] = {
7246 (char *) "self",(char *) "menu", NULL
7249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7254 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7257 if (!SWIG_IsOK(res2
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7260 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 (arg1
)->DoMenuUpdates(arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_Py_Void();
7275 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= 0;
7277 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7278 SwigValueWrapper
<wxVisualAttributes
> result
;
7281 PyObject
* obj0
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "variant", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7289 if (!SWIG_IsOK(ecode1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7292 arg1
= static_cast< wxWindowVariant
>(val1
);
7295 if (!wxPyCheckForApp()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7308 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7311 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7312 return SWIG_Py_Void();
7315 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 return SWIG_Python_InitShadowInstance(args
);
7319 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxWindow
*arg1
= (wxWindow
*) 0 ;
7322 int arg2
= (int) (int)-1 ;
7323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7329 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7330 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7332 wxDialog
*result
= 0 ;
7337 bool temp3
= false ;
7342 bool temp7
= false ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7345 PyObject
* obj2
= 0 ;
7346 PyObject
* obj3
= 0 ;
7347 PyObject
* obj4
= 0 ;
7348 PyObject
* obj5
= 0 ;
7349 PyObject
* obj6
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7362 if (!SWIG_IsOK(ecode2
)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7365 arg2
= static_cast< int >(val2
);
7369 arg3
= wxString_in_helper(obj2
);
7370 if (arg3
== NULL
) SWIG_fail
;
7377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7387 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7388 if (!SWIG_IsOK(ecode6
)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7391 arg6
= static_cast< long >(val6
);
7395 arg7
= wxString_in_helper(obj6
);
7396 if (arg7
== NULL
) SWIG_fail
;
7401 if (!wxPyCheckForApp()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7430 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 PyObject
*resultobj
= 0;
7432 wxDialog
*result
= 0 ;
7434 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7436 if (!wxPyCheckForApp()) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (wxDialog
*)new wxDialog();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7449 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7451 wxDialog
*arg1
= (wxDialog
*) 0 ;
7452 wxWindow
*arg2
= (wxWindow
*) 0 ;
7453 int arg3
= (int) (int)-1 ;
7454 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7455 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7456 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7457 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7458 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7459 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7460 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7461 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7470 bool temp4
= false ;
7475 bool temp8
= false ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7479 PyObject
* obj3
= 0 ;
7480 PyObject
* obj4
= 0 ;
7481 PyObject
* obj5
= 0 ;
7482 PyObject
* obj6
= 0 ;
7483 PyObject
* obj7
= 0 ;
7484 char * kwnames
[] = {
7485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7493 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7495 if (!SWIG_IsOK(res2
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7501 if (!SWIG_IsOK(ecode3
)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7504 arg3
= static_cast< int >(val3
);
7508 arg4
= wxString_in_helper(obj3
);
7509 if (arg4
== NULL
) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7526 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7527 if (!SWIG_IsOK(ecode7
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7530 arg7
= static_cast< long >(val7
);
7534 arg8
= wxString_in_helper(obj7
);
7535 if (arg8
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7570 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxDialog
*arg1
= (wxDialog
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7579 PyObject
* obj1
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "returnCode", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7589 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7591 if (!SWIG_IsOK(ecode2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7594 arg2
= static_cast< int >(val2
);
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->SetReturnCode(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_Py_Void();
7608 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxDialog
*arg1
= (wxDialog
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7622 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_From_int(static_cast< int >(result
));
7636 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= 0;
7638 wxDialog
*arg1
= (wxDialog
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "self",(char *) "affirmativeId", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7652 if (!SWIG_IsOK(res1
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7655 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7657 if (!SWIG_IsOK(ecode2
)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7660 arg2
= static_cast< int >(val2
);
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 (arg1
)->SetAffirmativeId(arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_Py_Void();
7674 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 PyObject
*resultobj
= 0;
7676 wxDialog
*arg1
= (wxDialog
*) 0 ;
7680 PyObject
*swig_obj
[1] ;
7682 if (!args
) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7688 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_From_int(static_cast< int >(result
));
7702 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= 0;
7704 wxDialog
*arg1
= (wxDialog
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7712 char * kwnames
[] = {
7713 (char *) "self",(char *) "escapeId", NULL
7716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7721 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7723 if (!SWIG_IsOK(ecode2
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7726 arg2
= static_cast< int >(val2
);
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 (arg1
)->SetEscapeId(arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_Py_Void();
7740 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7741 PyObject
*resultobj
= 0;
7742 wxDialog
*arg1
= (wxDialog
*) 0 ;
7746 PyObject
*swig_obj
[1] ;
7748 if (!args
) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7754 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= SWIG_From_int(static_cast< int >(result
));
7768 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
= 0;
7770 wxDialog
*arg1
= (wxDialog
*) 0 ;
7771 wxString
*arg2
= 0 ;
7772 wxSizer
*result
= 0 ;
7775 bool temp2
= false ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 char * kwnames
[] = {
7779 (char *) "self",(char *) "message", NULL
7782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7787 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7816 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
= 0;
7818 wxDialog
*arg1
= (wxDialog
*) 0 ;
7820 wxSizer
*result
= 0 ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 char * kwnames
[] = {
7828 (char *) "self",(char *) "flags", NULL
7831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7833 if (!SWIG_IsOK(res1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7836 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7837 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7838 if (!SWIG_IsOK(ecode2
)) {
7839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7841 arg2
= static_cast< long >(val2
);
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7857 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
= 0;
7859 wxDialog
*arg1
= (wxDialog
*) 0 ;
7861 wxSizer
*result
= 0 ;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7868 char * kwnames
[] = {
7869 (char *) "self",(char *) "flags", NULL
7872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7877 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7878 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7879 if (!SWIG_IsOK(ecode2
)) {
7880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7882 arg2
= static_cast< long >(val2
);
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7898 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxDialog
*arg1
= (wxDialog
*) 0 ;
7902 wxStdDialogButtonSizer
*result
= 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 char * kwnames
[] = {
7910 (char *) "self",(char *) "flags", NULL
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7918 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7920 if (!SWIG_IsOK(ecode2
)) {
7921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7923 arg2
= static_cast< long >(val2
);
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7937 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7938 PyObject
*resultobj
= 0;
7939 wxDialog
*arg1
= (wxDialog
*) 0 ;
7943 PyObject
*swig_obj
[1] ;
7945 if (!args
) SWIG_fail
;
7947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7948 if (!SWIG_IsOK(res1
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7951 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7967 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7968 PyObject
*resultobj
= 0;
7969 wxDialog
*arg1
= (wxDialog
*) 0 ;
7973 PyObject
*swig_obj
[1] ;
7975 if (!args
) SWIG_fail
;
7977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7978 if (!SWIG_IsOK(res1
)) {
7979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7981 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)(arg1
)->ShowModal();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_From_int(static_cast< int >(result
));
7995 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxDialog
*arg1
= (wxDialog
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "self",(char *) "retCode", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8014 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8016 if (!SWIG_IsOK(ecode2
)) {
8017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8019 arg2
= static_cast< int >(val2
);
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 (arg1
)->EndModal(arg2
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_Py_Void();
8033 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
= 0;
8035 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8036 SwigValueWrapper
<wxVisualAttributes
> result
;
8039 PyObject
* obj0
= 0 ;
8040 char * kwnames
[] = {
8041 (char *) "variant", NULL
8044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8047 if (!SWIG_IsOK(ecode1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8050 arg1
= static_cast< wxWindowVariant
>(val1
);
8053 if (!wxPyCheckForApp()) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8066 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8069 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8070 return SWIG_Py_Void();
8073 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8074 return SWIG_Python_InitShadowInstance(args
);
8077 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
= 0;
8079 wxWindow
*arg1
= (wxWindow
*) 0 ;
8080 int arg2
= (int) (int)-1 ;
8081 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8082 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8083 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8084 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8085 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8086 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8087 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8088 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8089 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8090 wxMiniFrame
*result
= 0 ;
8095 bool temp3
= false ;
8100 bool temp7
= false ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8103 PyObject
* obj2
= 0 ;
8104 PyObject
* obj3
= 0 ;
8105 PyObject
* obj4
= 0 ;
8106 PyObject
* obj5
= 0 ;
8107 PyObject
* obj6
= 0 ;
8108 char * kwnames
[] = {
8109 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8114 if (!SWIG_IsOK(res1
)) {
8115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8120 if (!SWIG_IsOK(ecode2
)) {
8121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8123 arg2
= static_cast< int >(val2
);
8127 arg3
= wxString_in_helper(obj2
);
8128 if (arg3
== NULL
) SWIG_fail
;
8135 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8141 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8145 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8146 if (!SWIG_IsOK(ecode6
)) {
8147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8149 arg6
= static_cast< long >(val6
);
8153 arg7
= wxString_in_helper(obj6
);
8154 if (arg7
== NULL
) SWIG_fail
;
8159 if (!wxPyCheckForApp()) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8188 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8189 PyObject
*resultobj
= 0;
8190 wxMiniFrame
*result
= 0 ;
8192 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxMiniFrame
*)new wxMiniFrame();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8207 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
= 0;
8209 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8210 wxWindow
*arg2
= (wxWindow
*) 0 ;
8211 int arg3
= (int) (int)-1 ;
8212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8214 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8215 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8216 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8217 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8218 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8219 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8228 bool temp4
= false ;
8233 bool temp8
= false ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8236 PyObject
* obj2
= 0 ;
8237 PyObject
* obj3
= 0 ;
8238 PyObject
* obj4
= 0 ;
8239 PyObject
* obj5
= 0 ;
8240 PyObject
* obj6
= 0 ;
8241 PyObject
* obj7
= 0 ;
8242 char * kwnames
[] = {
8243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8248 if (!SWIG_IsOK(res1
)) {
8249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8251 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8253 if (!SWIG_IsOK(res2
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8259 if (!SWIG_IsOK(ecode3
)) {
8260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8262 arg3
= static_cast< int >(val3
);
8266 arg4
= wxString_in_helper(obj3
);
8267 if (arg4
== NULL
) SWIG_fail
;
8274 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8280 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8284 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8285 if (!SWIG_IsOK(ecode7
)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8288 arg7
= static_cast< long >(val7
);
8292 arg8
= wxString_in_helper(obj7
);
8293 if (arg8
== NULL
) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8328 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8331 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8332 return SWIG_Py_Void();
8335 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8336 return SWIG_Python_InitShadowInstance(args
);
8339 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxBitmap
*arg1
= 0 ;
8342 wxWindow
*arg2
= (wxWindow
*) 0 ;
8344 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8345 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8346 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8347 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8348 long arg6
= (long) wxNO_BORDER
;
8349 wxSplashScreenWindow
*result
= 0 ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8362 PyObject
* obj2
= 0 ;
8363 PyObject
* obj3
= 0 ;
8364 PyObject
* obj4
= 0 ;
8365 PyObject
* obj5
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8380 if (!SWIG_IsOK(res2
)) {
8381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8383 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8385 if (!SWIG_IsOK(ecode3
)) {
8386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8388 arg3
= static_cast< int >(val3
);
8392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8402 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8403 if (!SWIG_IsOK(ecode6
)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8406 arg6
= static_cast< long >(val6
);
8409 if (!wxPyCheckForApp()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8422 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8425 wxBitmap
*arg2
= 0 ;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8432 char * kwnames
[] = {
8433 (char *) "self",(char *) "bitmap", NULL
8436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8441 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8443 if (!SWIG_IsOK(res2
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8449 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_Py_Void();
8463 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8464 PyObject
*resultobj
= 0;
8465 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8466 wxBitmap
*result
= 0 ;
8469 PyObject
*swig_obj
[1] ;
8471 if (!args
) SWIG_fail
;
8473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8474 if (!SWIG_IsOK(res1
)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8477 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8482 result
= (wxBitmap
*) &_result_ref
;
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 wxBitmap
* resultptr
= new wxBitmap(*result
);
8489 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8497 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8500 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8501 return SWIG_Py_Void();
8504 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 return SWIG_Python_InitShadowInstance(args
);
8508 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
= 0;
8510 wxBitmap
*arg1
= 0 ;
8513 wxWindow
*arg4
= (wxWindow
*) 0 ;
8514 int arg5
= (int) -1 ;
8515 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8516 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8517 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8518 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8519 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8520 wxSplashScreen
*result
= 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8538 PyObject
* obj3
= 0 ;
8539 PyObject
* obj4
= 0 ;
8540 PyObject
* obj5
= 0 ;
8541 PyObject
* obj6
= 0 ;
8542 PyObject
* obj7
= 0 ;
8543 char * kwnames
[] = {
8544 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8557 if (!SWIG_IsOK(ecode2
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8560 arg2
= static_cast< long >(val2
);
8561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8562 if (!SWIG_IsOK(ecode3
)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8565 arg3
= static_cast< int >(val3
);
8566 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8567 if (!SWIG_IsOK(res4
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8570 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8572 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8573 if (!SWIG_IsOK(ecode5
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8576 arg5
= static_cast< int >(val5
);
8581 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8587 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8591 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8592 if (!SWIG_IsOK(ecode8
)) {
8593 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8595 arg8
= static_cast< long >(val8
);
8598 if (!wxPyCheckForApp()) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8611 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8617 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8625 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_From_long(static_cast< long >(result
));
8639 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8640 PyObject
*resultobj
= 0;
8641 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8642 wxSplashScreenWindow
*result
= 0 ;
8645 PyObject
*swig_obj
[1] ;
8647 if (!args
) SWIG_fail
;
8649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8650 if (!SWIG_IsOK(res1
)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8653 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8667 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8668 PyObject
*resultobj
= 0;
8669 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8673 PyObject
*swig_obj
[1] ;
8675 if (!args
) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8681 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_From_int(static_cast< int >(result
));
8695 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8698 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8699 return SWIG_Py_Void();
8702 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8703 return SWIG_Python_InitShadowInstance(args
);
8706 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= 0;
8708 wxWindow
*arg1
= (wxWindow
*) 0 ;
8709 int arg2
= (int) -1 ;
8710 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8711 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8712 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8713 wxStatusBar
*result
= 0 ;
8720 bool temp4
= false ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8723 PyObject
* obj2
= 0 ;
8724 PyObject
* obj3
= 0 ;
8725 char * kwnames
[] = {
8726 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8737 if (!SWIG_IsOK(ecode2
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8740 arg2
= static_cast< int >(val2
);
8743 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8744 if (!SWIG_IsOK(ecode3
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8747 arg3
= static_cast< long >(val3
);
8751 arg4
= wxString_in_helper(obj3
);
8752 if (arg4
== NULL
) SWIG_fail
;
8757 if (!wxPyCheckForApp()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8778 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8779 PyObject
*resultobj
= 0;
8780 wxStatusBar
*result
= 0 ;
8782 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8784 if (!wxPyCheckForApp()) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (wxStatusBar
*)new wxStatusBar();
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8797 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= 0;
8799 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8800 wxWindow
*arg2
= (wxWindow
*) 0 ;
8801 int arg3
= (int) -1 ;
8802 long arg4
= (long) wxST_SIZEGRIP
;
8803 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8804 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8814 bool temp5
= false ;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8818 PyObject
* obj3
= 0 ;
8819 PyObject
* obj4
= 0 ;
8820 char * kwnames
[] = {
8821 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8826 if (!SWIG_IsOK(res1
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8829 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8831 if (!SWIG_IsOK(res2
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8837 if (!SWIG_IsOK(ecode3
)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8840 arg3
= static_cast< int >(val3
);
8843 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8844 if (!SWIG_IsOK(ecode4
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8847 arg4
= static_cast< long >(val4
);
8851 arg5
= wxString_in_helper(obj4
);
8852 if (arg5
== NULL
) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8879 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
= 0;
8881 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8882 int arg2
= (int) 1 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 char * kwnames
[] = {
8890 (char *) "self",(char *) "number", NULL
8893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8895 if (!SWIG_IsOK(res1
)) {
8896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8898 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8901 if (!SWIG_IsOK(ecode2
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8904 arg2
= static_cast< int >(val2
);
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 (arg1
)->SetFieldsCount(arg2
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_Py_Void();
8919 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8920 PyObject
*resultobj
= 0;
8921 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8925 PyObject
*swig_obj
[1] ;
8927 if (!args
) SWIG_fail
;
8929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8930 if (!SWIG_IsOK(res1
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8933 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_From_int(static_cast< int >(result
));
8947 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
= 0;
8949 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8950 wxString
*arg2
= 0 ;
8951 int arg3
= (int) 0 ;
8954 bool temp2
= false ;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 PyObject
* obj2
= 0 ;
8960 char * kwnames
[] = {
8961 (char *) "self",(char *) "text",(char *) "number", NULL
8964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8969 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8971 arg2
= wxString_in_helper(obj1
);
8972 if (arg2
== NULL
) SWIG_fail
;
8976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8977 if (!SWIG_IsOK(ecode3
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8980 arg3
= static_cast< int >(val3
);
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= SWIG_Py_Void();
9003 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= 0;
9005 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9006 int arg2
= (int) 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9014 char * kwnames
[] = {
9015 (char *) "self",(char *) "number", NULL
9018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9020 if (!SWIG_IsOK(res1
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9023 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9026 if (!SWIG_IsOK(ecode2
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9029 arg2
= static_cast< int >(val2
);
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9050 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
= 0;
9052 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9053 wxString
*arg2
= 0 ;
9054 int arg3
= (int) 0 ;
9057 bool temp2
= false ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 PyObject
* obj2
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "self",(char *) "text",(char *) "number", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9069 if (!SWIG_IsOK(res1
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9072 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9074 arg2
= wxString_in_helper(obj1
);
9075 if (arg2
== NULL
) SWIG_fail
;
9079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9080 if (!SWIG_IsOK(ecode3
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9083 arg3
= static_cast< int >(val3
);
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_Py_Void();
9106 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
= 0;
9108 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9109 int arg2
= (int) 0 ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9116 char * kwnames
[] = {
9117 (char *) "self",(char *) "number", NULL
9120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9122 if (!SWIG_IsOK(res1
)) {
9123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9125 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9128 if (!SWIG_IsOK(ecode2
)) {
9129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9131 arg2
= static_cast< int >(val2
);
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 (arg1
)->PopStatusText(arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_Py_Void();
9146 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= 0;
9148 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9150 int *arg3
= (int *) 0 ;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 char * kwnames
[] = {
9156 (char *) "self",(char *) "widths", NULL
9159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9164 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9166 arg2
= PyList_Size(obj1
);
9167 arg3
= int_LIST_helper(obj1
);
9168 if (arg3
== NULL
) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_Py_Void();
9178 if (arg3
) delete [] arg3
;
9183 if (arg3
) delete [] arg3
;
9189 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
= 0;
9191 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9193 int *arg3
= (int *) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "self",(char *) "styles", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9207 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9209 arg2
= PyList_Size(obj1
);
9210 arg3
= int_LIST_helper(obj1
);
9211 if (arg3
== NULL
) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_Py_Void();
9221 if (arg3
) delete [] arg3
;
9226 if (arg3
) delete [] arg3
;
9232 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
= 0;
9234 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "self",(char *) "i", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9252 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9254 if (!SWIG_IsOK(ecode2
)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9257 arg2
= static_cast< int >(val2
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9271 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9280 PyObject
* obj1
= 0 ;
9281 char * kwnames
[] = {
9282 (char *) "self",(char *) "height", NULL
9285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9287 if (!SWIG_IsOK(res1
)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9290 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9292 if (!SWIG_IsOK(ecode2
)) {
9293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9295 arg2
= static_cast< int >(val2
);
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 (arg1
)->SetMinHeight(arg2
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_Py_Void();
9309 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9310 PyObject
*resultobj
= 0;
9311 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9315 PyObject
*swig_obj
[1] ;
9317 if (!args
) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9323 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_From_int(static_cast< int >(result
));
9337 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9351 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_From_int(static_cast< int >(result
));
9365 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= 0;
9367 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9368 SwigValueWrapper
<wxVisualAttributes
> result
;
9371 PyObject
* obj0
= 0 ;
9372 char * kwnames
[] = {
9373 (char *) "variant", NULL
9376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9379 if (!SWIG_IsOK(ecode1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9382 arg1
= static_cast< wxWindowVariant
>(val1
);
9385 if (!wxPyCheckForApp()) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9398 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9401 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9402 return SWIG_Py_Void();
9405 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9406 return SWIG_Python_InitShadowInstance(args
);
9409 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9410 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9415 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9416 PyObject
*pyobj
= 0;
9420 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9422 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9429 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
= 0;
9431 wxWindow
*arg1
= (wxWindow
*) 0 ;
9432 int arg2
= (int) -1 ;
9433 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9434 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9435 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9436 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9437 long arg5
= (long) wxSP_3D
;
9438 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9439 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9440 wxSplitterWindow
*result
= 0 ;
9449 bool temp6
= false ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 PyObject
* obj2
= 0 ;
9453 PyObject
* obj3
= 0 ;
9454 PyObject
* obj4
= 0 ;
9455 PyObject
* obj5
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9465 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9468 if (!SWIG_IsOK(ecode2
)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9471 arg2
= static_cast< int >(val2
);
9476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9482 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9486 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9487 if (!SWIG_IsOK(ecode5
)) {
9488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9490 arg5
= static_cast< long >(val5
);
9494 arg6
= wxString_in_helper(obj5
);
9495 if (arg6
== NULL
) SWIG_fail
;
9500 if (!wxPyCheckForApp()) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9521 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9522 PyObject
*resultobj
= 0;
9523 wxSplitterWindow
*result
= 0 ;
9525 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9527 if (!wxPyCheckForApp()) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9540 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= 0;
9542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9543 wxWindow
*arg2
= (wxWindow
*) 0 ;
9544 int arg3
= (int) -1 ;
9545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9549 long arg6
= (long) wxSP_3D
;
9550 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9551 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9563 bool temp7
= false ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9566 PyObject
* obj2
= 0 ;
9567 PyObject
* obj3
= 0 ;
9568 PyObject
* obj4
= 0 ;
9569 PyObject
* obj5
= 0 ;
9570 PyObject
* obj6
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9580 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9582 if (!SWIG_IsOK(res2
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9585 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9588 if (!SWIG_IsOK(ecode3
)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9591 arg3
= static_cast< int >(val3
);
9596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9606 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9607 if (!SWIG_IsOK(ecode6
)) {
9608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9610 arg6
= static_cast< long >(val6
);
9614 arg7
= wxString_in_helper(obj6
);
9615 if (arg7
== NULL
) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9642 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9643 PyObject
*resultobj
= 0;
9644 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9645 wxWindow
*result
= 0 ;
9648 PyObject
*swig_obj
[1] ;
9650 if (!args
) SWIG_fail
;
9652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9653 if (!SWIG_IsOK(res1
)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9656 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= wxPyMake_wxObject(result
, 0);
9672 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9673 PyObject
*resultobj
= 0;
9674 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9675 wxWindow
*result
= 0 ;
9678 PyObject
*swig_obj
[1] ;
9680 if (!args
) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9686 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= wxPyMake_wxObject(result
, 0);
9702 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= 0;
9704 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "self",(char *) "mode", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9721 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9723 if (!SWIG_IsOK(ecode2
)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9726 arg2
= static_cast< int >(val2
);
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SetSplitMode(arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_Py_Void();
9740 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 PyObject
*resultobj
= 0;
9742 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9746 PyObject
*swig_obj
[1] ;
9748 if (!args
) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9754 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_From_int(static_cast< int >(result
));
9768 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
= 0;
9770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9771 wxWindow
*arg2
= (wxWindow
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "window", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9787 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9789 if (!SWIG_IsOK(res2
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 (arg1
)->Initialize(arg2
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_Py_Void();
9806 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
= 0;
9808 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9809 wxWindow
*arg2
= (wxWindow
*) 0 ;
9810 wxWindow
*arg3
= (wxWindow
*) 0 ;
9811 int arg4
= (int) 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 PyObject
* obj2
= 0 ;
9824 PyObject
* obj3
= 0 ;
9825 char * kwnames
[] = {
9826 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9831 if (!SWIG_IsOK(res1
)) {
9832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9834 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9836 if (!SWIG_IsOK(res2
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9840 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9841 if (!SWIG_IsOK(res3
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9844 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9847 if (!SWIG_IsOK(ecode4
)) {
9848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9850 arg4
= static_cast< int >(val4
);
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9867 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
= 0;
9869 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9870 wxWindow
*arg2
= (wxWindow
*) 0 ;
9871 wxWindow
*arg3
= (wxWindow
*) 0 ;
9872 int arg4
= (int) 0 ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9884 PyObject
* obj2
= 0 ;
9885 PyObject
* obj3
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9895 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9901 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9902 if (!SWIG_IsOK(res3
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9905 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9908 if (!SWIG_IsOK(ecode4
)) {
9909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9911 arg4
= static_cast< int >(val4
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9928 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= 0;
9930 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9931 wxWindow
*arg2
= (wxWindow
*) NULL
;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9939 char * kwnames
[] = {
9940 (char *) "self",(char *) "toRemove", NULL
9943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9945 if (!SWIG_IsOK(res1
)) {
9946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9948 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9951 if (!SWIG_IsOK(res2
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= (bool)(arg1
)->Unsplit(arg2
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9971 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
= 0;
9973 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9974 wxWindow
*arg2
= (wxWindow
*) 0 ;
9975 wxWindow
*arg3
= (wxWindow
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9985 PyObject
* obj2
= 0 ;
9986 char * kwnames
[] = {
9987 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9995 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9997 if (!SWIG_IsOK(res2
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10001 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10002 if (!SWIG_IsOK(res3
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10005 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10021 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10022 PyObject
*resultobj
= 0;
10023 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10026 PyObject
*swig_obj
[1] ;
10028 if (!args
) SWIG_fail
;
10029 swig_obj
[0] = args
;
10030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10031 if (!SWIG_IsOK(res1
)) {
10032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10034 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->UpdateSize();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10054 PyObject
*swig_obj
[1] ;
10056 if (!args
) SWIG_fail
;
10057 swig_obj
[0] = args
;
10058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10062 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10078 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
= 0;
10080 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char * kwnames
[] = {
10089 (char *) "self",(char *) "width", NULL
10092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10097 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10099 if (!SWIG_IsOK(ecode2
)) {
10100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10102 arg2
= static_cast< int >(val2
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->SetSashSize(arg2
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_Py_Void();
10116 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
= 0;
10118 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 char * kwnames
[] = {
10127 (char *) "self",(char *) "width", NULL
10130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10132 if (!SWIG_IsOK(res1
)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10135 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10137 if (!SWIG_IsOK(ecode2
)) {
10138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10140 arg2
= static_cast< int >(val2
);
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 (arg1
)->SetBorderSize(arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_Py_Void();
10154 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10160 PyObject
*swig_obj
[1] ;
10162 if (!args
) SWIG_fail
;
10163 swig_obj
[0] = args
;
10164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10168 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_From_int(static_cast< int >(result
));
10182 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10183 PyObject
*resultobj
= 0;
10184 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10196 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_From_int(static_cast< int >(result
));
10210 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10214 bool arg3
= (bool) true ;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 PyObject
* obj2
= 0 ;
10224 char * kwnames
[] = {
10225 (char *) "self",(char *) "position",(char *) "redraw", NULL
10228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10230 if (!SWIG_IsOK(res1
)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10233 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10235 if (!SWIG_IsOK(ecode2
)) {
10236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10238 arg2
= static_cast< int >(val2
);
10240 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10241 if (!SWIG_IsOK(ecode3
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10244 arg3
= static_cast< bool >(val3
);
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 (arg1
)->SetSashPosition(arg2
,arg3
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_Py_Void();
10259 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10260 PyObject
*resultobj
= 0;
10261 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10265 PyObject
*swig_obj
[1] ;
10267 if (!args
) SWIG_fail
;
10268 swig_obj
[0] = args
;
10269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10273 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_From_int(static_cast< int >(result
));
10287 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
= 0;
10289 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 char * kwnames
[] = {
10298 (char *) "self",(char *) "gravity", NULL
10301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10306 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10307 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10308 if (!SWIG_IsOK(ecode2
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10311 arg2
= static_cast< double >(val2
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->SetSashGravity(arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_Py_Void();
10325 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 PyObject
*resultobj
= 0;
10327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10331 PyObject
*swig_obj
[1] ;
10333 if (!args
) SWIG_fail
;
10334 swig_obj
[0] = args
;
10335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10339 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_From_double(static_cast< double >(result
));
10353 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= 0;
10355 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char * kwnames
[] = {
10364 (char *) "self",(char *) "min", NULL
10367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10372 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10374 if (!SWIG_IsOK(ecode2
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10377 arg2
= static_cast< int >(val2
);
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->SetMinimumPaneSize(arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_Py_Void();
10391 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 PyObject
*resultobj
= 0;
10393 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10397 PyObject
*swig_obj
[1] ;
10399 if (!args
) SWIG_fail
;
10400 swig_obj
[0] = args
;
10401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10402 if (!SWIG_IsOK(res1
)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10405 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_int(static_cast< int >(result
));
10419 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10424 int arg4
= (int) 5 ;
10434 PyObject
* obj0
= 0 ;
10435 PyObject
* obj1
= 0 ;
10436 PyObject
* obj2
= 0 ;
10437 PyObject
* obj3
= 0 ;
10438 char * kwnames
[] = {
10439 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10444 if (!SWIG_IsOK(res1
)) {
10445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10447 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10449 if (!SWIG_IsOK(ecode2
)) {
10450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10452 arg2
= static_cast< int >(val2
);
10453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10454 if (!SWIG_IsOK(ecode3
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10457 arg3
= static_cast< int >(val3
);
10459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10460 if (!SWIG_IsOK(ecode4
)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10463 arg4
= static_cast< int >(val4
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10480 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10481 PyObject
*resultobj
= 0;
10482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10485 PyObject
*swig_obj
[1] ;
10487 if (!args
) SWIG_fail
;
10488 swig_obj
[0] = args
;
10489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10490 if (!SWIG_IsOK(res1
)) {
10491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10493 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->SizeWindows();
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_Py_Void();
10507 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
= 0;
10509 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "self",(char *) "needUpdating", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10523 if (!SWIG_IsOK(res1
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10526 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10527 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10528 if (!SWIG_IsOK(ecode2
)) {
10529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10531 arg2
= static_cast< bool >(val2
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 (arg1
)->SetNeedUpdating(arg2
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10559 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10575 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= 0;
10577 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10578 SwigValueWrapper
<wxVisualAttributes
> result
;
10581 PyObject
* obj0
= 0 ;
10582 char * kwnames
[] = {
10583 (char *) "variant", NULL
10586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10588 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10589 if (!SWIG_IsOK(ecode1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10592 arg1
= static_cast< wxWindowVariant
>(val1
);
10595 if (!wxPyCheckForApp()) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10608 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10611 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10612 return SWIG_Py_Void();
10615 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 return SWIG_Python_InitShadowInstance(args
);
10619 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
= 0;
10621 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10622 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10623 wxSplitterEvent
*result
= 0 ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char * kwnames
[] = {
10631 (char *) "type",(char *) "splitter", NULL
10634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10636 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10637 if (!SWIG_IsOK(ecode1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10640 arg1
= static_cast< wxEventType
>(val1
);
10643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10644 if (!SWIG_IsOK(res2
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10647 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10662 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
= 0;
10664 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 PyObject
* obj1
= 0 ;
10672 char * kwnames
[] = {
10673 (char *) "self",(char *) "pos", NULL
10676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10678 if (!SWIG_IsOK(res1
)) {
10679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10681 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10683 if (!SWIG_IsOK(ecode2
)) {
10684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10686 arg2
= static_cast< int >(val2
);
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 (arg1
)->SetSashPosition(arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_Py_Void();
10700 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10701 PyObject
*resultobj
= 0;
10702 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10706 PyObject
*swig_obj
[1] ;
10708 if (!args
) SWIG_fail
;
10709 swig_obj
[0] = args
;
10710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10714 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= SWIG_From_int(static_cast< int >(result
));
10728 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10729 PyObject
*resultobj
= 0;
10730 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10731 wxWindow
*result
= 0 ;
10734 PyObject
*swig_obj
[1] ;
10736 if (!args
) SWIG_fail
;
10737 swig_obj
[0] = args
;
10738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10739 if (!SWIG_IsOK(res1
)) {
10740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10742 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= wxPyMake_wxObject(result
, 0);
10758 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10759 PyObject
*resultobj
= 0;
10760 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10764 PyObject
*swig_obj
[1] ;
10766 if (!args
) SWIG_fail
;
10767 swig_obj
[0] = args
;
10768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10772 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_From_int(static_cast< int >(result
));
10786 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10787 PyObject
*resultobj
= 0;
10788 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10792 PyObject
*swig_obj
[1] ;
10794 if (!args
) SWIG_fail
;
10795 swig_obj
[0] = args
;
10796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10797 if (!SWIG_IsOK(res1
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10800 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_From_int(static_cast< int >(result
));
10814 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10817 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10818 return SWIG_Py_Void();
10821 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10822 return SWIG_Python_InitShadowInstance(args
);
10825 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10826 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10831 SWIGINTERN PyObject
*SashNameStr_get(void) {
10832 PyObject
*pyobj
= 0;
10836 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10838 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10845 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10846 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10851 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10852 PyObject
*pyobj
= 0;
10856 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10858 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10865 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxWindow
*arg1
= (wxWindow
*) 0 ;
10868 int arg2
= (int) -1 ;
10869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10873 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10874 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10875 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10876 wxSashWindow
*result
= 0 ;
10885 bool temp6
= false ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 PyObject
* obj2
= 0 ;
10889 PyObject
* obj3
= 0 ;
10890 PyObject
* obj4
= 0 ;
10891 PyObject
* obj5
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10901 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10904 if (!SWIG_IsOK(ecode2
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10907 arg2
= static_cast< int >(val2
);
10912 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10918 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10922 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10923 if (!SWIG_IsOK(ecode5
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10926 arg5
= static_cast< long >(val5
);
10930 arg6
= wxString_in_helper(obj5
);
10931 if (arg6
== NULL
) SWIG_fail
;
10936 if (!wxPyCheckForApp()) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10957 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10958 PyObject
*resultobj
= 0;
10959 wxSashWindow
*result
= 0 ;
10961 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10963 if (!wxPyCheckForApp()) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (wxSashWindow
*)new wxSashWindow();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10976 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10979 wxWindow
*arg2
= (wxWindow
*) 0 ;
10980 int arg3
= (int) -1 ;
10981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10985 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10986 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10987 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10999 bool temp7
= false ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 PyObject
* obj2
= 0 ;
11003 PyObject
* obj3
= 0 ;
11004 PyObject
* obj4
= 0 ;
11005 PyObject
* obj5
= 0 ;
11006 PyObject
* obj6
= 0 ;
11007 char * kwnames
[] = {
11008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11013 if (!SWIG_IsOK(res1
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11016 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11018 if (!SWIG_IsOK(res2
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11024 if (!SWIG_IsOK(ecode3
)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11027 arg3
= static_cast< int >(val3
);
11032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11042 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11043 if (!SWIG_IsOK(ecode6
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11046 arg6
= static_cast< long >(val6
);
11050 arg7
= wxString_in_helper(obj6
);
11051 if (arg7
== NULL
) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
= 0;
11080 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11081 wxSashEdgePosition arg2
;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 PyObject
* obj2
= 0 ;
11092 char * kwnames
[] = {
11093 (char *) "self",(char *) "edge",(char *) "sash", NULL
11096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11101 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11103 if (!SWIG_IsOK(ecode2
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11106 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11107 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11108 if (!SWIG_IsOK(ecode3
)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11111 arg3
= static_cast< bool >(val3
);
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->SetSashVisible(arg2
,arg3
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_Py_Void();
11125 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
= 0;
11127 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11128 wxSashEdgePosition arg2
;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char * kwnames
[] = {
11137 (char *) "self",(char *) "edge", NULL
11140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11145 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11147 if (!SWIG_IsOK(ecode2
)) {
11148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11150 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11166 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
= 0;
11168 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11169 wxSashEdgePosition arg2
;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 PyObject
* obj2
= 0 ;
11180 char * kwnames
[] = {
11181 (char *) "self",(char *) "edge",(char *) "border", NULL
11184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11189 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11191 if (!SWIG_IsOK(ecode2
)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11194 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11195 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11196 if (!SWIG_IsOK(ecode3
)) {
11197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11199 arg3
= static_cast< bool >(val3
);
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 (arg1
)->SetSashBorder(arg2
,arg3
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_Py_Void();
11213 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= 0;
11215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11216 wxSashEdgePosition arg2
;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 char * kwnames
[] = {
11225 (char *) "self",(char *) "edge", NULL
11228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11233 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11235 if (!SWIG_IsOK(ecode2
)) {
11236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11238 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11254 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
= 0;
11256 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11257 wxSashEdgePosition arg2
;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 char * kwnames
[] = {
11266 (char *) "self",(char *) "edge", NULL
11269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11271 if (!SWIG_IsOK(res1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11274 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11276 if (!SWIG_IsOK(ecode2
)) {
11277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11279 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_From_int(static_cast< int >(result
));
11293 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
= 0;
11295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char * kwnames
[] = {
11304 (char *) "self",(char *) "width", NULL
11307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11312 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11314 if (!SWIG_IsOK(ecode2
)) {
11315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11317 arg2
= static_cast< int >(val2
);
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 (arg1
)->SetDefaultBorderSize(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= SWIG_Py_Void();
11331 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11332 PyObject
*resultobj
= 0;
11333 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11337 PyObject
*swig_obj
[1] ;
11339 if (!args
) SWIG_fail
;
11340 swig_obj
[0] = args
;
11341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11342 if (!SWIG_IsOK(res1
)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11345 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_From_int(static_cast< int >(result
));
11359 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
= 0;
11361 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 char * kwnames
[] = {
11370 (char *) "self",(char *) "width", NULL
11373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11375 if (!SWIG_IsOK(res1
)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11378 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11380 if (!SWIG_IsOK(ecode2
)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11383 arg2
= static_cast< int >(val2
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 (arg1
)->SetExtraBorderSize(arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_Py_Void();
11397 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11411 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_int(static_cast< int >(result
));
11425 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
= 0;
11427 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "self",(char *) "min", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11444 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11446 if (!SWIG_IsOK(ecode2
)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11449 arg2
= static_cast< int >(val2
);
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 (arg1
)->SetMinimumSizeX(arg2
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= SWIG_Py_Void();
11463 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
= 0;
11465 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 char * kwnames
[] = {
11474 (char *) "self",(char *) "min", NULL
11477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11482 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11484 if (!SWIG_IsOK(ecode2
)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11487 arg2
= static_cast< int >(val2
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 (arg1
)->SetMinimumSizeY(arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_Py_Void();
11501 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11515 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_int(static_cast< int >(result
));
11529 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11543 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_From_int(static_cast< int >(result
));
11557 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "max", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11576 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11578 if (!SWIG_IsOK(ecode2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11581 arg2
= static_cast< int >(val2
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 (arg1
)->SetMaximumSizeX(arg2
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_Py_Void();
11595 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
= 0;
11597 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char * kwnames
[] = {
11606 (char *) "self",(char *) "max", NULL
11609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11614 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11616 if (!SWIG_IsOK(ecode2
)) {
11617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11619 arg2
= static_cast< int >(val2
);
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->SetMaximumSizeY(arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= SWIG_Py_Void();
11633 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11634 PyObject
*resultobj
= 0;
11635 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11639 PyObject
*swig_obj
[1] ;
11641 if (!args
) SWIG_fail
;
11642 swig_obj
[0] = args
;
11643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11647 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_From_int(static_cast< int >(result
));
11661 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11662 PyObject
*resultobj
= 0;
11663 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11667 PyObject
*swig_obj
[1] ;
11669 if (!args
) SWIG_fail
;
11670 swig_obj
[0] = args
;
11671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11672 if (!SWIG_IsOK(res1
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11675 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_From_int(static_cast< int >(result
));
11689 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
= 0;
11691 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11694 int arg4
= (int) 2 ;
11695 wxSashEdgePosition result
;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 PyObject
* obj2
= 0 ;
11707 PyObject
* obj3
= 0 ;
11708 char * kwnames
[] = {
11709 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11714 if (!SWIG_IsOK(res1
)) {
11715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11717 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11719 if (!SWIG_IsOK(ecode2
)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11722 arg2
= static_cast< int >(val2
);
11723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11724 if (!SWIG_IsOK(ecode3
)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11727 arg3
= static_cast< int >(val3
);
11729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11730 if (!SWIG_IsOK(ecode4
)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11733 arg4
= static_cast< int >(val4
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11753 PyObject
*swig_obj
[1] ;
11755 if (!args
) SWIG_fail
;
11756 swig_obj
[0] = args
;
11757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11761 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 (arg1
)->SizeWindows();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_Py_Void();
11775 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11778 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11779 return SWIG_Py_Void();
11782 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 return SWIG_Python_InitShadowInstance(args
);
11786 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
= 0;
11788 int arg1
= (int) 0 ;
11789 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11790 wxSashEvent
*result
= 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char * kwnames
[] = {
11798 (char *) "id",(char *) "edge", NULL
11801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11804 if (!SWIG_IsOK(ecode1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11807 arg1
= static_cast< int >(val1
);
11810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11811 if (!SWIG_IsOK(ecode2
)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11814 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11829 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
= 0;
11831 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11832 wxSashEdgePosition arg2
;
11837 PyObject
* obj0
= 0 ;
11838 PyObject
* obj1
= 0 ;
11839 char * kwnames
[] = {
11840 (char *) "self",(char *) "edge", NULL
11843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11848 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11850 if (!SWIG_IsOK(ecode2
)) {
11851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11853 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 (arg1
)->SetEdge(arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_Py_Void();
11867 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11868 PyObject
*resultobj
= 0;
11869 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11870 wxSashEdgePosition result
;
11873 PyObject
*swig_obj
[1] ;
11875 if (!args
) SWIG_fail
;
11876 swig_obj
[0] = args
;
11877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11881 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_From_int(static_cast< int >(result
));
11895 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= 0;
11897 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "rect", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11913 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11916 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_Py_Void();
11931 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 PyObject
*resultobj
= 0;
11933 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11937 PyObject
*swig_obj
[1] ;
11939 if (!args
) SWIG_fail
;
11940 swig_obj
[0] = args
;
11941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11945 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11959 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
= 0;
11961 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11962 wxSashDragStatus arg2
;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 char * kwnames
[] = {
11970 (char *) "self",(char *) "status", NULL
11973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11978 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11980 if (!SWIG_IsOK(ecode2
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11983 arg2
= static_cast< wxSashDragStatus
>(val2
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->SetDragStatus(arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_Py_Void();
11997 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11998 PyObject
*resultobj
= 0;
11999 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12000 wxSashDragStatus result
;
12003 PyObject
*swig_obj
[1] ;
12005 if (!args
) SWIG_fail
;
12006 swig_obj
[0] = args
;
12007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12008 if (!SWIG_IsOK(res1
)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12011 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_From_int(static_cast< int >(result
));
12025 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12028 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12029 return SWIG_Py_Void();
12032 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 return SWIG_Python_InitShadowInstance(args
);
12036 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
= 0;
12038 int arg1
= (int) 0 ;
12039 wxQueryLayoutInfoEvent
*result
= 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char * kwnames
[] = {
12044 (char *) "id", NULL
12047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12049 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12050 if (!SWIG_IsOK(ecode1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12053 arg1
= static_cast< int >(val1
);
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12068 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
= 0;
12070 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char * kwnames
[] = {
12079 (char *) "self",(char *) "length", NULL
12082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12087 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12089 if (!SWIG_IsOK(ecode2
)) {
12090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12092 arg2
= static_cast< int >(val2
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 (arg1
)->SetRequestedLength(arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_Py_Void();
12106 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12120 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int(static_cast< int >(result
));
12134 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char * kwnames
[] = {
12145 (char *) "self",(char *) "flags", NULL
12148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12153 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12155 if (!SWIG_IsOK(ecode2
)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12158 arg2
= static_cast< int >(val2
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetFlags(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 PyObject
*resultobj
= 0;
12174 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12178 PyObject
*swig_obj
[1] ;
12180 if (!args
) SWIG_fail
;
12181 swig_obj
[0] = args
;
12182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12186 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_From_int(static_cast< int >(result
));
12200 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
= 0;
12202 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "self",(char *) "size", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12218 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12221 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 (arg1
)->SetSize((wxSize
const &)*arg2
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_Py_Void();
12236 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12237 PyObject
*resultobj
= 0;
12238 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12242 PyObject
*swig_obj
[1] ;
12244 if (!args
) SWIG_fail
;
12245 swig_obj
[0] = args
;
12246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12250 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12264 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
= 0;
12266 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12267 wxLayoutOrientation arg2
;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 char * kwnames
[] = {
12275 (char *) "self",(char *) "orient", NULL
12278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12283 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12285 if (!SWIG_IsOK(ecode2
)) {
12286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12288 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->SetOrientation(arg2
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_Py_Void();
12302 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 PyObject
*resultobj
= 0;
12304 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12305 wxLayoutOrientation result
;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12316 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_From_int(static_cast< int >(result
));
12330 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= 0;
12332 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12333 wxLayoutAlignment arg2
;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 char * kwnames
[] = {
12341 (char *) "self",(char *) "align", NULL
12344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12349 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12351 if (!SWIG_IsOK(ecode2
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12354 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->SetAlignment(arg2
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_Py_Void();
12368 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12369 PyObject
*resultobj
= 0;
12370 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12371 wxLayoutAlignment result
;
12374 PyObject
*swig_obj
[1] ;
12376 if (!args
) SWIG_fail
;
12377 swig_obj
[0] = args
;
12378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12379 if (!SWIG_IsOK(res1
)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12382 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_From_int(static_cast< int >(result
));
12396 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12399 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12400 return SWIG_Py_Void();
12403 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12404 return SWIG_Python_InitShadowInstance(args
);
12407 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 int arg1
= (int) 0 ;
12410 wxCalculateLayoutEvent
*result
= 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char * kwnames
[] = {
12415 (char *) "id", NULL
12418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12420 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12421 if (!SWIG_IsOK(ecode1
)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12424 arg1
= static_cast< int >(val1
);
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12439 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
= 0;
12441 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char * kwnames
[] = {
12450 (char *) "self",(char *) "flags", NULL
12453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12458 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12460 if (!SWIG_IsOK(ecode2
)) {
12461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12463 arg2
= static_cast< int >(val2
);
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 (arg1
)->SetFlags(arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_Py_Void();
12477 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12478 PyObject
*resultobj
= 0;
12479 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12483 PyObject
*swig_obj
[1] ;
12485 if (!args
) SWIG_fail
;
12486 swig_obj
[0] = args
;
12487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12488 if (!SWIG_IsOK(res1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12491 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_From_int(static_cast< int >(result
));
12505 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= 0;
12507 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "rect", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12523 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->SetRect((wxRect
const &)*arg2
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= SWIG_Py_Void();
12541 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12542 PyObject
*resultobj
= 0;
12543 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12547 PyObject
*swig_obj
[1] ;
12549 if (!args
) SWIG_fail
;
12550 swig_obj
[0] = args
;
12551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12552 if (!SWIG_IsOK(res1
)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12555 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12569 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12572 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12573 return SWIG_Py_Void();
12576 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12577 return SWIG_Python_InitShadowInstance(args
);
12580 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= 0;
12582 wxWindow
*arg1
= (wxWindow
*) 0 ;
12583 int arg2
= (int) -1 ;
12584 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12585 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12586 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12587 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12588 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12589 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12590 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12591 wxSashLayoutWindow
*result
= 0 ;
12600 bool temp6
= false ;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 PyObject
* obj2
= 0 ;
12604 PyObject
* obj3
= 0 ;
12605 PyObject
* obj4
= 0 ;
12606 PyObject
* obj5
= 0 ;
12607 char * kwnames
[] = {
12608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12613 if (!SWIG_IsOK(res1
)) {
12614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12616 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12619 if (!SWIG_IsOK(ecode2
)) {
12620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12622 arg2
= static_cast< int >(val2
);
12627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12637 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12638 if (!SWIG_IsOK(ecode5
)) {
12639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12641 arg5
= static_cast< long >(val5
);
12645 arg6
= wxString_in_helper(obj5
);
12646 if (arg6
== NULL
) SWIG_fail
;
12651 if (!wxPyCheckForApp()) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12672 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12673 PyObject
*resultobj
= 0;
12674 wxSashLayoutWindow
*result
= 0 ;
12676 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12678 if (!wxPyCheckForApp()) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12691 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
= 0;
12693 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12694 wxWindow
*arg2
= (wxWindow
*) 0 ;
12695 int arg3
= (int) -1 ;
12696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12700 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12701 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12714 bool temp7
= false ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 PyObject
* obj2
= 0 ;
12718 PyObject
* obj3
= 0 ;
12719 PyObject
* obj4
= 0 ;
12720 PyObject
* obj5
= 0 ;
12721 PyObject
* obj6
= 0 ;
12722 char * kwnames
[] = {
12723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12728 if (!SWIG_IsOK(res1
)) {
12729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12731 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12733 if (!SWIG_IsOK(res2
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12736 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12739 if (!SWIG_IsOK(ecode3
)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12742 arg3
= static_cast< int >(val3
);
12747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12757 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12758 if (!SWIG_IsOK(ecode6
)) {
12759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12761 arg6
= static_cast< long >(val6
);
12765 arg7
= wxString_in_helper(obj6
);
12766 if (arg7
== NULL
) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12794 PyObject
*resultobj
= 0;
12795 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12796 wxLayoutAlignment result
;
12799 PyObject
*swig_obj
[1] ;
12801 if (!args
) SWIG_fail
;
12802 swig_obj
[0] = args
;
12803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12804 if (!SWIG_IsOK(res1
)) {
12805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12807 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_From_int(static_cast< int >(result
));
12821 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12822 PyObject
*resultobj
= 0;
12823 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12824 wxLayoutOrientation result
;
12827 PyObject
*swig_obj
[1] ;
12829 if (!args
) SWIG_fail
;
12830 swig_obj
[0] = args
;
12831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12835 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= SWIG_From_int(static_cast< int >(result
));
12849 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= 0;
12851 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12852 wxLayoutAlignment arg2
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char * kwnames
[] = {
12860 (char *) "self",(char *) "alignment", NULL
12863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12868 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12870 if (!SWIG_IsOK(ecode2
)) {
12871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12873 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 (arg1
)->SetAlignment(arg2
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_Py_Void();
12887 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= 0;
12889 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char * kwnames
[] = {
12897 (char *) "self",(char *) "size", NULL
12900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12905 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12908 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_Py_Void();
12923 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= 0;
12925 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12926 wxLayoutOrientation arg2
;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "orientation", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12942 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12944 if (!SWIG_IsOK(ecode2
)) {
12945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12947 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->SetOrientation(arg2
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_Py_Void();
12961 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12965 return SWIG_Py_Void();
12968 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 return SWIG_Python_InitShadowInstance(args
);
12972 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 PyObject
*resultobj
= 0;
12974 wxLayoutAlgorithm
*result
= 0 ;
12976 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12990 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12991 PyObject
*resultobj
= 0;
12992 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12995 PyObject
*swig_obj
[1] ;
12997 if (!args
) SWIG_fail
;
12998 swig_obj
[0] = args
;
12999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13000 if (!SWIG_IsOK(res1
)) {
13001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13003 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_Py_Void();
13018 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
= 0;
13020 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13021 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13022 wxRect
*arg3
= (wxRect
*) NULL
;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 char * kwnames
[] = {
13034 (char *) "self",(char *) "frame",(char *) "rect", NULL
13037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13042 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13044 if (!SWIG_IsOK(res2
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13047 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13049 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13050 if (!SWIG_IsOK(res3
)) {
13051 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13053 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13070 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
= 0;
13072 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13073 wxFrame
*arg2
= (wxFrame
*) 0 ;
13074 wxWindow
*arg3
= (wxWindow
*) NULL
;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 PyObject
* obj2
= 0 ;
13085 char * kwnames
[] = {
13086 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13094 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13095 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13096 if (!SWIG_IsOK(res2
)) {
13097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13099 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13101 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13102 if (!SWIG_IsOK(res3
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13105 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13122 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13125 wxWindow
*arg2
= (wxWindow
*) 0 ;
13126 wxWindow
*arg3
= (wxWindow
*) NULL
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13146 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13148 if (!SWIG_IsOK(res2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13151 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13153 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13154 if (!SWIG_IsOK(res3
)) {
13155 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13157 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13174 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13177 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13178 return SWIG_Py_Void();
13181 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 return SWIG_Python_InitShadowInstance(args
);
13185 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
= 0;
13187 wxWindow
*arg1
= (wxWindow
*) 0 ;
13188 int arg2
= (int) wxBORDER_NONE
;
13189 wxPopupWindow
*result
= 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "parent",(char *) "flags", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13208 if (!SWIG_IsOK(ecode2
)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13211 arg2
= static_cast< int >(val2
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13226 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13227 PyObject
*resultobj
= 0;
13228 wxPopupWindow
*result
= 0 ;
13230 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (wxPopupWindow
*)new wxPopupWindow();
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13244 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13247 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13248 return SWIG_Py_Void();
13251 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13252 return SWIG_Python_InitShadowInstance(args
);
13255 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
= 0;
13257 wxWindow
*arg1
= (wxWindow
*) 0 ;
13258 int arg2
= (int) wxBORDER_NONE
;
13259 wxPyPopupTransientWindow
*result
= 0 ;
13264 PyObject
* obj0
= 0 ;
13265 PyObject
* obj1
= 0 ;
13266 char * kwnames
[] = {
13267 (char *) "parent",(char *) "style", NULL
13270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13278 if (!SWIG_IsOK(ecode2
)) {
13279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13281 arg2
= static_cast< int >(val2
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13296 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13297 PyObject
*resultobj
= 0;
13298 wxPyPopupTransientWindow
*result
= 0 ;
13300 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13314 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13318 return SWIG_Py_Void();
13321 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 return SWIG_Python_InitShadowInstance(args
);
13325 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
= 0;
13327 wxWindow
*arg1
= (wxWindow
*) 0 ;
13328 wxString
*arg2
= 0 ;
13329 int arg3
= (int) 100 ;
13330 wxRect
*arg4
= (wxRect
*) NULL
;
13331 wxTipWindow
*result
= 0 ;
13334 bool temp2
= false ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 PyObject
* obj2
= 0 ;
13342 PyObject
* obj3
= 0 ;
13343 char * kwnames
[] = {
13344 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13349 if (!SWIG_IsOK(res1
)) {
13350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13352 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13354 arg2
= wxString_in_helper(obj1
);
13355 if (arg2
== NULL
) SWIG_fail
;
13359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13360 if (!SWIG_IsOK(ecode3
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13363 arg3
= static_cast< int >(val3
);
13366 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13367 if (!SWIG_IsOK(res4
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13370 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13373 if (!wxPyCheckForApp()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13394 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= 0;
13396 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 char * kwnames
[] = {
13404 (char *) "self",(char *) "rectBound", NULL
13407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13409 if (!SWIG_IsOK(res1
)) {
13410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13412 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_Py_Void();
13430 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13431 PyObject
*resultobj
= 0;
13432 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13435 PyObject
*swig_obj
[1] ;
13437 if (!args
) SWIG_fail
;
13438 swig_obj
[0] = args
;
13439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13440 if (!SWIG_IsOK(res1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13443 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_Py_Void();
13457 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13460 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13461 return SWIG_Py_Void();
13464 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13465 return SWIG_Python_InitShadowInstance(args
);
13468 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
= 0;
13470 wxWindow
*arg1
= (wxWindow
*) 0 ;
13471 int arg2
= (int) wxID_ANY
;
13472 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13473 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13474 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13475 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13476 long arg5
= (long) 0 ;
13477 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13478 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13479 wxPyVScrolledWindow
*result
= 0 ;
13488 bool temp6
= false ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 PyObject
* obj2
= 0 ;
13492 PyObject
* obj3
= 0 ;
13493 PyObject
* obj4
= 0 ;
13494 PyObject
* obj5
= 0 ;
13495 char * kwnames
[] = {
13496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13507 if (!SWIG_IsOK(ecode2
)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13510 arg2
= static_cast< int >(val2
);
13515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13525 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13526 if (!SWIG_IsOK(ecode5
)) {
13527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13529 arg5
= static_cast< long >(val5
);
13533 arg6
= wxString_in_helper(obj5
);
13534 if (arg6
== NULL
) SWIG_fail
;
13539 if (!wxPyCheckForApp()) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13560 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13561 PyObject
*resultobj
= 0;
13562 wxPyVScrolledWindow
*result
= 0 ;
13564 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13566 if (!wxPyCheckForApp()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13579 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
= 0;
13581 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13582 PyObject
*arg2
= (PyObject
*) 0 ;
13583 PyObject
*arg3
= (PyObject
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 PyObject
* obj2
= 0 ;
13589 char * kwnames
[] = {
13590 (char *) "self",(char *) "self",(char *) "_class", NULL
13593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13598 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= SWIG_Py_Void();
13614 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
= 0;
13616 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13617 wxWindow
*arg2
= (wxWindow
*) 0 ;
13618 int arg3
= (int) wxID_ANY
;
13619 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13620 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13621 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13622 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13623 long arg6
= (long) 0 ;
13624 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13625 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13637 bool temp7
= false ;
13638 PyObject
* obj0
= 0 ;
13639 PyObject
* obj1
= 0 ;
13640 PyObject
* obj2
= 0 ;
13641 PyObject
* obj3
= 0 ;
13642 PyObject
* obj4
= 0 ;
13643 PyObject
* obj5
= 0 ;
13644 PyObject
* obj6
= 0 ;
13645 char * kwnames
[] = {
13646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13651 if (!SWIG_IsOK(res1
)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13654 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13656 if (!SWIG_IsOK(res2
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13662 if (!SWIG_IsOK(ecode3
)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13665 arg3
= static_cast< int >(val3
);
13670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13680 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13681 if (!SWIG_IsOK(ecode6
)) {
13682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13684 arg6
= static_cast< long >(val6
);
13688 arg7
= wxString_in_helper(obj6
);
13689 if (arg7
== NULL
) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13716 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
= 0;
13718 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 char * kwnames
[] = {
13727 (char *) "self",(char *) "count", NULL
13730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13732 if (!SWIG_IsOK(res1
)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13735 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13736 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13737 if (!SWIG_IsOK(ecode2
)) {
13738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13740 arg2
= static_cast< size_t >(val2
);
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 (arg1
)->SetLineCount(arg2
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= SWIG_Py_Void();
13754 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
= 0;
13756 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13763 PyObject
* obj0
= 0 ;
13764 PyObject
* obj1
= 0 ;
13765 char * kwnames
[] = {
13766 (char *) "self",(char *) "line", NULL
13769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13771 if (!SWIG_IsOK(res1
)) {
13772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13774 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13775 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13776 if (!SWIG_IsOK(ecode2
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13779 arg2
= static_cast< size_t >(val2
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13795 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
= 0;
13797 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 char * kwnames
[] = {
13806 (char *) "self",(char *) "line", NULL
13809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13811 if (!SWIG_IsOK(res1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13814 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13815 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13816 if (!SWIG_IsOK(ecode2
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13819 arg2
= static_cast< size_t >(val2
);
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->RefreshLine(arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_Py_Void();
13833 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13835 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 PyObject
* obj2
= 0 ;
13847 char * kwnames
[] = {
13848 (char *) "self",(char *) "from",(char *) "to", NULL
13851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13853 if (!SWIG_IsOK(res1
)) {
13854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13856 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13857 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13858 if (!SWIG_IsOK(ecode2
)) {
13859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13861 arg2
= static_cast< size_t >(val2
);
13862 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13863 if (!SWIG_IsOK(ecode3
)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13866 arg3
= static_cast< size_t >(val3
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 (arg1
)->RefreshLines(arg2
,arg3
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13882 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13892 PyObject
* obj0
= 0 ;
13893 PyObject
* obj1
= 0 ;
13894 PyObject
* obj2
= 0 ;
13895 char * kwnames
[] = {
13896 (char *) "self",(char *) "x",(char *) "y", NULL
13899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13901 if (!SWIG_IsOK(res1
)) {
13902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13904 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13906 if (!SWIG_IsOK(ecode2
)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13909 arg2
= static_cast< int >(val2
);
13910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13911 if (!SWIG_IsOK(ecode3
)) {
13912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13914 arg3
= static_cast< int >(val3
);
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_From_int(static_cast< int >(result
));
13928 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
= 0;
13930 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13931 wxPoint
*arg2
= 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "self",(char *) "pt", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13947 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_int(static_cast< int >(result
));
13965 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 PyObject
*resultobj
= 0;
13967 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13970 PyObject
*swig_obj
[1] ;
13972 if (!args
) SWIG_fail
;
13973 swig_obj
[0] = args
;
13974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13975 if (!SWIG_IsOK(res1
)) {
13976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13978 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 (arg1
)->RefreshAll();
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= SWIG_Py_Void();
13992 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13993 PyObject
*resultobj
= 0;
13994 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13998 PyObject
*swig_obj
[1] ;
14000 if (!args
) SWIG_fail
;
14001 swig_obj
[0] = args
;
14002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14003 if (!SWIG_IsOK(res1
)) {
14004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14006 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14020 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14021 PyObject
*resultobj
= 0;
14022 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14026 PyObject
*swig_obj
[1] ;
14028 if (!args
) SWIG_fail
;
14029 swig_obj
[0] = args
;
14030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14031 if (!SWIG_IsOK(res1
)) {
14032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14034 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14048 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14049 PyObject
*resultobj
= 0;
14050 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14054 PyObject
*swig_obj
[1] ;
14056 if (!args
) SWIG_fail
;
14057 swig_obj
[0] = args
;
14058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14059 if (!SWIG_IsOK(res1
)) {
14060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14062 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14076 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
= 0;
14078 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 char * kwnames
[] = {
14088 (char *) "self",(char *) "line", NULL
14091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14093 if (!SWIG_IsOK(res1
)) {
14094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14096 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14097 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14098 if (!SWIG_IsOK(ecode2
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14101 arg2
= static_cast< size_t >(val2
);
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14117 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14118 PyObject
*resultobj
= 0;
14119 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14123 PyObject
*swig_obj
[1] ;
14125 if (!args
) SWIG_fail
;
14126 swig_obj
[0] = args
;
14127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14128 if (!SWIG_IsOK(res1
)) {
14129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14131 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14145 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14146 PyObject
*resultobj
= 0;
14147 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14151 PyObject
*swig_obj
[1] ;
14153 if (!args
) SWIG_fail
;
14154 swig_obj
[0] = args
;
14155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14156 if (!SWIG_IsOK(res1
)) {
14157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14159 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14173 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
= 0;
14175 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14177 bool arg3
= (bool) false ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 PyObject
* obj2
= 0 ;
14188 char * kwnames
[] = {
14189 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14194 if (!SWIG_IsOK(res1
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14197 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14198 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14199 if (!SWIG_IsOK(ecode2
)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14202 arg2
= static_cast< size_t >(val2
);
14204 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14205 if (!SWIG_IsOK(ecode3
)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14208 arg3
= static_cast< bool >(val3
);
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14223 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
= 0;
14225 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 PyObject
* obj2
= 0 ;
14238 char * kwnames
[] = {
14239 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14244 if (!SWIG_IsOK(res1
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14247 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14248 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14249 if (!SWIG_IsOK(ecode2
)) {
14250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14252 arg2
= static_cast< size_t >(val2
);
14253 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14254 if (!SWIG_IsOK(ecode3
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14257 arg3
= static_cast< size_t >(val3
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_From_int(static_cast< int >(result
));
14271 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14275 return SWIG_Py_Void();
14278 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 return SWIG_Python_InitShadowInstance(args
);
14282 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14283 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14288 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14289 PyObject
*pyobj
= 0;
14293 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14295 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14302 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
= 0;
14304 wxWindow
*arg1
= (wxWindow
*) 0 ;
14305 int arg2
= (int) wxID_ANY
;
14306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14310 long arg5
= (long) 0 ;
14311 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14313 wxPyVListBox
*result
= 0 ;
14322 bool temp6
= false ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 PyObject
* obj2
= 0 ;
14326 PyObject
* obj3
= 0 ;
14327 PyObject
* obj4
= 0 ;
14328 PyObject
* obj5
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14341 if (!SWIG_IsOK(ecode2
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14344 arg2
= static_cast< int >(val2
);
14349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14355 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14359 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14360 if (!SWIG_IsOK(ecode5
)) {
14361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14363 arg5
= static_cast< long >(val5
);
14367 arg6
= wxString_in_helper(obj5
);
14368 if (arg6
== NULL
) SWIG_fail
;
14373 if (!wxPyCheckForApp()) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14394 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14395 PyObject
*resultobj
= 0;
14396 wxPyVListBox
*result
= 0 ;
14398 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14400 if (!wxPyCheckForApp()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (wxPyVListBox
*)new wxPyVListBox();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14413 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
= 0;
14415 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14416 PyObject
*arg2
= (PyObject
*) 0 ;
14417 PyObject
*arg3
= (PyObject
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 PyObject
* obj2
= 0 ;
14423 char * kwnames
[] = {
14424 (char *) "self",(char *) "self",(char *) "_class", NULL
14427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14432 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_Py_Void();
14448 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
= 0;
14450 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14451 wxWindow
*arg2
= (wxWindow
*) 0 ;
14452 int arg3
= (int) wxID_ANY
;
14453 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14454 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14455 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14456 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14457 long arg6
= (long) 0 ;
14458 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14459 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14471 bool temp7
= false ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 PyObject
* obj2
= 0 ;
14475 PyObject
* obj3
= 0 ;
14476 PyObject
* obj4
= 0 ;
14477 PyObject
* obj5
= 0 ;
14478 PyObject
* obj6
= 0 ;
14479 char * kwnames
[] = {
14480 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14488 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14490 if (!SWIG_IsOK(res2
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14493 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14496 if (!SWIG_IsOK(ecode3
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14499 arg3
= static_cast< int >(val3
);
14504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14514 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14515 if (!SWIG_IsOK(ecode6
)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14518 arg6
= static_cast< long >(val6
);
14522 arg7
= wxString_in_helper(obj6
);
14523 if (arg7
== NULL
) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14550 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14551 PyObject
*resultobj
= 0;
14552 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14556 PyObject
*swig_obj
[1] ;
14558 if (!args
) SWIG_fail
;
14559 swig_obj
[0] = args
;
14560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14561 if (!SWIG_IsOK(res1
)) {
14562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14564 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14578 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14579 PyObject
*resultobj
= 0;
14580 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14584 PyObject
*swig_obj
[1] ;
14586 if (!args
) SWIG_fail
;
14587 swig_obj
[0] = args
;
14588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14589 if (!SWIG_IsOK(res1
)) {
14590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14592 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14608 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14614 PyObject
*swig_obj
[1] ;
14616 if (!args
) SWIG_fail
;
14617 swig_obj
[0] = args
;
14618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14622 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_From_int(static_cast< int >(result
));
14636 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
= 0;
14638 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 char * kwnames
[] = {
14648 (char *) "self",(char *) "item", NULL
14651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14653 if (!SWIG_IsOK(res1
)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14656 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14657 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14658 if (!SWIG_IsOK(ecode2
)) {
14659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14661 arg2
= static_cast< size_t >(val2
);
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
= 0;
14679 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 PyObject
* obj1
= 0 ;
14688 char * kwnames
[] = {
14689 (char *) "self",(char *) "item", NULL
14692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14697 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14698 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14699 if (!SWIG_IsOK(ecode2
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14702 arg2
= static_cast< size_t >(val2
);
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14718 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14719 PyObject
*resultobj
= 0;
14720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14724 PyObject
*swig_obj
[1] ;
14726 if (!args
) SWIG_fail
;
14727 swig_obj
[0] = args
;
14728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14732 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14746 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14747 PyObject
*resultobj
= 0;
14748 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14749 PyObject
*result
= 0 ;
14752 PyObject
*swig_obj
[1] ;
14754 if (!args
) SWIG_fail
;
14755 swig_obj
[0] = args
;
14756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14760 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
;
14774 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14776 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14777 unsigned long arg2
;
14778 PyObject
*result
= 0 ;
14781 unsigned long val2
;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char * kwnames
[] = {
14786 (char *) "self",(char *) "cookie", NULL
14789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14791 if (!SWIG_IsOK(res1
)) {
14792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14794 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14795 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14796 if (!SWIG_IsOK(ecode2
)) {
14797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14799 arg2
= static_cast< unsigned long >(val2
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
;
14813 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14827 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14841 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14842 PyObject
*resultobj
= 0;
14843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14844 wxColour
*result
= 0 ;
14847 PyObject
*swig_obj
[1] ;
14849 if (!args
) SWIG_fail
;
14850 swig_obj
[0] = args
;
14851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14855 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14860 result
= (wxColour
*) &_result_ref
;
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14872 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
= 0;
14874 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 char * kwnames
[] = {
14883 (char *) "self",(char *) "count", NULL
14886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14891 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14892 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14893 if (!SWIG_IsOK(ecode2
)) {
14894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14896 arg2
= static_cast< size_t >(val2
);
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 (arg1
)->SetItemCount(arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_Py_Void();
14910 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14911 PyObject
*resultobj
= 0;
14912 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14915 PyObject
*swig_obj
[1] ;
14917 if (!args
) SWIG_fail
;
14918 swig_obj
[0] = args
;
14919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14923 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_Py_Void();
14937 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
= 0;
14939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char * kwnames
[] = {
14948 (char *) "self",(char *) "selection", NULL
14951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14953 if (!SWIG_IsOK(res1
)) {
14954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14956 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14958 if (!SWIG_IsOK(ecode2
)) {
14959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14961 arg2
= static_cast< int >(val2
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 (arg1
)->SetSelection(arg2
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_Py_Void();
14975 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
= 0;
14977 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14979 bool arg3
= (bool) true ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 PyObject
* obj2
= 0 ;
14990 char * kwnames
[] = {
14991 (char *) "self",(char *) "item",(char *) "select", NULL
14994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14999 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15000 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15001 if (!SWIG_IsOK(ecode2
)) {
15002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15004 arg2
= static_cast< size_t >(val2
);
15006 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15007 if (!SWIG_IsOK(ecode3
)) {
15008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15010 arg3
= static_cast< bool >(val3
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15027 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
= 0;
15029 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 PyObject
* obj2
= 0 ;
15042 char * kwnames
[] = {
15043 (char *) "self",(char *) "from",(char *) "to", NULL
15046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15048 if (!SWIG_IsOK(res1
)) {
15049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15051 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15052 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15053 if (!SWIG_IsOK(ecode2
)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15056 arg2
= static_cast< size_t >(val2
);
15057 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15058 if (!SWIG_IsOK(ecode3
)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15061 arg3
= static_cast< size_t >(val3
);
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15077 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
= 0;
15079 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char * kwnames
[] = {
15088 (char *) "self",(char *) "item", NULL
15091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15096 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15097 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15098 if (!SWIG_IsOK(ecode2
)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15101 arg2
= static_cast< size_t >(val2
);
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->Toggle(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_Py_Void();
15115 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 PyObject
*resultobj
= 0;
15117 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15121 PyObject
*swig_obj
[1] ;
15123 if (!args
) SWIG_fail
;
15124 swig_obj
[0] = args
;
15125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15129 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (bool)(arg1
)->SelectAll();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15146 PyObject
*resultobj
= 0;
15147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15151 PyObject
*swig_obj
[1] ;
15153 if (!args
) SWIG_fail
;
15154 swig_obj
[0] = args
;
15155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15156 if (!SWIG_IsOK(res1
)) {
15157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15159 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (bool)(arg1
)->DeselectAll();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15175 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
= 0;
15177 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15178 wxPoint
*arg2
= 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "pt", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15193 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_Py_Void();
15211 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 PyObject
* obj2
= 0 ;
15225 char * kwnames
[] = {
15226 (char *) "self",(char *) "x",(char *) "y", NULL
15229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15231 if (!SWIG_IsOK(res1
)) {
15232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15234 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15236 if (!SWIG_IsOK(ecode2
)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15239 arg2
= static_cast< int >(val2
);
15240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15241 if (!SWIG_IsOK(ecode3
)) {
15242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15244 arg3
= static_cast< int >(val3
);
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 (arg1
)->SetMargins(arg2
,arg3
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= SWIG_Py_Void();
15258 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
= 0;
15260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15261 wxColour
*arg2
= 0 ;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15267 char * kwnames
[] = {
15268 (char *) "self",(char *) "col", NULL
15271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15273 if (!SWIG_IsOK(res1
)) {
15274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15276 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_Py_Void();
15294 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
= 0;
15296 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 PyObject
* obj2
= 0 ;
15310 PyObject
* obj3
= 0 ;
15311 char * kwnames
[] = {
15312 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15317 if (!SWIG_IsOK(res1
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15320 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15322 if (!SWIG_IsOK(res2
)) {
15323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15328 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15331 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15333 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15334 if (!SWIG_IsOK(ecode4
)) {
15335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15337 arg4
= static_cast< size_t >(val4
);
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= SWIG_Py_Void();
15351 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= 0;
15353 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 char * kwnames
[] = {
15369 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15374 if (!SWIG_IsOK(res1
)) {
15375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15377 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15379 if (!SWIG_IsOK(res2
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15385 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15388 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15390 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15391 if (!SWIG_IsOK(ecode4
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15394 arg4
= static_cast< size_t >(val4
);
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_Py_Void();
15408 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15411 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15412 return SWIG_Py_Void();
15415 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15416 return SWIG_Python_InitShadowInstance(args
);
15419 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
= 0;
15421 wxWindow
*arg1
= (wxWindow
*) 0 ;
15422 int arg2
= (int) wxID_ANY
;
15423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15427 long arg5
= (long) 0 ;
15428 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15429 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15430 wxPyHtmlListBox
*result
= 0 ;
15439 bool temp6
= false ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 PyObject
* obj2
= 0 ;
15443 PyObject
* obj3
= 0 ;
15444 PyObject
* obj4
= 0 ;
15445 PyObject
* obj5
= 0 ;
15446 char * kwnames
[] = {
15447 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15458 if (!SWIG_IsOK(ecode2
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15461 arg2
= static_cast< int >(val2
);
15466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15472 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15476 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15477 if (!SWIG_IsOK(ecode5
)) {
15478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15480 arg5
= static_cast< long >(val5
);
15484 arg6
= wxString_in_helper(obj5
);
15485 if (arg6
== NULL
) SWIG_fail
;
15490 if (!wxPyCheckForApp()) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15511 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15512 PyObject
*resultobj
= 0;
15513 wxPyHtmlListBox
*result
= 0 ;
15515 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15517 if (!wxPyCheckForApp()) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15530 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
= 0;
15532 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15533 PyObject
*arg2
= (PyObject
*) 0 ;
15534 PyObject
*arg3
= (PyObject
*) 0 ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 PyObject
* obj2
= 0 ;
15540 char * kwnames
[] = {
15541 (char *) "self",(char *) "self",(char *) "_class", NULL
15544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15546 if (!SWIG_IsOK(res1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15549 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_Py_Void();
15565 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= 0;
15567 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15568 wxWindow
*arg2
= (wxWindow
*) 0 ;
15569 int arg3
= (int) wxID_ANY
;
15570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15574 long arg6
= (long) 0 ;
15575 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15588 bool temp7
= false ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 PyObject
* obj2
= 0 ;
15592 PyObject
* obj3
= 0 ;
15593 PyObject
* obj4
= 0 ;
15594 PyObject
* obj5
= 0 ;
15595 PyObject
* obj6
= 0 ;
15596 char * kwnames
[] = {
15597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15602 if (!SWIG_IsOK(res1
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15605 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15607 if (!SWIG_IsOK(res2
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15613 if (!SWIG_IsOK(ecode3
)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15616 arg3
= static_cast< int >(val3
);
15621 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15627 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15631 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15632 if (!SWIG_IsOK(ecode6
)) {
15633 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15635 arg6
= static_cast< long >(val6
);
15639 arg7
= wxString_in_helper(obj6
);
15640 if (arg7
== NULL
) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15667 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= 0;
15669 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "count", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15686 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15687 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15688 if (!SWIG_IsOK(ecode2
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15691 arg2
= static_cast< size_t >(val2
);
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->SetItemCount(arg2
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_Py_Void();
15705 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15706 PyObject
*resultobj
= 0;
15707 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15708 wxFileSystem
*result
= 0 ;
15711 PyObject
*swig_obj
[1] ;
15713 if (!args
) SWIG_fail
;
15714 swig_obj
[0] = args
;
15715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15716 if (!SWIG_IsOK(res1
)) {
15717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15719 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15724 result
= (wxFileSystem
*) &_result_ref
;
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15736 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
= 0;
15738 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15740 wxHtmlLinkInfo
*arg3
= 0 ;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 PyObject
* obj2
= 0 ;
15750 char * kwnames
[] = {
15751 (char *) "self",(char *) "n",(char *) "link", NULL
15754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15759 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15760 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15761 if (!SWIG_IsOK(ecode2
)) {
15762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15764 arg2
= static_cast< size_t >(val2
);
15765 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15766 if (!SWIG_IsOK(res3
)) {
15767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15772 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_Py_Void();
15786 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15789 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15790 return SWIG_Py_Void();
15793 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15794 return SWIG_Python_InitShadowInstance(args
);
15797 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxPyTaskBarIcon
*result
= 0 ;
15801 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15803 if (!wxPyCheckForApp()) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15816 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 PyObject
*resultobj
= 0;
15818 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15821 PyObject
*swig_obj
[1] ;
15823 if (!args
) SWIG_fail
;
15824 swig_obj
[0] = args
;
15825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15829 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= SWIG_Py_Void();
15844 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
= 0;
15846 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15847 PyObject
*arg2
= (PyObject
*) 0 ;
15848 PyObject
*arg3
= (PyObject
*) 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 PyObject
* obj2
= 0 ;
15857 PyObject
* obj3
= 0 ;
15858 char * kwnames
[] = {
15859 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15864 if (!SWIG_IsOK(res1
)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15867 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15871 if (!SWIG_IsOK(ecode4
)) {
15872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15874 arg4
= static_cast< int >(val4
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= SWIG_Py_Void();
15888 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15893 PyObject
*swig_obj
[1] ;
15895 if (!args
) SWIG_fail
;
15896 swig_obj
[0] = args
;
15897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15898 if (!SWIG_IsOK(res1
)) {
15899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15901 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 wxPyTaskBarIcon_Destroy(arg1
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_Py_Void();
15915 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15916 PyObject
*resultobj
= 0;
15917 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15921 PyObject
*swig_obj
[1] ;
15923 if (!args
) SWIG_fail
;
15924 swig_obj
[0] = args
;
15925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15926 if (!SWIG_IsOK(res1
)) {
15927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15929 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15945 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15946 PyObject
*resultobj
= 0;
15947 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15951 PyObject
*swig_obj
[1] ;
15953 if (!args
) SWIG_fail
;
15954 swig_obj
[0] = args
;
15955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15956 if (!SWIG_IsOK(res1
)) {
15957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15959 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15975 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
= 0;
15977 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15986 bool temp3
= false ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 char * kwnames
[] = {
15991 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15996 if (!SWIG_IsOK(res1
)) {
15997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15999 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16001 if (!SWIG_IsOK(res2
)) {
16002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16007 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16010 arg3
= wxString_in_helper(obj2
);
16011 if (arg3
== NULL
) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 PyObject
*resultobj
= 0;
16040 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16044 PyObject
*swig_obj
[1] ;
16046 if (!args
) SWIG_fail
;
16047 swig_obj
[0] = args
;
16048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16049 if (!SWIG_IsOK(res1
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16052 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (bool)(arg1
)->RemoveIcon();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16071 wxMenu
*arg2
= (wxMenu
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "self",(char *) "menu", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16088 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16090 if (!SWIG_IsOK(res2
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16093 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)(arg1
)->PopupMenu(arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16113 return SWIG_Py_Void();
16116 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16117 return SWIG_Python_InitShadowInstance(args
);
16120 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
= 0;
16123 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16124 wxTaskBarIconEvent
*result
= 0 ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 char * kwnames
[] = {
16132 (char *) "evtType",(char *) "tbIcon", NULL
16135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16137 if (!SWIG_IsOK(ecode1
)) {
16138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16140 arg1
= static_cast< wxEventType
>(val1
);
16141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16142 if (!SWIG_IsOK(res2
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16145 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16159 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16162 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16163 return SWIG_Py_Void();
16166 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16167 return SWIG_Python_InitShadowInstance(args
);
16170 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16171 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16176 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16177 PyObject
*pyobj
= 0;
16181 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16183 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16190 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16191 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16196 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16197 PyObject
*pyobj
= 0;
16201 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16203 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16210 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16211 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16216 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16217 PyObject
*pyobj
= 0;
16221 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16223 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16230 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16231 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16236 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16237 PyObject
*pyobj
= 0;
16241 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16243 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16250 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16251 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16256 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16257 PyObject
*pyobj
= 0;
16261 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16263 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16270 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16271 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16276 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16277 PyObject
*pyobj
= 0;
16281 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16283 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16290 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 PyObject
*resultobj
= 0;
16292 wxColourData
*result
= 0 ;
16294 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxColourData
*)new wxColourData();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16308 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16309 PyObject
*resultobj
= 0;
16310 wxColourData
*arg1
= (wxColourData
*) 0 ;
16313 PyObject
*swig_obj
[1] ;
16315 if (!args
) SWIG_fail
;
16316 swig_obj
[0] = args
;
16317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16318 if (!SWIG_IsOK(res1
)) {
16319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16321 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= SWIG_Py_Void();
16336 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16337 PyObject
*resultobj
= 0;
16338 wxColourData
*arg1
= (wxColourData
*) 0 ;
16342 PyObject
*swig_obj
[1] ;
16344 if (!args
) SWIG_fail
;
16345 swig_obj
[0] = args
;
16346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16347 if (!SWIG_IsOK(res1
)) {
16348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16350 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)(arg1
)->GetChooseFull();
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16366 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16367 PyObject
*resultobj
= 0;
16368 wxColourData
*arg1
= (wxColourData
*) 0 ;
16372 PyObject
*swig_obj
[1] ;
16374 if (!args
) SWIG_fail
;
16375 swig_obj
[0] = args
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16380 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (arg1
)->GetColour();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16394 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= 0;
16396 wxColourData
*arg1
= (wxColourData
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char * kwnames
[] = {
16406 (char *) "self",(char *) "i", NULL
16409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16411 if (!SWIG_IsOK(res1
)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16414 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16416 if (!SWIG_IsOK(ecode2
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16419 arg2
= static_cast< int >(val2
);
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (arg1
)->GetCustomColour(arg2
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16433 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
= 0;
16435 wxColourData
*arg1
= (wxColourData
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char * kwnames
[] = {
16444 (char *) "self",(char *) "flag", NULL
16447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16452 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16454 if (!SWIG_IsOK(ecode2
)) {
16455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16457 arg2
= static_cast< int >(val2
);
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->SetChooseFull(arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= SWIG_Py_Void();
16471 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
= 0;
16473 wxColourData
*arg1
= (wxColourData
*) 0 ;
16474 wxColour
*arg2
= 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char * kwnames
[] = {
16481 (char *) "self",(char *) "colour", NULL
16484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16486 if (!SWIG_IsOK(res1
)) {
16487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16489 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 (arg1
)->SetColour((wxColour
const &)*arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= SWIG_Py_Void();
16507 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
= 0;
16509 wxColourData
*arg1
= (wxColourData
*) 0 ;
16511 wxColour
*arg3
= 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 PyObject
* obj2
= 0 ;
16520 char * kwnames
[] = {
16521 (char *) "self",(char *) "i",(char *) "colour", NULL
16524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16529 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16531 if (!SWIG_IsOK(ecode2
)) {
16532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16534 arg2
= static_cast< int >(val2
);
16537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= SWIG_Py_Void();
16552 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16554 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16555 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16556 return SWIG_Py_Void();
16559 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16560 return SWIG_Python_InitShadowInstance(args
);
16563 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
= 0;
16565 wxWindow
*arg1
= (wxWindow
*) 0 ;
16566 wxColourData
*arg2
= (wxColourData
*) NULL
;
16567 wxColourDialog
*result
= 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "parent",(char *) "data", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16586 if (!SWIG_IsOK(res2
)) {
16587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16589 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16592 if (!wxPyCheckForApp()) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16605 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16606 PyObject
*resultobj
= 0;
16607 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16608 wxColourData
*result
= 0 ;
16611 PyObject
*swig_obj
[1] ;
16613 if (!args
) SWIG_fail
;
16614 swig_obj
[0] = args
;
16615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16616 if (!SWIG_IsOK(res1
)) {
16617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16619 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16624 result
= (wxColourData
*) &_result_ref
;
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16636 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16639 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16640 return SWIG_Py_Void();
16643 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16644 return SWIG_Python_InitShadowInstance(args
);
16647 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
= 0;
16649 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16650 wxColour
const &arg2_defvalue
= wxNullColour
;
16651 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16658 bool temp3
= false ;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 PyObject
* obj2
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16677 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16682 arg3
= wxString_in_helper(obj2
);
16683 if (arg3
== NULL
) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16708 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
= 0;
16710 wxWindow
*arg1
= (wxWindow
*) 0 ;
16711 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16712 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16713 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16714 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16715 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16716 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16717 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16718 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16719 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16720 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16722 wxDirDialog
*result
= 0 ;
16725 bool temp2
= false ;
16726 bool temp3
= false ;
16731 bool temp7
= false ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 PyObject
* obj2
= 0 ;
16735 PyObject
* obj3
= 0 ;
16736 PyObject
* obj4
= 0 ;
16737 PyObject
* obj5
= 0 ;
16738 PyObject
* obj6
= 0 ;
16739 char * kwnames
[] = {
16740 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16748 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16751 arg2
= wxString_in_helper(obj1
);
16752 if (arg2
== NULL
) SWIG_fail
;
16758 arg3
= wxString_in_helper(obj2
);
16759 if (arg3
== NULL
) SWIG_fail
;
16764 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16765 if (!SWIG_IsOK(ecode4
)) {
16766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16768 arg4
= static_cast< long >(val4
);
16773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16779 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16784 arg7
= wxString_in_helper(obj6
);
16785 if (arg7
== NULL
) SWIG_fail
;
16790 if (!wxPyCheckForApp()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16827 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16828 PyObject
*resultobj
= 0;
16829 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16833 PyObject
*swig_obj
[1] ;
16835 if (!args
) SWIG_fail
;
16836 swig_obj
[0] = args
;
16837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16838 if (!SWIG_IsOK(res1
)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16841 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (arg1
)->GetPath();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16861 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16862 PyObject
*resultobj
= 0;
16863 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16867 PyObject
*swig_obj
[1] ;
16869 if (!args
) SWIG_fail
;
16870 swig_obj
[0] = args
;
16871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16875 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (arg1
)->GetMessage();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16895 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16898 wxString
*arg2
= 0 ;
16901 bool temp2
= false ;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 char * kwnames
[] = {
16905 (char *) "self",(char *) "message", NULL
16908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16910 if (!SWIG_IsOK(res1
)) {
16911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16913 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16915 arg2
= wxString_in_helper(obj1
);
16916 if (arg2
== NULL
) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 (arg1
)->SetMessage((wxString
const &)*arg2
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_Py_Void();
16940 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
= 0;
16942 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16943 wxString
*arg2
= 0 ;
16946 bool temp2
= false ;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char * kwnames
[] = {
16950 (char *) "self",(char *) "path", NULL
16953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16955 if (!SWIG_IsOK(res1
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16958 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16960 arg2
= wxString_in_helper(obj1
);
16961 if (arg2
== NULL
) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 (arg1
)->SetPath((wxString
const &)*arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_Py_Void();
16985 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16988 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16989 return SWIG_Py_Void();
16992 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16993 return SWIG_Python_InitShadowInstance(args
);
16996 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
= 0;
16998 wxWindow
*arg1
= (wxWindow
*) 0 ;
16999 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17000 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17001 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17002 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17003 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17004 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17005 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17006 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17007 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17008 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17009 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17010 wxFileDialog
*result
= 0 ;
17013 bool temp2
= false ;
17014 bool temp3
= false ;
17015 bool temp4
= false ;
17016 bool temp5
= false ;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 PyObject
* obj2
= 0 ;
17023 PyObject
* obj3
= 0 ;
17024 PyObject
* obj4
= 0 ;
17025 PyObject
* obj5
= 0 ;
17026 PyObject
* obj6
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17036 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17039 arg2
= wxString_in_helper(obj1
);
17040 if (arg2
== NULL
) SWIG_fail
;
17046 arg3
= wxString_in_helper(obj2
);
17047 if (arg3
== NULL
) SWIG_fail
;
17053 arg4
= wxString_in_helper(obj3
);
17054 if (arg4
== NULL
) SWIG_fail
;
17060 arg5
= wxString_in_helper(obj4
);
17061 if (arg5
== NULL
) SWIG_fail
;
17066 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17067 if (!SWIG_IsOK(ecode6
)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17070 arg6
= static_cast< long >(val6
);
17075 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17079 if (!wxPyCheckForApp()) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17124 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
= 0;
17126 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17127 wxString
*arg2
= 0 ;
17130 bool temp2
= false ;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char * kwnames
[] = {
17134 (char *) "self",(char *) "message", NULL
17137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17139 if (!SWIG_IsOK(res1
)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17142 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17144 arg2
= wxString_in_helper(obj1
);
17145 if (arg2
== NULL
) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 (arg1
)->SetMessage((wxString
const &)*arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_Py_Void();
17169 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
= 0;
17171 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17172 wxString
*arg2
= 0 ;
17175 bool temp2
= false ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char * kwnames
[] = {
17179 (char *) "self",(char *) "path", NULL
17182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17184 if (!SWIG_IsOK(res1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17187 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17189 arg2
= wxString_in_helper(obj1
);
17190 if (arg2
== NULL
) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 (arg1
)->SetPath((wxString
const &)*arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_Py_Void();
17214 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
= 0;
17216 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17217 wxString
*arg2
= 0 ;
17220 bool temp2
= false ;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 char * kwnames
[] = {
17224 (char *) "self",(char *) "dir", NULL
17227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17229 if (!SWIG_IsOK(res1
)) {
17230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17232 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17234 arg2
= wxString_in_helper(obj1
);
17235 if (arg2
== NULL
) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= SWIG_Py_Void();
17259 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= 0;
17261 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17262 wxString
*arg2
= 0 ;
17265 bool temp2
= false ;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 char * kwnames
[] = {
17269 (char *) "self",(char *) "name", NULL
17272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17274 if (!SWIG_IsOK(res1
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17277 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17279 arg2
= wxString_in_helper(obj1
);
17280 if (arg2
== NULL
) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 (arg1
)->SetFilename((wxString
const &)*arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= SWIG_Py_Void();
17304 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17307 wxString
*arg2
= 0 ;
17310 bool temp2
= false ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char * kwnames
[] = {
17314 (char *) "self",(char *) "wildCard", NULL
17317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17319 if (!SWIG_IsOK(res1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17322 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17324 arg2
= wxString_in_helper(obj1
);
17325 if (arg2
== NULL
) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= SWIG_Py_Void();
17349 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "filterIndex", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17368 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17370 if (!SWIG_IsOK(ecode2
)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17373 arg2
= static_cast< int >(val2
);
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetFilterIndex(arg2
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_Py_Void();
17387 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 PyObject
*resultobj
= 0;
17389 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17393 PyObject
*swig_obj
[1] ;
17395 if (!args
) SWIG_fail
;
17396 swig_obj
[0] = args
;
17397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17398 if (!SWIG_IsOK(res1
)) {
17399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17401 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17421 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17422 PyObject
*resultobj
= 0;
17423 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17427 PyObject
*swig_obj
[1] ;
17429 if (!args
) SWIG_fail
;
17430 swig_obj
[0] = args
;
17431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17432 if (!SWIG_IsOK(res1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17435 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17455 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17456 PyObject
*resultobj
= 0;
17457 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17461 PyObject
*swig_obj
[1] ;
17463 if (!args
) SWIG_fail
;
17464 swig_obj
[0] = args
;
17465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17469 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17489 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17490 PyObject
*resultobj
= 0;
17491 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17495 PyObject
*swig_obj
[1] ;
17497 if (!args
) SWIG_fail
;
17498 swig_obj
[0] = args
;
17499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17500 if (!SWIG_IsOK(res1
)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17503 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17523 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 PyObject
*resultobj
= 0;
17525 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17529 PyObject
*swig_obj
[1] ;
17531 if (!args
) SWIG_fail
;
17532 swig_obj
[0] = args
;
17533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17537 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17557 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 PyObject
*resultobj
= 0;
17559 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17563 PyObject
*swig_obj
[1] ;
17565 if (!args
) SWIG_fail
;
17566 swig_obj
[0] = args
;
17567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17571 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_From_int(static_cast< int >(result
));
17585 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17586 PyObject
*resultobj
= 0;
17587 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17588 PyObject
*result
= 0 ;
17591 PyObject
*swig_obj
[1] ;
17593 if (!args
) SWIG_fail
;
17594 swig_obj
[0] = args
;
17595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17596 if (!SWIG_IsOK(res1
)) {
17597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17599 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= result
;
17613 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17614 PyObject
*resultobj
= 0;
17615 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17616 PyObject
*result
= 0 ;
17619 PyObject
*swig_obj
[1] ;
17621 if (!args
) SWIG_fail
;
17622 swig_obj
[0] = args
;
17623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17624 if (!SWIG_IsOK(res1
)) {
17625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17627 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= result
;
17641 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17644 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17645 return SWIG_Py_Void();
17648 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17649 return SWIG_Python_InitShadowInstance(args
);
17652 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxWindow
*arg1
= (wxWindow
*) 0 ;
17655 wxString
*arg2
= 0 ;
17656 wxString
*arg3
= 0 ;
17657 int arg4
= (int) 0 ;
17658 wxString
*arg5
= (wxString
*) NULL
;
17659 long arg6
= (long) wxCHOICEDLG_STYLE
;
17660 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17661 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17662 wxMultiChoiceDialog
*result
= 0 ;
17665 bool temp2
= false ;
17666 bool temp3
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 PyObject
* obj3
= 0 ;
17674 PyObject
* obj4
= 0 ;
17675 PyObject
* obj5
= 0 ;
17676 char * kwnames
[] = {
17677 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17682 if (!SWIG_IsOK(res1
)) {
17683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17687 arg2
= wxString_in_helper(obj1
);
17688 if (arg2
== NULL
) SWIG_fail
;
17692 arg3
= wxString_in_helper(obj2
);
17693 if (arg3
== NULL
) SWIG_fail
;
17698 arg4
= PyList_Size(obj3
);
17699 arg5
= wxString_LIST_helper(obj3
);
17700 if (arg5
== NULL
) SWIG_fail
;
17704 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17705 if (!SWIG_IsOK(ecode6
)) {
17706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17708 arg6
= static_cast< long >(val6
);
17713 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17717 if (!wxPyCheckForApp()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17733 if (arg5
) delete [] arg5
;
17746 if (arg5
) delete [] arg5
;
17752 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
= 0;
17754 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17755 wxArrayInt
*arg2
= 0 ;
17758 bool temp2
= false ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 char * kwnames
[] = {
17762 (char *) "self",(char *) "selections", NULL
17765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17767 if (!SWIG_IsOK(res1
)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17770 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17772 if (! PySequence_Check(obj1
)) {
17773 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17776 arg2
= new wxArrayInt
;
17778 int i
, len
=PySequence_Length(obj1
);
17779 for (i
=0; i
<len
; i
++) {
17780 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17781 PyObject
* number
= PyNumber_Int(item
);
17782 arg2
->Add(PyInt_AS_LONG(number
));
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_Py_Void();
17795 if (temp2
) delete arg2
;
17800 if (temp2
) delete arg2
;
17806 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17807 PyObject
*resultobj
= 0;
17808 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17809 PyObject
*result
= 0 ;
17812 PyObject
*swig_obj
[1] ;
17814 if (!args
) SWIG_fail
;
17815 swig_obj
[0] = args
;
17816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17817 if (!SWIG_IsOK(res1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17820 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= result
;
17834 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17837 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17838 return SWIG_Py_Void();
17841 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17842 return SWIG_Python_InitShadowInstance(args
);
17845 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
= 0;
17847 wxWindow
*arg1
= (wxWindow
*) 0 ;
17848 wxString
*arg2
= 0 ;
17849 wxString
*arg3
= 0 ;
17851 wxString
*arg5
= (wxString
*) 0 ;
17852 long arg6
= (long) wxCHOICEDLG_STYLE
;
17853 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17854 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17855 wxSingleChoiceDialog
*result
= 0 ;
17858 bool temp2
= false ;
17859 bool temp3
= false ;
17863 PyObject
* obj0
= 0 ;
17864 PyObject
* obj1
= 0 ;
17865 PyObject
* obj2
= 0 ;
17866 PyObject
* obj3
= 0 ;
17867 PyObject
* obj4
= 0 ;
17868 PyObject
* obj5
= 0 ;
17869 char * kwnames
[] = {
17870 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17875 if (!SWIG_IsOK(res1
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17878 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17880 arg2
= wxString_in_helper(obj1
);
17881 if (arg2
== NULL
) SWIG_fail
;
17885 arg3
= wxString_in_helper(obj2
);
17886 if (arg3
== NULL
) SWIG_fail
;
17890 arg4
= PyList_Size(obj3
);
17891 arg5
= wxString_LIST_helper(obj3
);
17892 if (arg5
== NULL
) SWIG_fail
;
17895 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17896 if (!SWIG_IsOK(ecode6
)) {
17897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17899 arg6
= static_cast< long >(val6
);
17904 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17908 if (!wxPyCheckForApp()) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17924 if (arg5
) delete [] arg5
;
17937 if (arg5
) delete [] arg5
;
17943 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17944 PyObject
*resultobj
= 0;
17945 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17949 PyObject
*swig_obj
[1] ;
17951 if (!args
) SWIG_fail
;
17952 swig_obj
[0] = args
;
17953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17957 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (int)(arg1
)->GetSelection();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_From_int(static_cast< int >(result
));
17971 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17972 PyObject
*resultobj
= 0;
17973 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17977 PyObject
*swig_obj
[1] ;
17979 if (!args
) SWIG_fail
;
17980 swig_obj
[0] = args
;
17981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17982 if (!SWIG_IsOK(res1
)) {
17983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17985 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (arg1
)->GetStringSelection();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18005 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
= 0;
18007 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "sel", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18024 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetSelection(arg2
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18046 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18047 return SWIG_Py_Void();
18050 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 return SWIG_Python_InitShadowInstance(args
);
18054 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
= 0;
18056 wxWindow
*arg1
= (wxWindow
*) 0 ;
18057 wxString
*arg2
= 0 ;
18058 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18062 long arg5
= (long) wxTextEntryDialogStyle
;
18063 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18064 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18065 wxTextEntryDialog
*result
= 0 ;
18068 bool temp2
= false ;
18069 bool temp3
= false ;
18070 bool temp4
= false ;
18074 PyObject
* obj0
= 0 ;
18075 PyObject
* obj1
= 0 ;
18076 PyObject
* obj2
= 0 ;
18077 PyObject
* obj3
= 0 ;
18078 PyObject
* obj4
= 0 ;
18079 PyObject
* obj5
= 0 ;
18080 char * kwnames
[] = {
18081 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18086 if (!SWIG_IsOK(res1
)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18091 arg2
= wxString_in_helper(obj1
);
18092 if (arg2
== NULL
) SWIG_fail
;
18097 arg3
= wxString_in_helper(obj2
);
18098 if (arg3
== NULL
) SWIG_fail
;
18104 arg4
= wxString_in_helper(obj3
);
18105 if (arg4
== NULL
) SWIG_fail
;
18110 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18111 if (!SWIG_IsOK(ecode5
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18114 arg5
= static_cast< long >(val5
);
18119 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18123 if (!wxPyCheckForApp()) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18160 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18161 PyObject
*resultobj
= 0;
18162 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18166 PyObject
*swig_obj
[1] ;
18168 if (!args
) SWIG_fail
;
18169 swig_obj
[0] = args
;
18170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18174 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (arg1
)->GetValue();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18194 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
= 0;
18196 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18197 wxString
*arg2
= 0 ;
18200 bool temp2
= false ;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 char * kwnames
[] = {
18204 (char *) "self",(char *) "value", NULL
18207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18209 if (!SWIG_IsOK(res1
)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18212 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18214 arg2
= wxString_in_helper(obj1
);
18215 if (arg2
== NULL
) SWIG_fail
;
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->SetValue((wxString
const &)*arg2
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_Py_Void();
18239 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18242 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18243 return SWIG_Py_Void();
18246 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18247 return SWIG_Python_InitShadowInstance(args
);
18250 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18251 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18256 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18257 PyObject
*pyobj
= 0;
18261 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18263 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18270 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= 0;
18272 wxWindow
*arg1
= (wxWindow
*) 0 ;
18273 wxString
*arg2
= 0 ;
18274 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18276 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18277 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18278 long arg5
= (long) wxTextEntryDialogStyle
;
18279 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18280 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18281 wxPasswordEntryDialog
*result
= 0 ;
18284 bool temp2
= false ;
18285 bool temp3
= false ;
18286 bool temp4
= false ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 PyObject
* obj2
= 0 ;
18293 PyObject
* obj3
= 0 ;
18294 PyObject
* obj4
= 0 ;
18295 PyObject
* obj5
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18307 arg2
= wxString_in_helper(obj1
);
18308 if (arg2
== NULL
) SWIG_fail
;
18313 arg3
= wxString_in_helper(obj2
);
18314 if (arg3
== NULL
) SWIG_fail
;
18320 arg4
= wxString_in_helper(obj3
);
18321 if (arg4
== NULL
) SWIG_fail
;
18326 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18327 if (!SWIG_IsOK(ecode5
)) {
18328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18330 arg5
= static_cast< long >(val5
);
18335 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18375 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18379 return SWIG_Py_Void();
18382 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 return SWIG_Python_InitShadowInstance(args
);
18386 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
= 0;
18388 wxWindow
*arg1
= (wxWindow
*) 0 ;
18389 wxString
*arg2
= 0 ;
18390 wxString
*arg3
= 0 ;
18391 wxString
*arg4
= 0 ;
18395 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18396 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18397 wxNumberEntryDialog
*result
= 0 ;
18400 bool temp2
= false ;
18401 bool temp3
= false ;
18402 bool temp4
= false ;
18410 PyObject
* obj0
= 0 ;
18411 PyObject
* obj1
= 0 ;
18412 PyObject
* obj2
= 0 ;
18413 PyObject
* obj3
= 0 ;
18414 PyObject
* obj4
= 0 ;
18415 PyObject
* obj5
= 0 ;
18416 PyObject
* obj6
= 0 ;
18417 PyObject
* obj7
= 0 ;
18418 char * kwnames
[] = {
18419 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18429 arg2
= wxString_in_helper(obj1
);
18430 if (arg2
== NULL
) SWIG_fail
;
18434 arg3
= wxString_in_helper(obj2
);
18435 if (arg3
== NULL
) SWIG_fail
;
18439 arg4
= wxString_in_helper(obj3
);
18440 if (arg4
== NULL
) SWIG_fail
;
18443 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18444 if (!SWIG_IsOK(ecode5
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18447 arg5
= static_cast< long >(val5
);
18448 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18449 if (!SWIG_IsOK(ecode6
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18452 arg6
= static_cast< long >(val6
);
18453 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18454 if (!SWIG_IsOK(ecode7
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18457 arg7
= static_cast< long >(val7
);
18461 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18465 if (!wxPyCheckForApp()) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18502 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18503 PyObject
*resultobj
= 0;
18504 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18508 PyObject
*swig_obj
[1] ;
18510 if (!args
) SWIG_fail
;
18511 swig_obj
[0] = args
;
18512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18516 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 result
= (long)(arg1
)->GetValue();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_From_long(static_cast< long >(result
));
18530 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18533 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18534 return SWIG_Py_Void();
18537 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18538 return SWIG_Python_InitShadowInstance(args
);
18541 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18542 PyObject
*resultobj
= 0;
18543 wxFontData
*result
= 0 ;
18545 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (wxFontData
*)new wxFontData();
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18559 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18560 PyObject
*resultobj
= 0;
18561 wxFontData
*arg1
= (wxFontData
*) 0 ;
18564 PyObject
*swig_obj
[1] ;
18566 if (!args
) SWIG_fail
;
18567 swig_obj
[0] = args
;
18568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18572 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_Py_Void();
18587 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
= 0;
18589 wxFontData
*arg1
= (wxFontData
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 char * kwnames
[] = {
18598 (char *) "self",(char *) "enable", NULL
18601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18606 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18607 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18608 if (!SWIG_IsOK(ecode2
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18611 arg2
= static_cast< bool >(val2
);
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->EnableEffects(arg2
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18626 PyObject
*resultobj
= 0;
18627 wxFontData
*arg1
= (wxFontData
*) 0 ;
18631 PyObject
*swig_obj
[1] ;
18633 if (!args
) SWIG_fail
;
18634 swig_obj
[0] = args
;
18635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18639 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (bool)(arg1
)->GetAllowSymbols();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18655 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18656 PyObject
*resultobj
= 0;
18657 wxFontData
*arg1
= (wxFontData
*) 0 ;
18661 PyObject
*swig_obj
[1] ;
18663 if (!args
) SWIG_fail
;
18664 swig_obj
[0] = args
;
18665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18669 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (arg1
)->GetColour();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18683 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18684 PyObject
*resultobj
= 0;
18685 wxFontData
*arg1
= (wxFontData
*) 0 ;
18689 PyObject
*swig_obj
[1] ;
18691 if (!args
) SWIG_fail
;
18692 swig_obj
[0] = args
;
18693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18697 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= (arg1
)->GetChosenFont();
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18711 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18712 PyObject
*resultobj
= 0;
18713 wxFontData
*arg1
= (wxFontData
*) 0 ;
18717 PyObject
*swig_obj
[1] ;
18719 if (!args
) SWIG_fail
;
18720 swig_obj
[0] = args
;
18721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18722 if (!SWIG_IsOK(res1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18725 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (bool)(arg1
)->GetEnableEffects();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18741 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18742 PyObject
*resultobj
= 0;
18743 wxFontData
*arg1
= (wxFontData
*) 0 ;
18747 PyObject
*swig_obj
[1] ;
18749 if (!args
) SWIG_fail
;
18750 swig_obj
[0] = args
;
18751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18755 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (arg1
)->GetInitialFont();
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18769 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18770 PyObject
*resultobj
= 0;
18771 wxFontData
*arg1
= (wxFontData
*) 0 ;
18775 PyObject
*swig_obj
[1] ;
18777 if (!args
) SWIG_fail
;
18778 swig_obj
[0] = args
;
18779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18780 if (!SWIG_IsOK(res1
)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18783 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (bool)(arg1
)->GetShowHelp();
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18799 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
= 0;
18801 wxFontData
*arg1
= (wxFontData
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char * kwnames
[] = {
18810 (char *) "self",(char *) "allowSymbols", NULL
18813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18815 if (!SWIG_IsOK(res1
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18818 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18819 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18820 if (!SWIG_IsOK(ecode2
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18823 arg2
= static_cast< bool >(val2
);
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->SetAllowSymbols(arg2
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_Py_Void();
18837 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxFontData
*arg1
= (wxFontData
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char * kwnames
[] = {
18848 (char *) "self",(char *) "font", NULL
18851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18856 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18858 if (!SWIG_IsOK(res2
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18864 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= SWIG_Py_Void();
18878 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
= 0;
18880 wxFontData
*arg1
= (wxFontData
*) 0 ;
18881 wxColour
*arg2
= 0 ;
18885 PyObject
* obj0
= 0 ;
18886 PyObject
* obj1
= 0 ;
18887 char * kwnames
[] = {
18888 (char *) "self",(char *) "colour", NULL
18891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18893 if (!SWIG_IsOK(res1
)) {
18894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18896 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18899 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 (arg1
)->SetColour((wxColour
const &)*arg2
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_Py_Void();
18914 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
= 0;
18916 wxFontData
*arg1
= (wxFontData
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 char * kwnames
[] = {
18925 (char *) "self",(char *) "font", NULL
18928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18933 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18935 if (!SWIG_IsOK(res2
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18941 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_Py_Void();
18955 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
= 0;
18957 wxFontData
*arg1
= (wxFontData
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 PyObject
* obj2
= 0 ;
18969 char * kwnames
[] = {
18970 (char *) "self",(char *) "min",(char *) "max", NULL
18973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18978 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18980 if (!SWIG_IsOK(ecode2
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18983 arg2
= static_cast< int >(val2
);
18984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18985 if (!SWIG_IsOK(ecode3
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18988 arg3
= static_cast< int >(val3
);
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 (arg1
)->SetRange(arg2
,arg3
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_Py_Void();
19002 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxFontData
*arg1
= (wxFontData
*) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char * kwnames
[] = {
19013 (char *) "self",(char *) "showHelp", NULL
19016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19021 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19022 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19023 if (!SWIG_IsOK(ecode2
)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19026 arg2
= static_cast< bool >(val2
);
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 (arg1
)->SetShowHelp(arg2
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= SWIG_Py_Void();
19040 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19043 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19044 return SWIG_Py_Void();
19047 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19048 return SWIG_Python_InitShadowInstance(args
);
19051 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
= 0;
19053 wxWindow
*arg1
= (wxWindow
*) 0 ;
19054 wxFontData
*arg2
= 0 ;
19055 wxFontDialog
*result
= 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "parent",(char *) "data", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19073 if (!SWIG_IsOK(res2
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19079 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19081 if (!wxPyCheckForApp()) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19094 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19095 PyObject
*resultobj
= 0;
19096 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19097 wxFontData
*result
= 0 ;
19100 PyObject
*swig_obj
[1] ;
19102 if (!args
) SWIG_fail
;
19103 swig_obj
[0] = args
;
19104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19105 if (!SWIG_IsOK(res1
)) {
19106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19108 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19113 result
= (wxFontData
*) &_result_ref
;
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19125 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19128 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19129 return SWIG_Py_Void();
19132 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 return SWIG_Python_InitShadowInstance(args
);
19136 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxWindow
*arg1
= (wxWindow
*) NULL
;
19139 wxFont
const &arg2_defvalue
= wxNullFont
;
19140 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19148 bool temp3
= false ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 char * kwnames
[] = {
19153 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19166 if (!SWIG_IsOK(res2
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19172 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19176 arg3
= wxString_in_helper(obj2
);
19177 if (arg3
== NULL
) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19202 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
= 0;
19204 wxWindow
*arg1
= (wxWindow
*) 0 ;
19205 wxString
*arg2
= 0 ;
19206 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19207 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19208 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19209 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19210 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19211 wxMessageDialog
*result
= 0 ;
19214 bool temp2
= false ;
19215 bool temp3
= false ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 PyObject
* obj2
= 0 ;
19222 PyObject
* obj3
= 0 ;
19223 PyObject
* obj4
= 0 ;
19224 char * kwnames
[] = {
19225 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19235 arg2
= wxString_in_helper(obj1
);
19236 if (arg2
== NULL
) SWIG_fail
;
19241 arg3
= wxString_in_helper(obj2
);
19242 if (arg3
== NULL
) SWIG_fail
;
19247 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19248 if (!SWIG_IsOK(ecode4
)) {
19249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19251 arg4
= static_cast< long >(val4
);
19256 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19260 if (!wxPyCheckForApp()) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19289 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19292 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19293 return SWIG_Py_Void();
19296 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19297 return SWIG_Python_InitShadowInstance(args
);
19300 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
= 0;
19302 wxString
*arg1
= 0 ;
19303 wxString
*arg2
= 0 ;
19304 int arg3
= (int) 100 ;
19305 wxWindow
*arg4
= (wxWindow
*) NULL
;
19306 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19307 wxProgressDialog
*result
= 0 ;
19308 bool temp1
= false ;
19309 bool temp2
= false ;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 PyObject
* obj2
= 0 ;
19319 PyObject
* obj3
= 0 ;
19320 PyObject
* obj4
= 0 ;
19321 char * kwnames
[] = {
19322 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19327 arg1
= wxString_in_helper(obj0
);
19328 if (arg1
== NULL
) SWIG_fail
;
19332 arg2
= wxString_in_helper(obj1
);
19333 if (arg2
== NULL
) SWIG_fail
;
19337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19338 if (!SWIG_IsOK(ecode3
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19341 arg3
= static_cast< int >(val3
);
19344 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19345 if (!SWIG_IsOK(res4
)) {
19346 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19348 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19351 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19352 if (!SWIG_IsOK(ecode5
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19355 arg5
= static_cast< int >(val5
);
19358 if (!wxPyCheckForApp()) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19387 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
= 0;
19389 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19391 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19392 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19393 bool *arg4
= (bool *) 0 ;
19399 bool temp3
= false ;
19401 int res4
= SWIG_TMPOBJ
;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 PyObject
* obj2
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19415 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19417 if (!SWIG_IsOK(ecode2
)) {
19418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19420 arg2
= static_cast< int >(val2
);
19423 arg3
= wxString_in_helper(obj2
);
19424 if (arg3
== NULL
) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19437 if (SWIG_IsTmpObj(res4
)) {
19438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19440 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19457 SWIGINTERN PyObject
*_wrap_ProgressDialog_UpdatePulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
= 0;
19459 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19460 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19461 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19462 bool *arg3
= (bool *) 0 ;
19466 bool temp2
= false ;
19468 int res3
= SWIG_TMPOBJ
;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 char * kwnames
[] = {
19472 (char *) "self",(char *) "newmsg", NULL
19476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19478 if (!SWIG_IsOK(res1
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19481 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19484 arg2
= wxString_in_helper(obj1
);
19485 if (arg2
== NULL
) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (bool)(arg1
)->UpdatePulse((wxString
const &)*arg2
,arg3
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19498 if (SWIG_IsTmpObj(res3
)) {
19499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19501 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19518 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 PyObject
*resultobj
= 0;
19520 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19523 PyObject
*swig_obj
[1] ;
19525 if (!args
) SWIG_fail
;
19526 swig_obj
[0] = args
;
19527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19531 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19545 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19548 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19549 return SWIG_Py_Void();
19552 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19553 return SWIG_Python_InitShadowInstance(args
);
19556 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19559 int arg2
= (int) 0 ;
19560 wxFindDialogEvent
*result
= 0 ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char * kwnames
[] = {
19568 (char *) "commandType",(char *) "id", NULL
19571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19573 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19574 if (!SWIG_IsOK(ecode1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19577 arg1
= static_cast< wxEventType
>(val1
);
19580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19581 if (!SWIG_IsOK(ecode2
)) {
19582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19584 arg2
= static_cast< int >(val2
);
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19599 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19600 PyObject
*resultobj
= 0;
19601 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19605 PyObject
*swig_obj
[1] ;
19607 if (!args
) SWIG_fail
;
19608 swig_obj
[0] = args
;
19609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19610 if (!SWIG_IsOK(res1
)) {
19611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19613 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (int)(arg1
)->GetFlags();
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_From_int(static_cast< int >(result
));
19627 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19628 PyObject
*resultobj
= 0;
19629 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19630 wxString
*result
= 0 ;
19633 PyObject
*swig_obj
[1] ;
19635 if (!args
) SWIG_fail
;
19636 swig_obj
[0] = args
;
19637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19638 if (!SWIG_IsOK(res1
)) {
19639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19641 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 wxString
const &_result_ref
= (arg1
)->GetFindString();
19646 result
= (wxString
*) &_result_ref
;
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19664 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19665 PyObject
*resultobj
= 0;
19666 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19667 wxString
*result
= 0 ;
19670 PyObject
*swig_obj
[1] ;
19672 if (!args
) SWIG_fail
;
19673 swig_obj
[0] = args
;
19674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19678 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19683 result
= (wxString
*) &_result_ref
;
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19692 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19701 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19702 PyObject
*resultobj
= 0;
19703 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19704 wxFindReplaceDialog
*result
= 0 ;
19707 PyObject
*swig_obj
[1] ;
19709 if (!args
) SWIG_fail
;
19710 swig_obj
[0] = args
;
19711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19715 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19729 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
= 0;
19731 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char * kwnames
[] = {
19740 (char *) "self",(char *) "flags", NULL
19743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19748 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19750 if (!SWIG_IsOK(ecode2
)) {
19751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19753 arg2
= static_cast< int >(val2
);
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->SetFlags(arg2
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_Py_Void();
19767 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
= 0;
19769 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19770 wxString
*arg2
= 0 ;
19773 bool temp2
= false ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "str", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19785 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19787 arg2
= wxString_in_helper(obj1
);
19788 if (arg2
== NULL
) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->SetFindString((wxString
const &)*arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_Py_Void();
19812 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19815 wxString
*arg2
= 0 ;
19818 bool temp2
= false ;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 char * kwnames
[] = {
19822 (char *) "self",(char *) "str", NULL
19825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19827 if (!SWIG_IsOK(res1
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19830 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19832 arg2
= wxString_in_helper(obj1
);
19833 if (arg2
== NULL
) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19860 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19861 return SWIG_Py_Void();
19864 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19865 return SWIG_Python_InitShadowInstance(args
);
19868 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
= 0;
19870 int arg1
= (int) 0 ;
19871 wxFindReplaceData
*result
= 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char * kwnames
[] = {
19876 (char *) "flags", NULL
19879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19882 if (!SWIG_IsOK(ecode1
)) {
19883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19885 arg1
= static_cast< int >(val1
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19900 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19901 PyObject
*resultobj
= 0;
19902 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19905 PyObject
*swig_obj
[1] ;
19907 if (!args
) SWIG_fail
;
19908 swig_obj
[0] = args
;
19909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19910 if (!SWIG_IsOK(res1
)) {
19911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19913 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= SWIG_Py_Void();
19928 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19929 PyObject
*resultobj
= 0;
19930 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19931 wxString
*result
= 0 ;
19934 PyObject
*swig_obj
[1] ;
19936 if (!args
) SWIG_fail
;
19937 swig_obj
[0] = args
;
19938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19939 if (!SWIG_IsOK(res1
)) {
19940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19942 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 wxString
const &_result_ref
= (arg1
)->GetFindString();
19947 result
= (wxString
*) &_result_ref
;
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19965 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19966 PyObject
*resultobj
= 0;
19967 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19968 wxString
*result
= 0 ;
19971 PyObject
*swig_obj
[1] ;
19973 if (!args
) SWIG_fail
;
19974 swig_obj
[0] = args
;
19975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19976 if (!SWIG_IsOK(res1
)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19979 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19984 result
= (wxString
*) &_result_ref
;
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20002 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20003 PyObject
*resultobj
= 0;
20004 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20008 PyObject
*swig_obj
[1] ;
20010 if (!args
) SWIG_fail
;
20011 swig_obj
[0] = args
;
20012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20013 if (!SWIG_IsOK(res1
)) {
20014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20016 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (int)(arg1
)->GetFlags();
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_From_int(static_cast< int >(result
));
20030 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "flags", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20049 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20051 if (!SWIG_IsOK(ecode2
)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20054 arg2
= static_cast< int >(val2
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->SetFlags(arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_Py_Void();
20068 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20071 wxString
*arg2
= 0 ;
20074 bool temp2
= false ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 char * kwnames
[] = {
20078 (char *) "self",(char *) "str", NULL
20081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20083 if (!SWIG_IsOK(res1
)) {
20084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20086 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20088 arg2
= wxString_in_helper(obj1
);
20089 if (arg2
== NULL
) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->SetFindString((wxString
const &)*arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_Py_Void();
20113 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20116 wxString
*arg2
= 0 ;
20119 bool temp2
= false ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char * kwnames
[] = {
20123 (char *) "self",(char *) "str", NULL
20126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20131 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20133 arg2
= wxString_in_helper(obj1
);
20134 if (arg2
== NULL
) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_Py_Void();
20158 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20161 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20162 return SWIG_Py_Void();
20165 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20166 return SWIG_Python_InitShadowInstance(args
);
20169 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxWindow
*arg1
= (wxWindow
*) 0 ;
20172 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20173 wxString
*arg3
= 0 ;
20174 int arg4
= (int) 0 ;
20175 wxFindReplaceDialog
*result
= 0 ;
20180 bool temp3
= false ;
20183 PyObject
* obj0
= 0 ;
20184 PyObject
* obj1
= 0 ;
20185 PyObject
* obj2
= 0 ;
20186 PyObject
* obj3
= 0 ;
20187 char * kwnames
[] = {
20188 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20198 if (!SWIG_IsOK(res2
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20201 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20203 arg3
= wxString_in_helper(obj2
);
20204 if (arg3
== NULL
) SWIG_fail
;
20208 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20209 if (!SWIG_IsOK(ecode4
)) {
20210 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20212 arg4
= static_cast< int >(val4
);
20215 if (!wxPyCheckForApp()) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20236 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20237 PyObject
*resultobj
= 0;
20238 wxFindReplaceDialog
*result
= 0 ;
20240 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20242 if (!wxPyCheckForApp()) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20255 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20258 wxWindow
*arg2
= (wxWindow
*) 0 ;
20259 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20260 wxString
*arg4
= 0 ;
20261 int arg5
= (int) 0 ;
20269 bool temp4
= false ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 PyObject
* obj2
= 0 ;
20275 PyObject
* obj3
= 0 ;
20276 PyObject
* obj4
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20286 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20288 if (!SWIG_IsOK(res2
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20292 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20293 if (!SWIG_IsOK(res3
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20296 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20298 arg4
= wxString_in_helper(obj3
);
20299 if (arg4
== NULL
) SWIG_fail
;
20303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20304 if (!SWIG_IsOK(ecode5
)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20307 arg5
= static_cast< int >(val5
);
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20332 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20333 PyObject
*resultobj
= 0;
20334 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20335 wxFindReplaceData
*result
= 0 ;
20338 PyObject
*swig_obj
[1] ;
20340 if (!args
) SWIG_fail
;
20341 swig_obj
[0] = args
;
20342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20343 if (!SWIG_IsOK(res1
)) {
20344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20346 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20360 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
= 0;
20362 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20363 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20370 char * kwnames
[] = {
20371 (char *) "self",(char *) "data", NULL
20374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20376 if (!SWIG_IsOK(res1
)) {
20377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20379 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20381 if (!SWIG_IsOK(res2
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20384 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->SetData(arg2
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_Py_Void();
20398 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20402 return SWIG_Py_Void();
20405 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 return SWIG_Python_InitShadowInstance(args
);
20409 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
= 0;
20411 wxWindow
*arg1
= (wxWindow
*) 0 ;
20412 int arg2
= (int) (int)-1 ;
20413 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20414 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20415 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20416 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20417 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20418 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20419 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20420 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20421 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20422 wxMDIParentFrame
*result
= 0 ;
20427 bool temp3
= false ;
20432 bool temp7
= false ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 PyObject
* obj2
= 0 ;
20436 PyObject
* obj3
= 0 ;
20437 PyObject
* obj4
= 0 ;
20438 PyObject
* obj5
= 0 ;
20439 PyObject
* obj6
= 0 ;
20440 char * kwnames
[] = {
20441 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20452 if (!SWIG_IsOK(ecode2
)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20455 arg2
= static_cast< int >(val2
);
20459 arg3
= wxString_in_helper(obj2
);
20460 if (arg3
== NULL
) SWIG_fail
;
20467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20477 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20478 if (!SWIG_IsOK(ecode6
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20481 arg6
= static_cast< long >(val6
);
20485 arg7
= wxString_in_helper(obj6
);
20486 if (arg7
== NULL
) SWIG_fail
;
20491 if (!wxPyCheckForApp()) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20520 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20521 PyObject
*resultobj
= 0;
20522 wxMDIParentFrame
*result
= 0 ;
20524 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20526 if (!wxPyCheckForApp()) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20539 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
= 0;
20541 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20542 wxWindow
*arg2
= (wxWindow
*) 0 ;
20543 int arg3
= (int) (int)-1 ;
20544 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20550 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20551 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20560 bool temp4
= false ;
20565 bool temp8
= false ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 PyObject
* obj3
= 0 ;
20570 PyObject
* obj4
= 0 ;
20571 PyObject
* obj5
= 0 ;
20572 PyObject
* obj6
= 0 ;
20573 PyObject
* obj7
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20583 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20584 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20585 if (!SWIG_IsOK(res2
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20588 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20591 if (!SWIG_IsOK(ecode3
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20594 arg3
= static_cast< int >(val3
);
20598 arg4
= wxString_in_helper(obj3
);
20599 if (arg4
== NULL
) SWIG_fail
;
20606 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20612 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20616 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20617 if (!SWIG_IsOK(ecode7
)) {
20618 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20620 arg7
= static_cast< long >(val7
);
20624 arg8
= wxString_in_helper(obj7
);
20625 if (arg8
== NULL
) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20660 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20661 PyObject
*resultobj
= 0;
20662 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20665 PyObject
*swig_obj
[1] ;
20667 if (!args
) SWIG_fail
;
20668 swig_obj
[0] = args
;
20669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20673 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 (arg1
)->ActivateNext();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_Py_Void();
20687 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20688 PyObject
*resultobj
= 0;
20689 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20692 PyObject
*swig_obj
[1] ;
20694 if (!args
) SWIG_fail
;
20695 swig_obj
[0] = args
;
20696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20700 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 (arg1
)->ActivatePrevious();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_Py_Void();
20714 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20715 PyObject
*resultobj
= 0;
20716 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20719 PyObject
*swig_obj
[1] ;
20721 if (!args
) SWIG_fail
;
20722 swig_obj
[0] = args
;
20723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20724 if (!SWIG_IsOK(res1
)) {
20725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20727 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 (arg1
)->ArrangeIcons();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_Py_Void();
20741 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20742 PyObject
*resultobj
= 0;
20743 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20746 PyObject
*swig_obj
[1] ;
20748 if (!args
) SWIG_fail
;
20749 swig_obj
[0] = args
;
20750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20751 if (!SWIG_IsOK(res1
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20754 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_Py_Void();
20768 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20769 PyObject
*resultobj
= 0;
20770 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20771 wxMDIChildFrame
*result
= 0 ;
20774 PyObject
*swig_obj
[1] ;
20776 if (!args
) SWIG_fail
;
20777 swig_obj
[0] = args
;
20778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20782 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20798 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20801 wxMDIClientWindow
*result
= 0 ;
20804 PyObject
*swig_obj
[1] ;
20806 if (!args
) SWIG_fail
;
20807 swig_obj
[0] = args
;
20808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20809 if (!SWIG_IsOK(res1
)) {
20810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20812 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20828 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
= 0;
20830 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20831 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20836 PyObject
* obj0
= 0 ;
20837 PyObject
* obj1
= 0 ;
20838 char * kwnames
[] = {
20839 (char *) "self",(char *) "orient", NULL
20842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20844 if (!SWIG_IsOK(res1
)) {
20845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20847 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20850 if (!SWIG_IsOK(ecode2
)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20853 arg2
= static_cast< wxOrientation
>(val2
);
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 (arg1
)->Tile(arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= SWIG_Py_Void();
20868 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20871 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20872 return SWIG_Py_Void();
20875 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 return SWIG_Python_InitShadowInstance(args
);
20879 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
= 0;
20881 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20882 int arg2
= (int) (int)-1 ;
20883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20889 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20890 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20892 wxMDIChildFrame
*result
= 0 ;
20897 bool temp3
= false ;
20902 bool temp7
= false ;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 PyObject
* obj2
= 0 ;
20906 PyObject
* obj3
= 0 ;
20907 PyObject
* obj4
= 0 ;
20908 PyObject
* obj5
= 0 ;
20909 PyObject
* obj6
= 0 ;
20910 char * kwnames
[] = {
20911 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20916 if (!SWIG_IsOK(res1
)) {
20917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20919 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20922 if (!SWIG_IsOK(ecode2
)) {
20923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20925 arg2
= static_cast< int >(val2
);
20929 arg3
= wxString_in_helper(obj2
);
20930 if (arg3
== NULL
) SWIG_fail
;
20937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20947 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20948 if (!SWIG_IsOK(ecode6
)) {
20949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20951 arg6
= static_cast< long >(val6
);
20955 arg7
= wxString_in_helper(obj6
);
20956 if (arg7
== NULL
) SWIG_fail
;
20961 if (!wxPyCheckForApp()) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20990 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20991 PyObject
*resultobj
= 0;
20992 wxMDIChildFrame
*result
= 0 ;
20994 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20996 if (!wxPyCheckForApp()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21009 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
= 0;
21011 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21012 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21013 int arg3
= (int) (int)-1 ;
21014 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21015 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21016 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21017 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21018 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21019 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21020 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21021 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21022 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21030 bool temp4
= false ;
21035 bool temp8
= false ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 PyObject
* obj2
= 0 ;
21039 PyObject
* obj3
= 0 ;
21040 PyObject
* obj4
= 0 ;
21041 PyObject
* obj5
= 0 ;
21042 PyObject
* obj6
= 0 ;
21043 PyObject
* obj7
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21053 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21055 if (!SWIG_IsOK(res2
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21058 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21061 if (!SWIG_IsOK(ecode3
)) {
21062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21064 arg3
= static_cast< int >(val3
);
21068 arg4
= wxString_in_helper(obj3
);
21069 if (arg4
== NULL
) SWIG_fail
;
21076 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21082 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21086 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21087 if (!SWIG_IsOK(ecode7
)) {
21088 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21090 arg7
= static_cast< long >(val7
);
21094 arg8
= wxString_in_helper(obj7
);
21095 if (arg8
== NULL
) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21131 PyObject
*resultobj
= 0;
21132 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21135 PyObject
*swig_obj
[1] ;
21137 if (!args
) SWIG_fail
;
21138 swig_obj
[0] = args
;
21139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21140 if (!SWIG_IsOK(res1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21143 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 (arg1
)->Activate();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_Py_Void();
21157 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21160 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21161 return SWIG_Py_Void();
21164 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21165 return SWIG_Python_InitShadowInstance(args
);
21168 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
= 0;
21170 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21171 long arg2
= (long) 0 ;
21172 wxMDIClientWindow
*result
= 0 ;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 char * kwnames
[] = {
21180 (char *) "parent",(char *) "style", NULL
21183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21185 if (!SWIG_IsOK(res1
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21188 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21191 if (!SWIG_IsOK(ecode2
)) {
21192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21194 arg2
= static_cast< long >(val2
);
21197 if (!wxPyCheckForApp()) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21210 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21211 PyObject
*resultobj
= 0;
21212 wxMDIClientWindow
*result
= 0 ;
21214 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21216 if (!wxPyCheckForApp()) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21229 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
= 0;
21231 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21232 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21233 long arg3
= (long) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 PyObject
* obj2
= 0 ;
21244 char * kwnames
[] = {
21245 (char *) "self",(char *) "parent",(char *) "style", NULL
21248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21253 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21255 if (!SWIG_IsOK(res2
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21258 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21260 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21261 if (!SWIG_IsOK(ecode3
)) {
21262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21264 arg3
= static_cast< long >(val3
);
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21281 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21284 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21285 return SWIG_Py_Void();
21288 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21289 return SWIG_Python_InitShadowInstance(args
);
21292 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
= 0;
21294 wxWindow
*arg1
= (wxWindow
*) 0 ;
21295 int arg2
= (int) (int)-1 ;
21296 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21297 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21300 long arg5
= (long) 0 ;
21301 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21302 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21303 wxPyWindow
*result
= 0 ;
21312 bool temp6
= false ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 PyObject
* obj2
= 0 ;
21316 PyObject
* obj3
= 0 ;
21317 PyObject
* obj4
= 0 ;
21318 PyObject
* obj5
= 0 ;
21319 char * kwnames
[] = {
21320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21325 if (!SWIG_IsOK(res1
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21328 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21331 if (!SWIG_IsOK(ecode2
)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21334 arg2
= static_cast< int >(val2
);
21339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21349 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21350 if (!SWIG_IsOK(ecode5
)) {
21351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21353 arg5
= static_cast< long >(val5
);
21357 arg6
= wxString_in_helper(obj5
);
21358 if (arg6
== NULL
) SWIG_fail
;
21363 if (!wxPyCheckForApp()) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21384 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21385 PyObject
*resultobj
= 0;
21386 wxPyWindow
*result
= 0 ;
21388 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21390 if (!wxPyCheckForApp()) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (wxPyWindow
*)new wxPyWindow();
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21403 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
= 0;
21405 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21406 PyObject
*arg2
= (PyObject
*) 0 ;
21407 PyObject
*arg3
= (PyObject
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 PyObject
* obj2
= 0 ;
21413 char * kwnames
[] = {
21414 (char *) "self",(char *) "self",(char *) "_class", NULL
21417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21419 if (!SWIG_IsOK(res1
)) {
21420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21422 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_Py_Void();
21438 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "size", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21456 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21459 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_Py_Void();
21474 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= 0;
21476 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21477 wxDC
*arg2
= (wxDC
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 char * kwnames
[] = {
21486 (char *) "self",(char *) "dc", NULL
21489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21491 if (!SWIG_IsOK(res1
)) {
21492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21494 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21496 if (!SWIG_IsOK(res2
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21499 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21515 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
= 0;
21517 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 PyObject
* obj1
= 0 ;
21534 PyObject
* obj2
= 0 ;
21535 PyObject
* obj3
= 0 ;
21536 PyObject
* obj4
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21546 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21551 arg2
= static_cast< int >(val2
);
21552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21553 if (!SWIG_IsOK(ecode3
)) {
21554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21556 arg3
= static_cast< int >(val3
);
21557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21558 if (!SWIG_IsOK(ecode4
)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21561 arg4
= static_cast< int >(val4
);
21562 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21563 if (!SWIG_IsOK(ecode5
)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21566 arg5
= static_cast< int >(val5
);
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_Py_Void();
21580 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= 0;
21582 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21587 int arg6
= (int) wxSIZE_AUTO
;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 PyObject
* obj2
= 0 ;
21603 PyObject
* obj3
= 0 ;
21604 PyObject
* obj4
= 0 ;
21605 PyObject
* obj5
= 0 ;
21606 char * kwnames
[] = {
21607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21615 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21617 if (!SWIG_IsOK(ecode2
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21620 arg2
= static_cast< int >(val2
);
21621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21622 if (!SWIG_IsOK(ecode3
)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21625 arg3
= static_cast< int >(val3
);
21626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21627 if (!SWIG_IsOK(ecode4
)) {
21628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21630 arg4
= static_cast< int >(val4
);
21631 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21632 if (!SWIG_IsOK(ecode5
)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21635 arg5
= static_cast< int >(val5
);
21637 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21638 if (!SWIG_IsOK(ecode6
)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21641 arg6
= static_cast< int >(val6
);
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_Py_Void();
21656 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
= 0;
21658 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 PyObject
* obj2
= 0 ;
21670 char * kwnames
[] = {
21671 (char *) "self",(char *) "width",(char *) "height", NULL
21674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21676 if (!SWIG_IsOK(res1
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21679 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21681 if (!SWIG_IsOK(ecode2
)) {
21682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21684 arg2
= static_cast< int >(val2
);
21685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21686 if (!SWIG_IsOK(ecode3
)) {
21687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21689 arg3
= static_cast< int >(val3
);
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->DoSetClientSize(arg2
,arg3
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= SWIG_Py_Void();
21703 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21704 PyObject
*resultobj
= 0;
21705 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 PyObject
* obj2
= 0 ;
21717 char * kwnames
[] = {
21718 (char *) "self",(char *) "x",(char *) "y", NULL
21721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21726 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21728 if (!SWIG_IsOK(ecode2
)) {
21729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21731 arg2
= static_cast< int >(val2
);
21732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21733 if (!SWIG_IsOK(ecode3
)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21736 arg3
= static_cast< int >(val3
);
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_Py_Void();
21750 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21751 PyObject
*resultobj
= 0;
21752 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21753 int *arg2
= (int *) 0 ;
21754 int *arg3
= (int *) 0 ;
21758 int res2
= SWIG_TMPOBJ
;
21760 int res3
= SWIG_TMPOBJ
;
21761 PyObject
*swig_obj
[1] ;
21765 if (!args
) SWIG_fail
;
21766 swig_obj
[0] = args
;
21767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21768 if (!SWIG_IsOK(res1
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21771 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_Py_Void();
21779 if (SWIG_IsTmpObj(res2
)) {
21780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21782 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21785 if (SWIG_IsTmpObj(res3
)) {
21786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21788 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21797 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21798 PyObject
*resultobj
= 0;
21799 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21800 int *arg2
= (int *) 0 ;
21801 int *arg3
= (int *) 0 ;
21805 int res2
= SWIG_TMPOBJ
;
21807 int res3
= SWIG_TMPOBJ
;
21808 PyObject
*swig_obj
[1] ;
21812 if (!args
) SWIG_fail
;
21813 swig_obj
[0] = args
;
21814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21815 if (!SWIG_IsOK(res1
)) {
21816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21818 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_Py_Void();
21826 if (SWIG_IsTmpObj(res2
)) {
21827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21829 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21832 if (SWIG_IsTmpObj(res3
)) {
21833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21835 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21844 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21845 PyObject
*resultobj
= 0;
21846 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21847 int *arg2
= (int *) 0 ;
21848 int *arg3
= (int *) 0 ;
21852 int res2
= SWIG_TMPOBJ
;
21854 int res3
= SWIG_TMPOBJ
;
21855 PyObject
*swig_obj
[1] ;
21859 if (!args
) SWIG_fail
;
21860 swig_obj
[0] = args
;
21861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21865 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= SWIG_Py_Void();
21873 if (SWIG_IsTmpObj(res2
)) {
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21876 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21879 if (SWIG_IsTmpObj(res3
)) {
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21882 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21891 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21892 PyObject
*resultobj
= 0;
21893 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21897 PyObject
*swig_obj
[1] ;
21899 if (!args
) SWIG_fail
;
21900 swig_obj
[0] = args
;
21901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21902 if (!SWIG_IsOK(res1
)) {
21903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21905 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21919 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21920 PyObject
*resultobj
= 0;
21921 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21925 PyObject
*swig_obj
[1] ;
21927 if (!args
) SWIG_fail
;
21928 swig_obj
[0] = args
;
21929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21930 if (!SWIG_IsOK(res1
)) {
21931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21933 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21947 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21948 PyObject
*resultobj
= 0;
21949 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21950 SwigValueWrapper
<wxVisualAttributes
> result
;
21953 PyObject
*swig_obj
[1] ;
21955 if (!args
) SWIG_fail
;
21956 swig_obj
[0] = args
;
21957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21961 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (arg1
)->GetDefaultAttributes();
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21975 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 PyObject
*resultobj
= 0;
21977 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21980 PyObject
*swig_obj
[1] ;
21982 if (!args
) SWIG_fail
;
21983 swig_obj
[0] = args
;
21984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21985 if (!SWIG_IsOK(res1
)) {
21986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21988 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 (arg1
)->OnInternalIdle();
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= SWIG_Py_Void();
22002 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22005 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22006 return SWIG_Py_Void();
22009 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22010 return SWIG_Python_InitShadowInstance(args
);
22013 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
= 0;
22015 wxWindow
*arg1
= (wxWindow
*) 0 ;
22016 int arg2
= (int) (int)-1 ;
22017 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22018 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22019 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22020 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22021 long arg5
= (long) 0 ;
22022 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22023 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22024 wxPyPanel
*result
= 0 ;
22033 bool temp6
= false ;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 PyObject
* obj2
= 0 ;
22037 PyObject
* obj3
= 0 ;
22038 PyObject
* obj4
= 0 ;
22039 PyObject
* obj5
= 0 ;
22040 char * kwnames
[] = {
22041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22052 if (!SWIG_IsOK(ecode2
)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22055 arg2
= static_cast< int >(val2
);
22060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22070 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22071 if (!SWIG_IsOK(ecode5
)) {
22072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22074 arg5
= static_cast< long >(val5
);
22078 arg6
= wxString_in_helper(obj5
);
22079 if (arg6
== NULL
) SWIG_fail
;
22084 if (!wxPyCheckForApp()) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22105 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 PyObject
*resultobj
= 0;
22107 wxPyPanel
*result
= 0 ;
22109 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22111 if (!wxPyCheckForApp()) SWIG_fail
;
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (wxPyPanel
*)new wxPyPanel();
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22124 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
= 0;
22126 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22127 PyObject
*arg2
= (PyObject
*) 0 ;
22128 PyObject
*arg3
= (PyObject
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 PyObject
* obj2
= 0 ;
22134 char * kwnames
[] = {
22135 (char *) "self",(char *) "self",(char *) "_class", NULL
22138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22140 if (!SWIG_IsOK(res1
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22143 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_Py_Void();
22159 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
= 0;
22161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char * kwnames
[] = {
22169 (char *) "self",(char *) "size", NULL
22172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22174 if (!SWIG_IsOK(res1
)) {
22175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22177 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_Py_Void();
22195 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= 0;
22197 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22198 wxDC
*arg2
= (wxDC
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char * kwnames
[] = {
22207 (char *) "self",(char *) "dc", NULL
22210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22215 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22217 if (!SWIG_IsOK(res2
)) {
22218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22220 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22236 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
= 0;
22238 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 PyObject
* obj2
= 0 ;
22256 PyObject
* obj3
= 0 ;
22257 PyObject
* obj4
= 0 ;
22258 char * kwnames
[] = {
22259 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22264 if (!SWIG_IsOK(res1
)) {
22265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22267 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22269 if (!SWIG_IsOK(ecode2
)) {
22270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22272 arg2
= static_cast< int >(val2
);
22273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22274 if (!SWIG_IsOK(ecode3
)) {
22275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22277 arg3
= static_cast< int >(val3
);
22278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22279 if (!SWIG_IsOK(ecode4
)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22282 arg4
= static_cast< int >(val4
);
22283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22284 if (!SWIG_IsOK(ecode5
)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22287 arg5
= static_cast< int >(val5
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_Py_Void();
22301 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
= 0;
22303 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22308 int arg6
= (int) wxSIZE_AUTO
;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 PyObject
* obj2
= 0 ;
22324 PyObject
* obj3
= 0 ;
22325 PyObject
* obj4
= 0 ;
22326 PyObject
* obj5
= 0 ;
22327 char * kwnames
[] = {
22328 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22333 if (!SWIG_IsOK(res1
)) {
22334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22336 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22338 if (!SWIG_IsOK(ecode2
)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22341 arg2
= static_cast< int >(val2
);
22342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22343 if (!SWIG_IsOK(ecode3
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22346 arg3
= static_cast< int >(val3
);
22347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22348 if (!SWIG_IsOK(ecode4
)) {
22349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22351 arg4
= static_cast< int >(val4
);
22352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22353 if (!SWIG_IsOK(ecode5
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22356 arg5
= static_cast< int >(val5
);
22358 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22359 if (!SWIG_IsOK(ecode6
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22362 arg6
= static_cast< int >(val6
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 resultobj
= SWIG_Py_Void();
22377 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
= 0;
22379 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 PyObject
* obj2
= 0 ;
22391 char * kwnames
[] = {
22392 (char *) "self",(char *) "width",(char *) "height", NULL
22395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22400 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22402 if (!SWIG_IsOK(ecode2
)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22405 arg2
= static_cast< int >(val2
);
22406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22407 if (!SWIG_IsOK(ecode3
)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22410 arg3
= static_cast< int >(val3
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->DoSetClientSize(arg2
,arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_Py_Void();
22424 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
= 0;
22426 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 PyObject
* obj2
= 0 ;
22438 char * kwnames
[] = {
22439 (char *) "self",(char *) "x",(char *) "y", NULL
22442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22447 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22449 if (!SWIG_IsOK(ecode2
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22452 arg2
= static_cast< int >(val2
);
22453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22454 if (!SWIG_IsOK(ecode3
)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22457 arg3
= static_cast< int >(val3
);
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= SWIG_Py_Void();
22471 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22472 PyObject
*resultobj
= 0;
22473 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22474 int *arg2
= (int *) 0 ;
22475 int *arg3
= (int *) 0 ;
22479 int res2
= SWIG_TMPOBJ
;
22481 int res3
= SWIG_TMPOBJ
;
22482 PyObject
*swig_obj
[1] ;
22486 if (!args
) SWIG_fail
;
22487 swig_obj
[0] = args
;
22488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22492 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_Py_Void();
22500 if (SWIG_IsTmpObj(res2
)) {
22501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22503 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22506 if (SWIG_IsTmpObj(res3
)) {
22507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22509 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22518 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 PyObject
*resultobj
= 0;
22520 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22521 int *arg2
= (int *) 0 ;
22522 int *arg3
= (int *) 0 ;
22526 int res2
= SWIG_TMPOBJ
;
22528 int res3
= SWIG_TMPOBJ
;
22529 PyObject
*swig_obj
[1] ;
22533 if (!args
) SWIG_fail
;
22534 swig_obj
[0] = args
;
22535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22536 if (!SWIG_IsOK(res1
)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22539 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_Py_Void();
22547 if (SWIG_IsTmpObj(res2
)) {
22548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22550 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22553 if (SWIG_IsTmpObj(res3
)) {
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22556 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22565 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22566 PyObject
*resultobj
= 0;
22567 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22568 int *arg2
= (int *) 0 ;
22569 int *arg3
= (int *) 0 ;
22573 int res2
= SWIG_TMPOBJ
;
22575 int res3
= SWIG_TMPOBJ
;
22576 PyObject
*swig_obj
[1] ;
22580 if (!args
) SWIG_fail
;
22581 swig_obj
[0] = args
;
22582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22586 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_Py_Void();
22594 if (SWIG_IsTmpObj(res2
)) {
22595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22597 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22600 if (SWIG_IsTmpObj(res3
)) {
22601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22603 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22612 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22613 PyObject
*resultobj
= 0;
22614 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22618 PyObject
*swig_obj
[1] ;
22620 if (!args
) SWIG_fail
;
22621 swig_obj
[0] = args
;
22622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22626 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22640 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22641 PyObject
*resultobj
= 0;
22642 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22646 PyObject
*swig_obj
[1] ;
22648 if (!args
) SWIG_fail
;
22649 swig_obj
[0] = args
;
22650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22651 if (!SWIG_IsOK(res1
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22654 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22668 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22669 PyObject
*resultobj
= 0;
22670 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22671 SwigValueWrapper
<wxVisualAttributes
> result
;
22674 PyObject
*swig_obj
[1] ;
22676 if (!args
) SWIG_fail
;
22677 swig_obj
[0] = args
;
22678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22679 if (!SWIG_IsOK(res1
)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22682 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= (arg1
)->GetDefaultAttributes();
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22696 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22697 PyObject
*resultobj
= 0;
22698 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22701 PyObject
*swig_obj
[1] ;
22703 if (!args
) SWIG_fail
;
22704 swig_obj
[0] = args
;
22705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22709 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 (arg1
)->OnInternalIdle();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= SWIG_Py_Void();
22723 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22726 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22727 return SWIG_Py_Void();
22730 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 return SWIG_Python_InitShadowInstance(args
);
22734 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
= 0;
22736 wxWindow
*arg1
= (wxWindow
*) 0 ;
22737 int arg2
= (int) (int)-1 ;
22738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22742 long arg5
= (long) 0 ;
22743 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22744 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22745 wxPyScrolledWindow
*result
= 0 ;
22754 bool temp6
= false ;
22755 PyObject
* obj0
= 0 ;
22756 PyObject
* obj1
= 0 ;
22757 PyObject
* obj2
= 0 ;
22758 PyObject
* obj3
= 0 ;
22759 PyObject
* obj4
= 0 ;
22760 PyObject
* obj5
= 0 ;
22761 char * kwnames
[] = {
22762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22767 if (!SWIG_IsOK(res1
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22773 if (!SWIG_IsOK(ecode2
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22776 arg2
= static_cast< int >(val2
);
22781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22791 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22792 if (!SWIG_IsOK(ecode5
)) {
22793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22795 arg5
= static_cast< long >(val5
);
22799 arg6
= wxString_in_helper(obj5
);
22800 if (arg6
== NULL
) SWIG_fail
;
22805 if (!wxPyCheckForApp()) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22826 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22827 PyObject
*resultobj
= 0;
22828 wxPyScrolledWindow
*result
= 0 ;
22830 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22832 if (!wxPyCheckForApp()) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22845 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
= 0;
22847 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22848 PyObject
*arg2
= (PyObject
*) 0 ;
22849 PyObject
*arg3
= (PyObject
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 char * kwnames
[] = {
22856 (char *) "self",(char *) "self",(char *) "_class", NULL
22859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22864 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_Py_Void();
22880 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
= 0;
22882 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char * kwnames
[] = {
22890 (char *) "self",(char *) "size", NULL
22893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22895 if (!SWIG_IsOK(res1
)) {
22896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22898 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_Py_Void();
22916 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
= 0;
22918 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22919 wxDC
*arg2
= (wxDC
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 char * kwnames
[] = {
22928 (char *) "self",(char *) "dc", NULL
22931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22936 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22938 if (!SWIG_IsOK(res2
)) {
22939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22941 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22957 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
= 0;
22959 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 PyObject
* obj2
= 0 ;
22977 PyObject
* obj3
= 0 ;
22978 PyObject
* obj4
= 0 ;
22979 char * kwnames
[] = {
22980 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22985 if (!SWIG_IsOK(res1
)) {
22986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22988 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22990 if (!SWIG_IsOK(ecode2
)) {
22991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22993 arg2
= static_cast< int >(val2
);
22994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22995 if (!SWIG_IsOK(ecode3
)) {
22996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22998 arg3
= static_cast< int >(val3
);
22999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23000 if (!SWIG_IsOK(ecode4
)) {
23001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23003 arg4
= static_cast< int >(val4
);
23004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23005 if (!SWIG_IsOK(ecode5
)) {
23006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23008 arg5
= static_cast< int >(val5
);
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_Py_Void();
23022 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
= 0;
23024 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23029 int arg6
= (int) wxSIZE_AUTO
;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 PyObject
* obj2
= 0 ;
23045 PyObject
* obj3
= 0 ;
23046 PyObject
* obj4
= 0 ;
23047 PyObject
* obj5
= 0 ;
23048 char * kwnames
[] = {
23049 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23054 if (!SWIG_IsOK(res1
)) {
23055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23057 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23059 if (!SWIG_IsOK(ecode2
)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23062 arg2
= static_cast< int >(val2
);
23063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23064 if (!SWIG_IsOK(ecode3
)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23067 arg3
= static_cast< int >(val3
);
23068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23069 if (!SWIG_IsOK(ecode4
)) {
23070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23072 arg4
= static_cast< int >(val4
);
23073 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23074 if (!SWIG_IsOK(ecode5
)) {
23075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23077 arg5
= static_cast< int >(val5
);
23079 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23080 if (!SWIG_IsOK(ecode6
)) {
23081 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23083 arg6
= static_cast< int >(val6
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_Py_Void();
23098 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
= 0;
23100 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 PyObject
* obj2
= 0 ;
23112 char * kwnames
[] = {
23113 (char *) "self",(char *) "width",(char *) "height", NULL
23116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23121 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23123 if (!SWIG_IsOK(ecode2
)) {
23124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23126 arg2
= static_cast< int >(val2
);
23127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23128 if (!SWIG_IsOK(ecode3
)) {
23129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23131 arg3
= static_cast< int >(val3
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->DoSetClientSize(arg2
,arg3
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_Py_Void();
23145 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
= 0;
23147 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 PyObject
* obj2
= 0 ;
23159 char * kwnames
[] = {
23160 (char *) "self",(char *) "x",(char *) "y", NULL
23163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23168 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23170 if (!SWIG_IsOK(ecode2
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23173 arg2
= static_cast< int >(val2
);
23174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23175 if (!SWIG_IsOK(ecode3
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23178 arg3
= static_cast< int >(val3
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_Py_Void();
23192 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23193 PyObject
*resultobj
= 0;
23194 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23195 int *arg2
= (int *) 0 ;
23196 int *arg3
= (int *) 0 ;
23200 int res2
= SWIG_TMPOBJ
;
23202 int res3
= SWIG_TMPOBJ
;
23203 PyObject
*swig_obj
[1] ;
23207 if (!args
) SWIG_fail
;
23208 swig_obj
[0] = args
;
23209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23210 if (!SWIG_IsOK(res1
)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23213 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_Py_Void();
23221 if (SWIG_IsTmpObj(res2
)) {
23222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23224 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23227 if (SWIG_IsTmpObj(res3
)) {
23228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23239 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23240 PyObject
*resultobj
= 0;
23241 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23242 int *arg2
= (int *) 0 ;
23243 int *arg3
= (int *) 0 ;
23247 int res2
= SWIG_TMPOBJ
;
23249 int res3
= SWIG_TMPOBJ
;
23250 PyObject
*swig_obj
[1] ;
23254 if (!args
) SWIG_fail
;
23255 swig_obj
[0] = args
;
23256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23257 if (!SWIG_IsOK(res1
)) {
23258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23260 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23264 wxPyEndAllowThreads(__tstate
);
23265 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= SWIG_Py_Void();
23268 if (SWIG_IsTmpObj(res2
)) {
23269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23271 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23274 if (SWIG_IsTmpObj(res3
)) {
23275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23277 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23286 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23287 PyObject
*resultobj
= 0;
23288 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23289 int *arg2
= (int *) 0 ;
23290 int *arg3
= (int *) 0 ;
23294 int res2
= SWIG_TMPOBJ
;
23296 int res3
= SWIG_TMPOBJ
;
23297 PyObject
*swig_obj
[1] ;
23301 if (!args
) SWIG_fail
;
23302 swig_obj
[0] = args
;
23303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23307 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_Py_Void();
23315 if (SWIG_IsTmpObj(res2
)) {
23316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23318 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23321 if (SWIG_IsTmpObj(res3
)) {
23322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23324 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23333 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23334 PyObject
*resultobj
= 0;
23335 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23339 PyObject
*swig_obj
[1] ;
23341 if (!args
) SWIG_fail
;
23342 swig_obj
[0] = args
;
23343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23344 if (!SWIG_IsOK(res1
)) {
23345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23347 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23361 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23362 PyObject
*resultobj
= 0;
23363 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23367 PyObject
*swig_obj
[1] ;
23369 if (!args
) SWIG_fail
;
23370 swig_obj
[0] = args
;
23371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23372 if (!SWIG_IsOK(res1
)) {
23373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23375 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23389 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23390 PyObject
*resultobj
= 0;
23391 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23392 SwigValueWrapper
<wxVisualAttributes
> result
;
23395 PyObject
*swig_obj
[1] ;
23397 if (!args
) SWIG_fail
;
23398 swig_obj
[0] = args
;
23399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23403 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (arg1
)->GetDefaultAttributes();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23417 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23418 PyObject
*resultobj
= 0;
23419 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23422 PyObject
*swig_obj
[1] ;
23424 if (!args
) SWIG_fail
;
23425 swig_obj
[0] = args
;
23426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23430 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 (arg1
)->OnInternalIdle();
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_Py_Void();
23444 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23447 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23448 return SWIG_Py_Void();
23451 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 return SWIG_Python_InitShadowInstance(args
);
23455 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23456 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23461 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23462 PyObject
*pyobj
= 0;
23466 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23468 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23475 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23476 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23481 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23482 PyObject
*pyobj
= 0;
23486 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23488 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23495 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23496 PyObject
*resultobj
= 0;
23497 wxPrintData
*result
= 0 ;
23499 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= (wxPrintData
*)new wxPrintData();
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23513 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23514 PyObject
*resultobj
= 0;
23515 wxPrintData
*arg1
= 0 ;
23516 wxPrintData
*result
= 0 ;
23520 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23528 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23542 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23546 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23549 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23552 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23556 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23561 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23562 PyObject
*resultobj
= 0;
23563 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23566 PyObject
*swig_obj
[1] ;
23568 if (!args
) SWIG_fail
;
23569 swig_obj
[0] = args
;
23570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23571 if (!SWIG_IsOK(res1
)) {
23572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23574 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_Py_Void();
23589 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23595 PyObject
*swig_obj
[1] ;
23597 if (!args
) SWIG_fail
;
23598 swig_obj
[0] = args
;
23599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23600 if (!SWIG_IsOK(res1
)) {
23601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23603 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (int)(arg1
)->GetNoCopies();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_From_int(static_cast< int >(result
));
23617 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23618 PyObject
*resultobj
= 0;
23619 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23623 PyObject
*swig_obj
[1] ;
23625 if (!args
) SWIG_fail
;
23626 swig_obj
[0] = args
;
23627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23631 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (bool)(arg1
)->GetCollate();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23647 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 PyObject
*resultobj
= 0;
23649 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23653 PyObject
*swig_obj
[1] ;
23655 if (!args
) SWIG_fail
;
23656 swig_obj
[0] = args
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23661 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (int)(arg1
)->GetOrientation();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_From_int(static_cast< int >(result
));
23675 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23676 PyObject
*resultobj
= 0;
23677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23681 PyObject
*swig_obj
[1] ;
23683 if (!args
) SWIG_fail
;
23684 swig_obj
[0] = args
;
23685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23689 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (bool)(arg1
)->IsOk();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23705 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 PyObject
*resultobj
= 0;
23707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23708 wxString
*result
= 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23719 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23724 result
= (wxString
*) &_result_ref
;
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23733 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23742 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 PyObject
*resultobj
= 0;
23744 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23748 PyObject
*swig_obj
[1] ;
23750 if (!args
) SWIG_fail
;
23751 swig_obj
[0] = args
;
23752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23756 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= (bool)(arg1
)->GetColour();
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23772 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 PyObject
*resultobj
= 0;
23774 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23775 wxDuplexMode result
;
23778 PyObject
*swig_obj
[1] ;
23780 if (!args
) SWIG_fail
;
23781 swig_obj
[0] = args
;
23782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23786 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_From_int(static_cast< int >(result
));
23800 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23801 PyObject
*resultobj
= 0;
23802 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23803 wxPaperSize result
;
23806 PyObject
*swig_obj
[1] ;
23808 if (!args
) SWIG_fail
;
23809 swig_obj
[0] = args
;
23810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23811 if (!SWIG_IsOK(res1
)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23814 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_From_int(static_cast< int >(result
));
23828 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23829 PyObject
*resultobj
= 0;
23830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23831 wxSize
*result
= 0 ;
23834 PyObject
*swig_obj
[1] ;
23836 if (!args
) SWIG_fail
;
23837 swig_obj
[0] = args
;
23838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23839 if (!SWIG_IsOK(res1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23842 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23847 result
= (wxSize
*) &_result_ref
;
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23859 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23860 PyObject
*resultobj
= 0;
23861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23865 PyObject
*swig_obj
[1] ;
23867 if (!args
) SWIG_fail
;
23868 swig_obj
[0] = args
;
23869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23873 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (int)(arg1
)->GetQuality();
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_From_int(static_cast< int >(result
));
23887 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23888 PyObject
*resultobj
= 0;
23889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23893 PyObject
*swig_obj
[1] ;
23895 if (!args
) SWIG_fail
;
23896 swig_obj
[0] = args
;
23897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23898 if (!SWIG_IsOK(res1
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23901 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (wxPrintBin
)(arg1
)->GetBin();
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_From_int(static_cast< int >(result
));
23915 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23916 PyObject
*resultobj
= 0;
23917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23918 wxPrintMode result
;
23921 PyObject
*swig_obj
[1] ;
23923 if (!args
) SWIG_fail
;
23924 swig_obj
[0] = args
;
23925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23926 if (!SWIG_IsOK(res1
)) {
23927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23929 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_From_int(static_cast< int >(result
));
23943 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
= 0;
23945 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 PyObject
* obj1
= 0 ;
23953 char * kwnames
[] = {
23954 (char *) "self",(char *) "v", NULL
23957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23959 if (!SWIG_IsOK(res1
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23962 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23964 if (!SWIG_IsOK(ecode2
)) {
23965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23967 arg2
= static_cast< int >(val2
);
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 (arg1
)->SetNoCopies(arg2
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_Py_Void();
23981 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= 0;
23983 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "self",(char *) "flag", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24000 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24001 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24002 if (!SWIG_IsOK(ecode2
)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24005 arg2
= static_cast< bool >(val2
);
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 (arg1
)->SetCollate(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= SWIG_Py_Void();
24019 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
= 0;
24021 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char * kwnames
[] = {
24030 (char *) "self",(char *) "orient", NULL
24033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24035 if (!SWIG_IsOK(res1
)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24038 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24040 if (!SWIG_IsOK(ecode2
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24043 arg2
= static_cast< int >(val2
);
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 (arg1
)->SetOrientation(arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_Py_Void();
24057 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
= 0;
24059 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24060 wxString
*arg2
= 0 ;
24063 bool temp2
= false ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char * kwnames
[] = {
24067 (char *) "self",(char *) "name", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24075 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24077 arg2
= wxString_in_helper(obj1
);
24078 if (arg2
== NULL
) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_Py_Void();
24102 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
= 0;
24104 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 char * kwnames
[] = {
24113 (char *) "self",(char *) "colour", NULL
24116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24121 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24122 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24123 if (!SWIG_IsOK(ecode2
)) {
24124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24126 arg2
= static_cast< bool >(val2
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 (arg1
)->SetColour(arg2
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= SWIG_Py_Void();
24140 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= 0;
24142 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24143 wxDuplexMode arg2
;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "self",(char *) "duplex", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24159 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24161 if (!SWIG_IsOK(ecode2
)) {
24162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24164 arg2
= static_cast< wxDuplexMode
>(val2
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 (arg1
)->SetDuplex(arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_Py_Void();
24178 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
= 0;
24180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 char * kwnames
[] = {
24189 (char *) "self",(char *) "sizeId", NULL
24192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",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_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24197 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24199 if (!SWIG_IsOK(ecode2
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24202 arg2
= static_cast< wxPaperSize
>(val2
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->SetPaperId(arg2
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_Py_Void();
24216 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
= 0;
24218 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "sz", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24234 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24237 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_Py_Void();
24252 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "quality", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24271 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24273 if (!SWIG_IsOK(ecode2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24276 arg2
= static_cast< int >(val2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 (arg1
)->SetQuality(arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_Py_Void();
24290 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char * kwnames
[] = {
24301 (char *) "self",(char *) "bin", NULL
24304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24306 if (!SWIG_IsOK(res1
)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24309 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24311 if (!SWIG_IsOK(ecode2
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24314 arg2
= static_cast< wxPrintBin
>(val2
);
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 (arg1
)->SetBin(arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_Py_Void();
24328 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
= 0;
24330 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char * kwnames
[] = {
24339 (char *) "self",(char *) "printMode", NULL
24342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24344 if (!SWIG_IsOK(res1
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24347 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24349 if (!SWIG_IsOK(ecode2
)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24352 arg2
= static_cast< wxPrintMode
>(val2
);
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 (arg1
)->SetPrintMode(arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_Py_Void();
24366 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24367 PyObject
*resultobj
= 0;
24368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24372 PyObject
*swig_obj
[1] ;
24374 if (!args
) SWIG_fail
;
24375 swig_obj
[0] = args
;
24376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24377 if (!SWIG_IsOK(res1
)) {
24378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24380 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24400 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
= 0;
24402 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24403 wxString
*arg2
= 0 ;
24406 bool temp2
= false ;
24407 PyObject
* obj0
= 0 ;
24408 PyObject
* obj1
= 0 ;
24409 char * kwnames
[] = {
24410 (char *) "self",(char *) "filename", NULL
24413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24418 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24420 arg2
= wxString_in_helper(obj1
);
24421 if (arg2
== NULL
) SWIG_fail
;
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 (arg1
)->SetFilename((wxString
const &)*arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_Py_Void();
24445 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24446 PyObject
*resultobj
= 0;
24447 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24448 PyObject
*result
= 0 ;
24451 PyObject
*swig_obj
[1] ;
24453 if (!args
) SWIG_fail
;
24454 swig_obj
[0] = args
;
24455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24456 if (!SWIG_IsOK(res1
)) {
24457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24459 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= result
;
24473 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
= 0;
24475 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24476 PyObject
*arg2
= (PyObject
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "data", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24490 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 wxPrintData_SetPrivData(arg1
,arg2
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_Py_Void();
24505 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24508 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24509 return SWIG_Py_Void();
24512 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24513 return SWIG_Python_InitShadowInstance(args
);
24516 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24517 PyObject
*resultobj
= 0;
24518 wxPageSetupDialogData
*result
= 0 ;
24520 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24534 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24535 PyObject
*resultobj
= 0;
24536 wxPageSetupDialogData
*arg1
= 0 ;
24537 wxPageSetupDialogData
*result
= 0 ;
24541 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24549 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24563 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24564 PyObject
*resultobj
= 0;
24565 wxPrintData
*arg1
= 0 ;
24566 wxPageSetupDialogData
*result
= 0 ;
24570 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24572 if (!SWIG_IsOK(res1
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24578 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24592 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24596 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24599 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24604 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24605 _v
= SWIG_CheckState(res
);
24607 if (!_v
) goto check_2
;
24608 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24613 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24617 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24622 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24623 PyObject
*resultobj
= 0;
24624 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24627 PyObject
*swig_obj
[1] ;
24629 if (!args
) SWIG_fail
;
24630 swig_obj
[0] = args
;
24631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24635 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= SWIG_Py_Void();
24650 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
= 0;
24652 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 char * kwnames
[] = {
24661 (char *) "self",(char *) "flag", NULL
24664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24666 if (!SWIG_IsOK(res1
)) {
24667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24669 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24671 if (!SWIG_IsOK(ecode2
)) {
24672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24674 arg2
= static_cast< bool >(val2
);
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 (arg1
)->EnableHelp(arg2
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_Py_Void();
24688 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
= 0;
24690 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "self",(char *) "flag", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24707 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24712 arg2
= static_cast< bool >(val2
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 (arg1
)->EnableMargins(arg2
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= SWIG_Py_Void();
24726 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
= 0;
24728 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "self",(char *) "flag", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24745 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24746 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24747 if (!SWIG_IsOK(ecode2
)) {
24748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24750 arg2
= static_cast< bool >(val2
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 (arg1
)->EnableOrientation(arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_Py_Void();
24764 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
= 0;
24766 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 char * kwnames
[] = {
24775 (char *) "self",(char *) "flag", NULL
24778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24783 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24784 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24785 if (!SWIG_IsOK(ecode2
)) {
24786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24788 arg2
= static_cast< bool >(val2
);
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 (arg1
)->EnablePaper(arg2
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_Py_Void();
24802 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
= 0;
24804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "self",(char *) "flag", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24821 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24822 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24823 if (!SWIG_IsOK(ecode2
)) {
24824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24826 arg2
= static_cast< bool >(val2
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 (arg1
)->EnablePrinter(arg2
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_Py_Void();
24840 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24841 PyObject
*resultobj
= 0;
24842 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24846 PyObject
*swig_obj
[1] ;
24848 if (!args
) SWIG_fail
;
24849 swig_obj
[0] = args
;
24850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24851 if (!SWIG_IsOK(res1
)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24854 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (bool)(arg1
)->GetDefaultMinMargins();
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24870 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24871 PyObject
*resultobj
= 0;
24872 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24876 PyObject
*swig_obj
[1] ;
24878 if (!args
) SWIG_fail
;
24879 swig_obj
[0] = args
;
24880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24884 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 result
= (bool)(arg1
)->GetEnableMargins();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24900 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 PyObject
*resultobj
= 0;
24902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24906 PyObject
*swig_obj
[1] ;
24908 if (!args
) SWIG_fail
;
24909 swig_obj
[0] = args
;
24910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24914 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (bool)(arg1
)->GetEnableOrientation();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24930 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24931 PyObject
*resultobj
= 0;
24932 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24936 PyObject
*swig_obj
[1] ;
24938 if (!args
) SWIG_fail
;
24939 swig_obj
[0] = args
;
24940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24944 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 result
= (bool)(arg1
)->GetEnablePaper();
24948 wxPyEndAllowThreads(__tstate
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24960 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 PyObject
*resultobj
= 0;
24962 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24966 PyObject
*swig_obj
[1] ;
24968 if (!args
) SWIG_fail
;
24969 swig_obj
[0] = args
;
24970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24974 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (bool)(arg1
)->GetEnablePrinter();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24990 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 PyObject
*resultobj
= 0;
24992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24996 PyObject
*swig_obj
[1] ;
24998 if (!args
) SWIG_fail
;
24999 swig_obj
[0] = args
;
25000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25004 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (bool)(arg1
)->GetEnableHelp();
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25020 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25021 PyObject
*resultobj
= 0;
25022 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25026 PyObject
*swig_obj
[1] ;
25028 if (!args
) SWIG_fail
;
25029 swig_obj
[0] = args
;
25030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25031 if (!SWIG_IsOK(res1
)) {
25032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25034 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (bool)(arg1
)->GetDefaultInfo();
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25050 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25051 PyObject
*resultobj
= 0;
25052 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25056 PyObject
*swig_obj
[1] ;
25058 if (!args
) SWIG_fail
;
25059 swig_obj
[0] = args
;
25060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25064 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25067 result
= (arg1
)->GetMarginTopLeft();
25068 wxPyEndAllowThreads(__tstate
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25078 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25079 PyObject
*resultobj
= 0;
25080 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25084 PyObject
*swig_obj
[1] ;
25086 if (!args
) SWIG_fail
;
25087 swig_obj
[0] = args
;
25088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25089 if (!SWIG_IsOK(res1
)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25092 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (arg1
)->GetMarginBottomRight();
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25106 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25107 PyObject
*resultobj
= 0;
25108 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25112 PyObject
*swig_obj
[1] ;
25114 if (!args
) SWIG_fail
;
25115 swig_obj
[0] = args
;
25116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25120 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (arg1
)->GetMinMarginTopLeft();
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25134 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25135 PyObject
*resultobj
= 0;
25136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25140 PyObject
*swig_obj
[1] ;
25142 if (!args
) SWIG_fail
;
25143 swig_obj
[0] = args
;
25144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25145 if (!SWIG_IsOK(res1
)) {
25146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25148 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (arg1
)->GetMinMarginBottomRight();
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25162 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25163 PyObject
*resultobj
= 0;
25164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25165 wxPaperSize result
;
25168 PyObject
*swig_obj
[1] ;
25170 if (!args
) SWIG_fail
;
25171 swig_obj
[0] = args
;
25172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25173 if (!SWIG_IsOK(res1
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25176 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_From_int(static_cast< int >(result
));
25190 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25191 PyObject
*resultobj
= 0;
25192 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25196 PyObject
*swig_obj
[1] ;
25198 if (!args
) SWIG_fail
;
25199 swig_obj
[0] = args
;
25200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25201 if (!SWIG_IsOK(res1
)) {
25202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25204 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 result
= (arg1
)->GetPaperSize();
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25218 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25219 PyObject
*resultobj
= 0;
25220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25221 wxPrintData
*result
= 0 ;
25224 PyObject
*swig_obj
[1] ;
25226 if (!args
) SWIG_fail
;
25227 swig_obj
[0] = args
;
25228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25229 if (!SWIG_IsOK(res1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25232 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25237 result
= (wxPrintData
*) &_result_ref
;
25239 wxPyEndAllowThreads(__tstate
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25249 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25250 PyObject
*resultobj
= 0;
25251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25255 PyObject
*swig_obj
[1] ;
25257 if (!args
) SWIG_fail
;
25258 swig_obj
[0] = args
;
25259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25263 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 result
= (bool)(arg1
)->IsOk();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25279 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
= 0;
25281 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 char * kwnames
[] = {
25290 (char *) "self",(char *) "flag", NULL
25293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25295 if (!SWIG_IsOK(res1
)) {
25296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25298 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25300 if (!SWIG_IsOK(ecode2
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25303 arg2
= static_cast< bool >(val2
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 (arg1
)->SetDefaultInfo(arg2
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_Py_Void();
25317 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "flag", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25336 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25337 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25338 if (!SWIG_IsOK(ecode2
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25341 arg2
= static_cast< bool >(val2
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 (arg1
)->SetDefaultMinMargins(arg2
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= 0;
25357 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25358 wxPoint
*arg2
= 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "self",(char *) "pt", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25373 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_Py_Void();
25391 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= 0;
25393 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25394 wxPoint
*arg2
= 0 ;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char * kwnames
[] = {
25401 (char *) "self",(char *) "pt", NULL
25404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25409 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_Py_Void();
25427 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
= 0;
25429 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25430 wxPoint
*arg2
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "self",(char *) "pt", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25445 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_Py_Void();
25463 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25466 wxPoint
*arg2
= 0 ;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 char * kwnames
[] = {
25473 (char *) "self",(char *) "pt", NULL
25476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25478 if (!SWIG_IsOK(res1
)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25481 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_Py_Void();
25499 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
= 0;
25501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 char * kwnames
[] = {
25510 (char *) "self",(char *) "id", NULL
25513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25515 if (!SWIG_IsOK(res1
)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25518 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25520 if (!SWIG_IsOK(ecode2
)) {
25521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25523 arg2
= static_cast< wxPaperSize
>(val2
);
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 (arg1
)->SetPaperId(arg2
);
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_Py_Void();
25537 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
= 0;
25539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "size", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25555 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_Py_Void();
25573 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
= 0;
25575 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25576 wxPrintData
*arg2
= 0 ;
25581 PyObject
* obj0
= 0 ;
25582 PyObject
* obj1
= 0 ;
25583 char * kwnames
[] = {
25584 (char *) "self",(char *) "printData", NULL
25587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25589 if (!SWIG_IsOK(res1
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25592 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25594 if (!SWIG_IsOK(res2
)) {
25595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25600 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_Py_Void();
25614 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25615 PyObject
*resultobj
= 0;
25616 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25619 PyObject
*swig_obj
[1] ;
25621 if (!args
) SWIG_fail
;
25622 swig_obj
[0] = args
;
25623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25624 if (!SWIG_IsOK(res1
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25627 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 (arg1
)->CalculateIdFromPaperSize();
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= SWIG_Py_Void();
25641 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25642 PyObject
*resultobj
= 0;
25643 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25646 PyObject
*swig_obj
[1] ;
25648 if (!args
) SWIG_fail
;
25649 swig_obj
[0] = args
;
25650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25654 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 (arg1
)->CalculatePaperSizeFromId();
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_Py_Void();
25668 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25672 return SWIG_Py_Void();
25675 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 return SWIG_Python_InitShadowInstance(args
);
25679 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
= 0;
25681 wxWindow
*arg1
= (wxWindow
*) 0 ;
25682 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25683 wxPageSetupDialog
*result
= 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 char * kwnames
[] = {
25691 (char *) "parent",(char *) "data", NULL
25694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25702 if (!SWIG_IsOK(res2
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25705 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25708 if (!wxPyCheckForApp()) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25721 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25722 PyObject
*resultobj
= 0;
25723 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25726 PyObject
*swig_obj
[1] ;
25728 if (!args
) SWIG_fail
;
25729 swig_obj
[0] = args
;
25730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25734 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_Py_Void();
25749 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25750 PyObject
*resultobj
= 0;
25751 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25752 wxPageSetupDialogData
*result
= 0 ;
25755 PyObject
*swig_obj
[1] ;
25757 if (!args
) SWIG_fail
;
25758 swig_obj
[0] = args
;
25759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25760 if (!SWIG_IsOK(res1
)) {
25761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25763 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25768 result
= (wxPageSetupDialogData
*) &_result_ref
;
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25780 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25781 PyObject
*resultobj
= 0;
25782 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25783 wxPageSetupDialogData
*result
= 0 ;
25786 PyObject
*swig_obj
[1] ;
25788 if (!args
) SWIG_fail
;
25789 swig_obj
[0] = args
;
25790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25791 if (!SWIG_IsOK(res1
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25794 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25799 result
= (wxPageSetupDialogData
*) &_result_ref
;
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25811 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25812 PyObject
*resultobj
= 0;
25813 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25817 PyObject
*swig_obj
[1] ;
25819 if (!args
) SWIG_fail
;
25820 swig_obj
[0] = args
;
25821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25822 if (!SWIG_IsOK(res1
)) {
25823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25825 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (int)(arg1
)->ShowModal();
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= SWIG_From_int(static_cast< int >(result
));
25839 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25842 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25843 return SWIG_Py_Void();
25846 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 return SWIG_Python_InitShadowInstance(args
);
25850 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25851 PyObject
*resultobj
= 0;
25852 wxPrintDialogData
*result
= 0 ;
25854 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25868 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25869 PyObject
*resultobj
= 0;
25870 wxPrintData
*arg1
= 0 ;
25871 wxPrintDialogData
*result
= 0 ;
25875 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25883 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25897 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25898 PyObject
*resultobj
= 0;
25899 wxPrintDialogData
*arg1
= 0 ;
25900 wxPrintDialogData
*result
= 0 ;
25904 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25906 if (!SWIG_IsOK(res1
)) {
25907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25912 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25926 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25930 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25933 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25938 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25939 _v
= SWIG_CheckState(res
);
25941 if (!_v
) goto check_2
;
25942 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25947 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25951 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25956 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25957 PyObject
*resultobj
= 0;
25958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25961 PyObject
*swig_obj
[1] ;
25963 if (!args
) SWIG_fail
;
25964 swig_obj
[0] = args
;
25965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25966 if (!SWIG_IsOK(res1
)) {
25967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25969 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 resultobj
= SWIG_Py_Void();
25984 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25985 PyObject
*resultobj
= 0;
25986 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25990 PyObject
*swig_obj
[1] ;
25992 if (!args
) SWIG_fail
;
25993 swig_obj
[0] = args
;
25994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25995 if (!SWIG_IsOK(res1
)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25998 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_From_int(static_cast< int >(result
));
26012 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26013 PyObject
*resultobj
= 0;
26014 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26018 PyObject
*swig_obj
[1] ;
26020 if (!args
) SWIG_fail
;
26021 swig_obj
[0] = args
;
26022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26023 if (!SWIG_IsOK(res1
)) {
26024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26026 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_From_int(static_cast< int >(result
));
26040 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26041 PyObject
*resultobj
= 0;
26042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26046 PyObject
*swig_obj
[1] ;
26048 if (!args
) SWIG_fail
;
26049 swig_obj
[0] = args
;
26050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26051 if (!SWIG_IsOK(res1
)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26054 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= SWIG_From_int(static_cast< int >(result
));
26068 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26069 PyObject
*resultobj
= 0;
26070 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26074 PyObject
*swig_obj
[1] ;
26076 if (!args
) SWIG_fail
;
26077 swig_obj
[0] = args
;
26078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26079 if (!SWIG_IsOK(res1
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26082 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_From_int(static_cast< int >(result
));
26096 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26097 PyObject
*resultobj
= 0;
26098 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26102 PyObject
*swig_obj
[1] ;
26104 if (!args
) SWIG_fail
;
26105 swig_obj
[0] = args
;
26106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26110 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= SWIG_From_int(static_cast< int >(result
));
26124 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26125 PyObject
*resultobj
= 0;
26126 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26130 PyObject
*swig_obj
[1] ;
26132 if (!args
) SWIG_fail
;
26133 swig_obj
[0] = args
;
26134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26138 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26154 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26155 PyObject
*resultobj
= 0;
26156 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26160 PyObject
*swig_obj
[1] ;
26162 if (!args
) SWIG_fail
;
26163 swig_obj
[0] = args
;
26164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26165 if (!SWIG_IsOK(res1
)) {
26166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26168 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26184 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26185 PyObject
*resultobj
= 0;
26186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26190 PyObject
*swig_obj
[1] ;
26192 if (!args
) SWIG_fail
;
26193 swig_obj
[0] = args
;
26194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26195 if (!SWIG_IsOK(res1
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26198 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26214 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26215 PyObject
*resultobj
= 0;
26216 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26220 PyObject
*swig_obj
[1] ;
26222 if (!args
) SWIG_fail
;
26223 swig_obj
[0] = args
;
26224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26225 if (!SWIG_IsOK(res1
)) {
26226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26228 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26244 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
= 0;
26246 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 char * kwnames
[] = {
26255 (char *) "self",(char *) "v", NULL
26258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26263 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26265 if (!SWIG_IsOK(ecode2
)) {
26266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26268 arg2
= static_cast< int >(val2
);
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->SetFromPage(arg2
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 resultobj
= SWIG_Py_Void();
26282 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
= 0;
26284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 PyObject
* obj1
= 0 ;
26292 char * kwnames
[] = {
26293 (char *) "self",(char *) "v", NULL
26296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26301 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26303 if (!SWIG_IsOK(ecode2
)) {
26304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26306 arg2
= static_cast< int >(val2
);
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 (arg1
)->SetToPage(arg2
);
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26313 resultobj
= SWIG_Py_Void();
26320 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
= 0;
26322 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 char * kwnames
[] = {
26331 (char *) "self",(char *) "v", NULL
26334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26336 if (!SWIG_IsOK(res1
)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26339 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26341 if (!SWIG_IsOK(ecode2
)) {
26342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26344 arg2
= static_cast< int >(val2
);
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 (arg1
)->SetMinPage(arg2
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_Py_Void();
26358 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
= 0;
26360 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 char * kwnames
[] = {
26369 (char *) "self",(char *) "v", NULL
26372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26374 if (!SWIG_IsOK(res1
)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26377 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26379 if (!SWIG_IsOK(ecode2
)) {
26380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26382 arg2
= static_cast< int >(val2
);
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 (arg1
)->SetMaxPage(arg2
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 resultobj
= SWIG_Py_Void();
26396 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
= 0;
26398 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26404 PyObject
* obj0
= 0 ;
26405 PyObject
* obj1
= 0 ;
26406 char * kwnames
[] = {
26407 (char *) "self",(char *) "v", NULL
26410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26412 if (!SWIG_IsOK(res1
)) {
26413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26415 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26417 if (!SWIG_IsOK(ecode2
)) {
26418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26420 arg2
= static_cast< int >(val2
);
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 (arg1
)->SetNoCopies(arg2
);
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 resultobj
= SWIG_Py_Void();
26434 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
= 0;
26436 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 char * kwnames
[] = {
26445 (char *) "self",(char *) "flag", NULL
26448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26453 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26455 if (!SWIG_IsOK(ecode2
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26458 arg2
= static_cast< bool >(val2
);
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->SetAllPages(arg2
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_Py_Void();
26472 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
= 0;
26474 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 PyObject
* obj1
= 0 ;
26482 char * kwnames
[] = {
26483 (char *) "self",(char *) "flag", NULL
26486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26488 if (!SWIG_IsOK(res1
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26491 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26492 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26493 if (!SWIG_IsOK(ecode2
)) {
26494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26496 arg2
= static_cast< bool >(val2
);
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 (arg1
)->SetSelection(arg2
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_Py_Void();
26510 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
= 0;
26512 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "flag", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26529 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26530 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26531 if (!SWIG_IsOK(ecode2
)) {
26532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26534 arg2
= static_cast< bool >(val2
);
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 (arg1
)->SetCollate(arg2
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= SWIG_Py_Void();
26548 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
= 0;
26550 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 char * kwnames
[] = {
26559 (char *) "self",(char *) "flag", NULL
26562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26564 if (!SWIG_IsOK(res1
)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26567 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26568 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26569 if (!SWIG_IsOK(ecode2
)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26572 arg2
= static_cast< bool >(val2
);
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 (arg1
)->SetPrintToFile(arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_Py_Void();
26586 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
= 0;
26588 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 char * kwnames
[] = {
26597 (char *) "self",(char *) "flag", NULL
26600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26602 if (!SWIG_IsOK(res1
)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26605 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26607 if (!SWIG_IsOK(ecode2
)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26610 arg2
= static_cast< bool >(val2
);
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 (arg1
)->EnablePrintToFile(arg2
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_Py_Void();
26624 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
= 0;
26626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char * kwnames
[] = {
26635 (char *) "self",(char *) "flag", NULL
26638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26643 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26644 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26645 if (!SWIG_IsOK(ecode2
)) {
26646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26648 arg2
= static_cast< bool >(val2
);
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 (arg1
)->EnableSelection(arg2
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_Py_Void();
26662 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
= 0;
26664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 char * kwnames
[] = {
26673 (char *) "self",(char *) "flag", NULL
26676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26678 if (!SWIG_IsOK(res1
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26681 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26683 if (!SWIG_IsOK(ecode2
)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26686 arg2
= static_cast< bool >(val2
);
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->EnablePageNumbers(arg2
);
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
= 0;
26702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char * kwnames
[] = {
26711 (char *) "self",(char *) "flag", NULL
26714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26716 if (!SWIG_IsOK(res1
)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26719 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26721 if (!SWIG_IsOK(ecode2
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26724 arg2
= static_cast< bool >(val2
);
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->EnableHelp(arg2
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= SWIG_Py_Void();
26738 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26739 PyObject
*resultobj
= 0;
26740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26744 PyObject
*swig_obj
[1] ;
26746 if (!args
) SWIG_fail
;
26747 swig_obj
[0] = args
;
26748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26749 if (!SWIG_IsOK(res1
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26752 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26768 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26769 PyObject
*resultobj
= 0;
26770 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26774 PyObject
*swig_obj
[1] ;
26776 if (!args
) SWIG_fail
;
26777 swig_obj
[0] = args
;
26778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26782 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26798 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26799 PyObject
*resultobj
= 0;
26800 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26804 PyObject
*swig_obj
[1] ;
26806 if (!args
) SWIG_fail
;
26807 swig_obj
[0] = args
;
26808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26812 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26828 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26829 PyObject
*resultobj
= 0;
26830 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26834 PyObject
*swig_obj
[1] ;
26836 if (!args
) SWIG_fail
;
26837 swig_obj
[0] = args
;
26838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26842 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26858 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26859 PyObject
*resultobj
= 0;
26860 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26864 PyObject
*swig_obj
[1] ;
26866 if (!args
) SWIG_fail
;
26867 swig_obj
[0] = args
;
26868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26872 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26888 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26889 PyObject
*resultobj
= 0;
26890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26891 wxPrintData
*result
= 0 ;
26894 PyObject
*swig_obj
[1] ;
26896 if (!args
) SWIG_fail
;
26897 swig_obj
[0] = args
;
26898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26902 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26907 result
= (wxPrintData
*) &_result_ref
;
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26919 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
= 0;
26921 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26922 wxPrintData
*arg2
= 0 ;
26927 PyObject
* obj0
= 0 ;
26928 PyObject
* obj1
= 0 ;
26929 char * kwnames
[] = {
26930 (char *) "self",(char *) "printData", NULL
26933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26938 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26940 if (!SWIG_IsOK(res2
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26946 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26950 wxPyEndAllowThreads(__tstate
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26953 resultobj
= SWIG_Py_Void();
26960 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26963 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26964 return SWIG_Py_Void();
26967 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26968 return SWIG_Python_InitShadowInstance(args
);
26971 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxWindow
*arg1
= (wxWindow
*) 0 ;
26974 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26975 wxPrintDialog
*result
= 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 char * kwnames
[] = {
26983 (char *) "parent",(char *) "data", NULL
26986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26991 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26994 if (!SWIG_IsOK(res2
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26997 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27000 if (!wxPyCheckForApp()) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27013 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27014 PyObject
*resultobj
= 0;
27015 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27018 PyObject
*swig_obj
[1] ;
27020 if (!args
) SWIG_fail
;
27021 swig_obj
[0] = args
;
27022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27023 if (!SWIG_IsOK(res1
)) {
27024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27026 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_Py_Void();
27041 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27047 PyObject
*swig_obj
[1] ;
27049 if (!args
) SWIG_fail
;
27050 swig_obj
[0] = args
;
27051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27055 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (int)(arg1
)->ShowModal();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_From_int(static_cast< int >(result
));
27069 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27070 PyObject
*resultobj
= 0;
27071 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27072 wxPrintDialogData
*result
= 0 ;
27075 PyObject
*swig_obj
[1] ;
27077 if (!args
) SWIG_fail
;
27078 swig_obj
[0] = args
;
27079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27083 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27088 result
= (wxPrintDialogData
*) &_result_ref
;
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27100 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27101 PyObject
*resultobj
= 0;
27102 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27103 wxPrintData
*result
= 0 ;
27106 PyObject
*swig_obj
[1] ;
27108 if (!args
) SWIG_fail
;
27109 swig_obj
[0] = args
;
27110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27111 if (!SWIG_IsOK(res1
)) {
27112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27114 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27119 result
= (wxPrintData
*) &_result_ref
;
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27131 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27132 PyObject
*resultobj
= 0;
27133 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27137 PyObject
*swig_obj
[1] ;
27139 if (!args
) SWIG_fail
;
27140 swig_obj
[0] = args
;
27141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27145 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (wxDC
*)(arg1
)->GetPrintDC();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27161 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27164 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27165 return SWIG_Py_Void();
27168 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27169 return SWIG_Python_InitShadowInstance(args
);
27172 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
= 0;
27174 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27175 wxPrinter
*result
= 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char * kwnames
[] = {
27180 (char *) "data", NULL
27183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27186 if (!SWIG_IsOK(res1
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27189 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27192 if (!wxPyCheckForApp()) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (wxPrinter
*)new wxPrinter(arg1
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27205 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 PyObject
*resultobj
= 0;
27207 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27210 PyObject
*swig_obj
[1] ;
27212 if (!args
) SWIG_fail
;
27213 swig_obj
[0] = args
;
27214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27215 if (!SWIG_IsOK(res1
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27218 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_Py_Void();
27233 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
= 0;
27235 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27236 wxWindow
*arg2
= (wxWindow
*) 0 ;
27237 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27238 wxWindow
*result
= 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 PyObject
* obj2
= 0 ;
27248 char * kwnames
[] = {
27249 (char *) "self",(char *) "parent",(char *) "printout", NULL
27252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27257 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27259 if (!SWIG_IsOK(res2
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27262 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27263 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27264 if (!SWIG_IsOK(res3
)) {
27265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27267 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= wxPyMake_wxObject(result
, 0);
27283 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= 0;
27285 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27286 wxWindow
*arg2
= (wxWindow
*) 0 ;
27287 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27288 wxString
*arg4
= 0 ;
27295 bool temp4
= false ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 PyObject
* obj2
= 0 ;
27299 PyObject
* obj3
= 0 ;
27300 char * kwnames
[] = {
27301 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27309 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27311 if (!SWIG_IsOK(res2
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27314 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27315 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27316 if (!SWIG_IsOK(res3
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27319 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27321 arg4
= wxString_in_helper(obj3
);
27322 if (arg4
== NULL
) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= SWIG_Py_Void();
27346 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
= 0;
27348 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27349 wxWindow
*arg2
= (wxWindow
*) 0 ;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 char * kwnames
[] = {
27358 (char *) "self",(char *) "parent", NULL
27361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27363 if (!SWIG_IsOK(res1
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27366 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27368 if (!SWIG_IsOK(res2
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27371 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (bool)(arg1
)->Setup(arg2
);
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27387 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
= 0;
27389 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27390 wxWindow
*arg2
= (wxWindow
*) 0 ;
27391 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27392 bool arg4
= (bool) true ;
27402 PyObject
* obj0
= 0 ;
27403 PyObject
* obj1
= 0 ;
27404 PyObject
* obj2
= 0 ;
27405 PyObject
* obj3
= 0 ;
27406 char * kwnames
[] = {
27407 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27415 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27417 if (!SWIG_IsOK(res2
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27421 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27422 if (!SWIG_IsOK(res3
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27425 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27427 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27428 if (!SWIG_IsOK(ecode4
)) {
27429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27431 arg4
= static_cast< bool >(val4
);
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27448 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
= 0;
27450 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27451 wxWindow
*arg2
= (wxWindow
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 char * kwnames
[] = {
27460 (char *) "self",(char *) "parent", NULL
27463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27465 if (!SWIG_IsOK(res1
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27468 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27470 if (!SWIG_IsOK(res2
)) {
27471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27473 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27489 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27490 PyObject
*resultobj
= 0;
27491 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27492 wxPrintDialogData
*result
= 0 ;
27495 PyObject
*swig_obj
[1] ;
27497 if (!args
) SWIG_fail
;
27498 swig_obj
[0] = args
;
27499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27500 if (!SWIG_IsOK(res1
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27503 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27508 result
= (wxPrintDialogData
*) &_result_ref
;
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27520 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27521 PyObject
*resultobj
= 0;
27522 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27526 PyObject
*swig_obj
[1] ;
27528 if (!args
) SWIG_fail
;
27529 swig_obj
[0] = args
;
27530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27531 if (!SWIG_IsOK(res1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27534 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= (bool)(arg1
)->GetAbort();
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27550 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxPrinterError result
;
27554 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (wxPrinterError
)wxPrinter::GetLastError();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= SWIG_From_int(static_cast< int >(result
));
27568 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27571 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27572 return SWIG_Py_Void();
27575 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 return SWIG_Python_InitShadowInstance(args
);
27579 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
= 0;
27581 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27582 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27583 wxPyPrintout
*result
= 0 ;
27584 bool temp1
= false ;
27585 PyObject
* obj0
= 0 ;
27586 char * kwnames
[] = {
27587 (char *) "title", NULL
27590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27593 arg1
= wxString_in_helper(obj0
);
27594 if (arg1
== NULL
) SWIG_fail
;
27599 if (!wxPyCheckForApp()) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27620 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27621 PyObject
*resultobj
= 0;
27622 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27625 PyObject
*swig_obj
[1] ;
27627 if (!args
) SWIG_fail
;
27628 swig_obj
[0] = args
;
27629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27630 if (!SWIG_IsOK(res1
)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27633 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_Py_Void();
27648 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
= 0;
27650 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27651 PyObject
*arg2
= (PyObject
*) 0 ;
27652 PyObject
*arg3
= (PyObject
*) 0 ;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 PyObject
* obj2
= 0 ;
27658 char * kwnames
[] = {
27659 (char *) "self",(char *) "self",(char *) "_class", NULL
27662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27667 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_Py_Void();
27683 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27684 PyObject
*resultobj
= 0;
27685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27689 PyObject
*swig_obj
[1] ;
27691 if (!args
) SWIG_fail
;
27692 swig_obj
[0] = args
;
27693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27697 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27717 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27718 PyObject
*resultobj
= 0;
27719 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27723 PyObject
*swig_obj
[1] ;
27725 if (!args
) SWIG_fail
;
27726 swig_obj
[0] = args
;
27727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27731 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= (wxDC
*)(arg1
)->GetDC();
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27747 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
= 0;
27749 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27750 wxDC
*arg2
= (wxDC
*) 0 ;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 char * kwnames
[] = {
27758 (char *) "self",(char *) "dc", NULL
27761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27766 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27768 if (!SWIG_IsOK(res2
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27771 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 (arg1
)->SetDC(arg2
);
27775 wxPyEndAllowThreads(__tstate
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= SWIG_Py_Void();
27785 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27786 PyObject
*resultobj
= 0;
27787 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 PyObject
* obj1
= 0 ;
27798 PyObject
* obj2
= 0 ;
27799 char * kwnames
[] = {
27800 (char *) "self",(char *) "w",(char *) "h", NULL
27803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27805 if (!SWIG_IsOK(res1
)) {
27806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27808 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27810 if (!SWIG_IsOK(ecode2
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27813 arg2
= static_cast< int >(val2
);
27814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27815 if (!SWIG_IsOK(ecode3
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27818 arg3
= static_cast< int >(val3
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_Py_Void();
27832 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27835 int *arg2
= (int *) 0 ;
27836 int *arg3
= (int *) 0 ;
27840 int res2
= SWIG_TMPOBJ
;
27842 int res3
= SWIG_TMPOBJ
;
27843 PyObject
*swig_obj
[1] ;
27847 if (!args
) SWIG_fail
;
27848 swig_obj
[0] = args
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27853 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= SWIG_Py_Void();
27861 if (SWIG_IsTmpObj(res2
)) {
27862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27864 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27867 if (SWIG_IsTmpObj(res3
)) {
27868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27870 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27879 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
= 0;
27881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 PyObject
* obj1
= 0 ;
27892 PyObject
* obj2
= 0 ;
27893 char * kwnames
[] = {
27894 (char *) "self",(char *) "w",(char *) "h", NULL
27897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27902 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27904 if (!SWIG_IsOK(ecode2
)) {
27905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27907 arg2
= static_cast< int >(val2
);
27908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27909 if (!SWIG_IsOK(ecode3
)) {
27910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27912 arg3
= static_cast< int >(val3
);
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= SWIG_Py_Void();
27926 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27927 PyObject
*resultobj
= 0;
27928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27929 int *arg2
= (int *) 0 ;
27930 int *arg3
= (int *) 0 ;
27934 int res2
= SWIG_TMPOBJ
;
27936 int res3
= SWIG_TMPOBJ
;
27937 PyObject
*swig_obj
[1] ;
27941 if (!args
) SWIG_fail
;
27942 swig_obj
[0] = args
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27947 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27950 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_Py_Void();
27955 if (SWIG_IsTmpObj(res2
)) {
27956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27958 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27961 if (SWIG_IsTmpObj(res3
)) {
27962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27964 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27973 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
= 0;
27975 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 PyObject
* obj1
= 0 ;
27986 PyObject
* obj2
= 0 ;
27987 char * kwnames
[] = {
27988 (char *) "self",(char *) "x",(char *) "y", NULL
27991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27996 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27998 if (!SWIG_IsOK(ecode2
)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28001 arg2
= static_cast< int >(val2
);
28002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28003 if (!SWIG_IsOK(ecode3
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28006 arg3
= static_cast< int >(val3
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->SetPPIScreen(arg2
,arg3
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= SWIG_Py_Void();
28020 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28021 PyObject
*resultobj
= 0;
28022 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28023 int *arg2
= (int *) 0 ;
28024 int *arg3
= (int *) 0 ;
28028 int res2
= SWIG_TMPOBJ
;
28030 int res3
= SWIG_TMPOBJ
;
28031 PyObject
*swig_obj
[1] ;
28035 if (!args
) SWIG_fail
;
28036 swig_obj
[0] = args
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28041 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 (arg1
)->GetPPIScreen(arg2
,arg3
);
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_Py_Void();
28049 if (SWIG_IsTmpObj(res2
)) {
28050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28052 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28055 if (SWIG_IsTmpObj(res3
)) {
28056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28058 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28067 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28068 PyObject
*resultobj
= 0;
28069 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 PyObject
* obj2
= 0 ;
28081 char * kwnames
[] = {
28082 (char *) "self",(char *) "x",(char *) "y", NULL
28085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28087 if (!SWIG_IsOK(res1
)) {
28088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28090 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28092 if (!SWIG_IsOK(ecode2
)) {
28093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28095 arg2
= static_cast< int >(val2
);
28096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28097 if (!SWIG_IsOK(ecode3
)) {
28098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28100 arg3
= static_cast< int >(val3
);
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_Py_Void();
28114 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28115 PyObject
*resultobj
= 0;
28116 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28117 int *arg2
= (int *) 0 ;
28118 int *arg3
= (int *) 0 ;
28122 int res2
= SWIG_TMPOBJ
;
28124 int res3
= SWIG_TMPOBJ
;
28125 PyObject
*swig_obj
[1] ;
28129 if (!args
) SWIG_fail
;
28130 swig_obj
[0] = args
;
28131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28135 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= SWIG_Py_Void();
28143 if (SWIG_IsTmpObj(res2
)) {
28144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28146 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28149 if (SWIG_IsTmpObj(res3
)) {
28150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28152 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28161 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28162 PyObject
*resultobj
= 0;
28163 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28167 PyObject
*swig_obj
[1] ;
28169 if (!args
) SWIG_fail
;
28170 swig_obj
[0] = args
;
28171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28175 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 result
= (bool)(arg1
)->IsPreview();
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28191 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
= 0;
28193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28199 PyObject
* obj0
= 0 ;
28200 PyObject
* obj1
= 0 ;
28201 char * kwnames
[] = {
28202 (char *) "self",(char *) "p", NULL
28205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28210 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28211 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28212 if (!SWIG_IsOK(ecode2
)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28215 arg2
= static_cast< bool >(val2
);
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetIsPreview(arg2
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_Py_Void();
28229 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
= 0;
28231 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28241 PyObject
* obj0
= 0 ;
28242 PyObject
* obj1
= 0 ;
28243 PyObject
* obj2
= 0 ;
28244 char * kwnames
[] = {
28245 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28253 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28255 if (!SWIG_IsOK(ecode2
)) {
28256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28258 arg2
= static_cast< int >(val2
);
28259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28260 if (!SWIG_IsOK(ecode3
)) {
28261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28263 arg3
= static_cast< int >(val3
);
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28279 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 PyObject
*resultobj
= 0;
28281 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28284 PyObject
*swig_obj
[1] ;
28286 if (!args
) SWIG_fail
;
28287 swig_obj
[0] = args
;
28288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28289 if (!SWIG_IsOK(res1
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28292 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 (arg1
)->OnEndDocument();
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= SWIG_Py_Void();
28306 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28311 PyObject
*swig_obj
[1] ;
28313 if (!args
) SWIG_fail
;
28314 swig_obj
[0] = args
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28319 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 (arg1
)->OnBeginPrinting();
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= SWIG_Py_Void();
28333 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28334 PyObject
*resultobj
= 0;
28335 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28338 PyObject
*swig_obj
[1] ;
28340 if (!args
) SWIG_fail
;
28341 swig_obj
[0] = args
;
28342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28343 if (!SWIG_IsOK(res1
)) {
28344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28346 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 (arg1
)->OnEndPrinting();
28350 wxPyEndAllowThreads(__tstate
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= SWIG_Py_Void();
28360 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28361 PyObject
*resultobj
= 0;
28362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28365 PyObject
*swig_obj
[1] ;
28367 if (!args
) SWIG_fail
;
28368 swig_obj
[0] = args
;
28369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28370 if (!SWIG_IsOK(res1
)) {
28371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28373 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 (arg1
)->OnPreparePrinting();
28377 wxPyEndAllowThreads(__tstate
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= SWIG_Py_Void();
28387 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28388 PyObject
*resultobj
= 0;
28389 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char * kwnames
[] = {
28399 (char *) "self",(char *) "page", NULL
28402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28407 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28409 if (!SWIG_IsOK(ecode2
)) {
28410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28412 arg2
= static_cast< int >(val2
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (bool)(arg1
)->HasPage(arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28428 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28429 PyObject
*resultobj
= 0;
28430 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28431 int *arg2
= (int *) 0 ;
28432 int *arg3
= (int *) 0 ;
28433 int *arg4
= (int *) 0 ;
28434 int *arg5
= (int *) 0 ;
28438 int res2
= SWIG_TMPOBJ
;
28440 int res3
= SWIG_TMPOBJ
;
28442 int res4
= SWIG_TMPOBJ
;
28444 int res5
= SWIG_TMPOBJ
;
28445 PyObject
*swig_obj
[1] ;
28451 if (!args
) SWIG_fail
;
28452 swig_obj
[0] = args
;
28453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28454 if (!SWIG_IsOK(res1
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28457 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= SWIG_Py_Void();
28465 if (SWIG_IsTmpObj(res2
)) {
28466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28468 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28471 if (SWIG_IsTmpObj(res3
)) {
28472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28474 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28477 if (SWIG_IsTmpObj(res4
)) {
28478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28480 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28483 if (SWIG_IsTmpObj(res5
)) {
28484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28486 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28495 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28498 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28499 return SWIG_Py_Void();
28502 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 return SWIG_Python_InitShadowInstance(args
);
28506 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
= 0;
28508 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28509 wxWindow
*arg2
= (wxWindow
*) 0 ;
28510 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28511 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28514 long arg5
= (long) 0 ;
28515 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28516 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28517 wxPreviewCanvas
*result
= 0 ;
28526 bool temp6
= false ;
28527 PyObject
* obj0
= 0 ;
28528 PyObject
* obj1
= 0 ;
28529 PyObject
* obj2
= 0 ;
28530 PyObject
* obj3
= 0 ;
28531 PyObject
* obj4
= 0 ;
28532 PyObject
* obj5
= 0 ;
28533 char * kwnames
[] = {
28534 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28539 if (!SWIG_IsOK(res1
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28542 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28544 if (!SWIG_IsOK(res2
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28547 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28551 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28557 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28561 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28562 if (!SWIG_IsOK(ecode5
)) {
28563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28565 arg5
= static_cast< long >(val5
);
28569 arg6
= wxString_in_helper(obj5
);
28570 if (arg6
== NULL
) SWIG_fail
;
28575 if (!wxPyCheckForApp()) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28596 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28599 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28600 return SWIG_Py_Void();
28603 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28604 return SWIG_Python_InitShadowInstance(args
);
28607 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
= 0;
28609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28610 wxFrame
*arg2
= (wxFrame
*) 0 ;
28611 wxString
*arg3
= 0 ;
28612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28616 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28617 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28619 wxPreviewFrame
*result
= 0 ;
28623 bool temp3
= false ;
28628 bool temp7
= false ;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 PyObject
* obj2
= 0 ;
28632 PyObject
* obj3
= 0 ;
28633 PyObject
* obj4
= 0 ;
28634 PyObject
* obj5
= 0 ;
28635 PyObject
* obj6
= 0 ;
28636 char * kwnames
[] = {
28637 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28641 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28642 if (!SWIG_IsOK(res1
)) {
28643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28646 if (!SWIG_IsOK(res2
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28649 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28651 arg3
= wxString_in_helper(obj2
);
28652 if (arg3
== NULL
) SWIG_fail
;
28658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28668 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28669 if (!SWIG_IsOK(ecode6
)) {
28670 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28672 arg6
= static_cast< long >(val6
);
28676 arg7
= wxString_in_helper(obj6
);
28677 if (arg7
== NULL
) SWIG_fail
;
28682 if (!wxPyCheckForApp()) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28711 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28712 PyObject
*resultobj
= 0;
28713 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28716 PyObject
*swig_obj
[1] ;
28718 if (!args
) SWIG_fail
;
28719 swig_obj
[0] = args
;
28720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28721 if (!SWIG_IsOK(res1
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28724 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->Initialize();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_Py_Void();
28738 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28743 PyObject
*swig_obj
[1] ;
28745 if (!args
) SWIG_fail
;
28746 swig_obj
[0] = args
;
28747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28751 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 (arg1
)->CreateControlBar();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_Py_Void();
28765 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28766 PyObject
*resultobj
= 0;
28767 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28770 PyObject
*swig_obj
[1] ;
28772 if (!args
) SWIG_fail
;
28773 swig_obj
[0] = args
;
28774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28775 if (!SWIG_IsOK(res1
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28778 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 (arg1
)->CreateCanvas();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_Py_Void();
28792 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28793 PyObject
*resultobj
= 0;
28794 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28795 wxPreviewControlBar
*result
= 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28806 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28820 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28824 return SWIG_Py_Void();
28827 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28828 return SWIG_Python_InitShadowInstance(args
);
28831 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
= 0;
28833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28835 wxWindow
*arg3
= (wxWindow
*) 0 ;
28836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28840 long arg6
= (long) wxTAB_TRAVERSAL
;
28841 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28843 wxPreviewControlBar
*result
= 0 ;
28854 bool temp7
= false ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 PyObject
* obj2
= 0 ;
28858 PyObject
* obj3
= 0 ;
28859 PyObject
* obj4
= 0 ;
28860 PyObject
* obj5
= 0 ;
28861 PyObject
* obj6
= 0 ;
28862 char * kwnames
[] = {
28863 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28871 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28873 if (!SWIG_IsOK(ecode2
)) {
28874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28876 arg2
= static_cast< long >(val2
);
28877 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28878 if (!SWIG_IsOK(res3
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28881 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28891 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28895 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28896 if (!SWIG_IsOK(ecode6
)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28899 arg6
= static_cast< long >(val6
);
28903 arg7
= wxString_in_helper(obj6
);
28904 if (arg7
== NULL
) SWIG_fail
;
28909 if (!wxPyCheckForApp()) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28930 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28931 PyObject
*resultobj
= 0;
28932 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28944 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (int)(arg1
)->GetZoomControl();
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= SWIG_From_int(static_cast< int >(result
));
28958 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28959 PyObject
*resultobj
= 0;
28960 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 char * kwnames
[] = {
28969 (char *) "self",(char *) "zoom", NULL
28972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28974 if (!SWIG_IsOK(res1
)) {
28975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28977 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28979 if (!SWIG_IsOK(ecode2
)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28982 arg2
= static_cast< int >(val2
);
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 (arg1
)->SetZoomControl(arg2
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= SWIG_Py_Void();
28996 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28997 PyObject
*resultobj
= 0;
28998 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28999 wxPrintPreview
*result
= 0 ;
29002 PyObject
*swig_obj
[1] ;
29004 if (!args
) SWIG_fail
;
29005 swig_obj
[0] = args
;
29006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29010 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29024 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29025 PyObject
*resultobj
= 0;
29026 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29029 PyObject
*swig_obj
[1] ;
29031 if (!args
) SWIG_fail
;
29032 swig_obj
[0] = args
;
29033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29034 if (!SWIG_IsOK(res1
)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29037 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_Py_Void();
29051 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29052 PyObject
*resultobj
= 0;
29053 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29056 PyObject
*swig_obj
[1] ;
29058 if (!args
) SWIG_fail
;
29059 swig_obj
[0] = args
;
29060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29061 if (!SWIG_IsOK(res1
)) {
29062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29064 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 (arg1
)->OnPrevious();
29068 wxPyEndAllowThreads(__tstate
);
29069 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= SWIG_Py_Void();
29078 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29079 PyObject
*resultobj
= 0;
29080 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29083 PyObject
*swig_obj
[1] ;
29085 if (!args
) SWIG_fail
;
29086 swig_obj
[0] = args
;
29087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29091 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 wxPyEndAllowThreads(__tstate
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= SWIG_Py_Void();
29105 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29106 PyObject
*resultobj
= 0;
29107 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29110 PyObject
*swig_obj
[1] ;
29112 if (!args
) SWIG_fail
;
29113 swig_obj
[0] = args
;
29114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29118 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= SWIG_Py_Void();
29132 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29133 PyObject
*resultobj
= 0;
29134 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29137 PyObject
*swig_obj
[1] ;
29139 if (!args
) SWIG_fail
;
29140 swig_obj
[0] = args
;
29141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29142 if (!SWIG_IsOK(res1
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29145 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= SWIG_Py_Void();
29159 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29162 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29163 return SWIG_Py_Void();
29166 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29167 return SWIG_Python_InitShadowInstance(args
);
29170 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29171 PyObject
*resultobj
= 0;
29172 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29173 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29174 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29175 wxPrintPreview
*result
= 0 ;
29181 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29182 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29183 if (!SWIG_IsOK(res1
)) {
29184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29186 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29187 if (!SWIG_IsOK(res2
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29191 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29192 if (!SWIG_IsOK(res3
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29195 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29198 if (!wxPyCheckForApp()) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29211 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29212 PyObject
*resultobj
= 0;
29213 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29214 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29215 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29216 wxPrintPreview
*result
= 0 ;
29222 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29223 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29224 if (!SWIG_IsOK(res1
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29227 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29228 if (!SWIG_IsOK(res2
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29231 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29232 if (!SWIG_IsOK(res3
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29235 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29237 if (!wxPyCheckForApp()) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29250 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29254 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29256 if ((argc
>= 2) && (argc
<= 3)) {
29261 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29262 _v
= SWIG_CheckState(res
);
29264 if (!_v
) goto check_1
;
29266 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29271 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29275 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29280 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29281 PyObject
*resultobj
= 0;
29282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29285 PyObject
*swig_obj
[1] ;
29287 if (!args
) SWIG_fail
;
29288 swig_obj
[0] = args
;
29289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29293 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 resultobj
= SWIG_Py_Void();
29308 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
= 0;
29310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29317 PyObject
* obj0
= 0 ;
29318 PyObject
* obj1
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "pageNum", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29328 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29330 if (!SWIG_IsOK(ecode2
)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29333 arg2
= static_cast< int >(val2
);
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29349 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29350 PyObject
*resultobj
= 0;
29351 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29355 PyObject
*swig_obj
[1] ;
29357 if (!args
) SWIG_fail
;
29358 swig_obj
[0] = args
;
29359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29360 if (!SWIG_IsOK(res1
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29363 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 result
= (int)(arg1
)->GetCurrentPage();
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_From_int(static_cast< int >(result
));
29377 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29380 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 char * kwnames
[] = {
29387 (char *) "self",(char *) "printout", NULL
29390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29395 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29396 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29397 if (!SWIG_IsOK(res2
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 (arg1
)->SetPrintout(arg2
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_Py_Void();
29413 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29414 PyObject
*resultobj
= 0;
29415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29416 wxPyPrintout
*result
= 0 ;
29419 PyObject
*swig_obj
[1] ;
29421 if (!args
) SWIG_fail
;
29422 swig_obj
[0] = args
;
29423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29424 if (!SWIG_IsOK(res1
)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29427 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= wxPyMake_wxObject(result
, 0);
29443 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29444 PyObject
*resultobj
= 0;
29445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29446 wxPyPrintout
*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_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29457 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= wxPyMake_wxObject(result
, 0);
29473 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
= 0;
29475 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29476 wxFrame
*arg2
= (wxFrame
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char * kwnames
[] = {
29484 (char *) "self",(char *) "frame", NULL
29487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29492 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29494 if (!SWIG_IsOK(res2
)) {
29495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29497 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 (arg1
)->SetFrame(arg2
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29511 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
= 0;
29513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29514 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 char * kwnames
[] = {
29522 (char *) "self",(char *) "canvas", NULL
29525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29530 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29532 if (!SWIG_IsOK(res2
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29535 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 (arg1
)->SetCanvas(arg2
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_Py_Void();
29549 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29550 PyObject
*resultobj
= 0;
29551 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29552 wxFrame
*result
= 0 ;
29555 PyObject
*swig_obj
[1] ;
29557 if (!args
) SWIG_fail
;
29558 swig_obj
[0] = args
;
29559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29560 if (!SWIG_IsOK(res1
)) {
29561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29563 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 result
= (wxFrame
*)(arg1
)->GetFrame();
29567 wxPyEndAllowThreads(__tstate
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29571 resultobj
= wxPyMake_wxObject(result
, 0);
29579 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 PyObject
*resultobj
= 0;
29581 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29582 wxPreviewCanvas
*result
= 0 ;
29585 PyObject
*swig_obj
[1] ;
29587 if (!args
) SWIG_fail
;
29588 swig_obj
[0] = args
;
29589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29593 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29607 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
= 0;
29609 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29610 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29631 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29633 if (!SWIG_IsOK(res2
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29636 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29637 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29638 if (!SWIG_IsOK(res3
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29644 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29660 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29663 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 PyObject
* obj2
= 0 ;
29675 char * kwnames
[] = {
29676 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29684 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29686 if (!SWIG_IsOK(res2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29689 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29690 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29691 if (!SWIG_IsOK(res3
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29697 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29713 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char * kwnames
[] = {
29725 (char *) "self",(char *) "pageNum", NULL
29728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29733 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29735 if (!SWIG_IsOK(ecode2
)) {
29736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29738 arg2
= static_cast< int >(val2
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (bool)(arg1
)->RenderPage(arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29754 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
= 0;
29756 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29757 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 char * kwnames
[] = {
29765 (char *) "self",(char *) "canvas", NULL
29768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29773 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29775 if (!SWIG_IsOK(res2
)) {
29776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29778 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 (arg1
)->AdjustScrollbars(arg2
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= SWIG_Py_Void();
29792 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29793 PyObject
*resultobj
= 0;
29794 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29795 wxPrintDialogData
*result
= 0 ;
29798 PyObject
*swig_obj
[1] ;
29800 if (!args
) SWIG_fail
;
29801 swig_obj
[0] = args
;
29802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29803 if (!SWIG_IsOK(res1
)) {
29804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29806 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29811 result
= (wxPrintDialogData
*) &_result_ref
;
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29823 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
= 0;
29825 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char * kwnames
[] = {
29834 (char *) "self",(char *) "percent", NULL
29837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29842 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29844 if (!SWIG_IsOK(ecode2
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29847 arg2
= static_cast< int >(val2
);
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 (arg1
)->SetZoom(arg2
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= SWIG_Py_Void();
29861 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29862 PyObject
*resultobj
= 0;
29863 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29867 PyObject
*swig_obj
[1] ;
29869 if (!args
) SWIG_fail
;
29870 swig_obj
[0] = args
;
29871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29875 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= (int)(arg1
)->GetZoom();
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_From_int(static_cast< int >(result
));
29889 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29890 PyObject
*resultobj
= 0;
29891 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29895 PyObject
*swig_obj
[1] ;
29897 if (!args
) SWIG_fail
;
29898 swig_obj
[0] = args
;
29899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29903 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 result
= (int)(arg1
)->GetMaxPage();
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= SWIG_From_int(static_cast< int >(result
));
29917 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29918 PyObject
*resultobj
= 0;
29919 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29923 PyObject
*swig_obj
[1] ;
29925 if (!args
) SWIG_fail
;
29926 swig_obj
[0] = args
;
29927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29931 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= (int)(arg1
)->GetMinPage();
29935 wxPyEndAllowThreads(__tstate
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= SWIG_From_int(static_cast< int >(result
));
29945 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29946 PyObject
*resultobj
= 0;
29947 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29951 PyObject
*swig_obj
[1] ;
29953 if (!args
) SWIG_fail
;
29954 swig_obj
[0] = args
;
29955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29959 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (bool)(arg1
)->IsOk();
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29975 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
= 0;
29977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 char * kwnames
[] = {
29986 (char *) "self",(char *) "ok", NULL
29989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29994 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29995 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29996 if (!SWIG_IsOK(ecode2
)) {
29997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29999 arg2
= static_cast< bool >(val2
);
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 (arg1
)->SetOk(arg2
);
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= SWIG_Py_Void();
30013 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
= 0;
30015 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 char * kwnames
[] = {
30025 (char *) "self",(char *) "interactive", NULL
30028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30033 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30034 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30035 if (!SWIG_IsOK(ecode2
)) {
30036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30038 arg2
= static_cast< bool >(val2
);
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 result
= (bool)(arg1
)->Print(arg2
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30054 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30055 PyObject
*resultobj
= 0;
30056 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30067 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 (arg1
)->DetermineScaling();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_Py_Void();
30081 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30084 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30085 return SWIG_Py_Void();
30088 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30089 return SWIG_Python_InitShadowInstance(args
);
30092 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30093 PyObject
*resultobj
= 0;
30094 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30095 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30096 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30097 wxPyPrintPreview
*result
= 0 ;
30103 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30104 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30105 if (!SWIG_IsOK(res1
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30108 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30109 if (!SWIG_IsOK(res2
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30113 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30114 if (!SWIG_IsOK(res3
)) {
30115 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30117 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30120 if (!wxPyCheckForApp()) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30123 wxPyEndAllowThreads(__tstate
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30133 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30134 PyObject
*resultobj
= 0;
30135 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30136 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30137 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30138 wxPyPrintPreview
*result
= 0 ;
30144 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30145 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30146 if (!SWIG_IsOK(res1
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30149 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30150 if (!SWIG_IsOK(res2
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30153 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30154 if (!SWIG_IsOK(res3
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30157 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30159 if (!wxPyCheckForApp()) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30172 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30176 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30178 if ((argc
>= 2) && (argc
<= 3)) {
30183 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30184 _v
= SWIG_CheckState(res
);
30186 if (!_v
) goto check_1
;
30188 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30193 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30202 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
= 0;
30204 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30205 PyObject
*arg2
= (PyObject
*) 0 ;
30206 PyObject
*arg3
= (PyObject
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 PyObject
* obj2
= 0 ;
30212 char * kwnames
[] = {
30213 (char *) "self",(char *) "self",(char *) "_class", NULL
30216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30221 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= SWIG_Py_Void();
30237 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30241 return SWIG_Py_Void();
30244 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30245 return SWIG_Python_InitShadowInstance(args
);
30248 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30251 wxFrame
*arg2
= (wxFrame
*) 0 ;
30252 wxString
*arg3
= 0 ;
30253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30257 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30258 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30260 wxPyPreviewFrame
*result
= 0 ;
30265 bool temp3
= false ;
30270 bool temp7
= false ;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 PyObject
* obj2
= 0 ;
30274 PyObject
* obj3
= 0 ;
30275 PyObject
* obj4
= 0 ;
30276 PyObject
* obj5
= 0 ;
30277 PyObject
* obj6
= 0 ;
30278 char * kwnames
[] = {
30279 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30284 if (!SWIG_IsOK(res1
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30287 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30289 if (!SWIG_IsOK(res2
)) {
30290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30292 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30294 arg3
= wxString_in_helper(obj2
);
30295 if (arg3
== NULL
) SWIG_fail
;
30301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30311 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30312 if (!SWIG_IsOK(ecode6
)) {
30313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30315 arg6
= static_cast< long >(val6
);
30319 arg7
= wxString_in_helper(obj6
);
30320 if (arg7
== NULL
) SWIG_fail
;
30325 if (!wxPyCheckForApp()) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30354 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30355 PyObject
*resultobj
= 0;
30356 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30357 PyObject
*arg2
= (PyObject
*) 0 ;
30358 PyObject
*arg3
= (PyObject
*) 0 ;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 PyObject
* obj2
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "self",(char *) "self",(char *) "_class", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30373 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_Py_Void();
30389 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30390 PyObject
*resultobj
= 0;
30391 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30392 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 char * kwnames
[] = {
30400 (char *) "self",(char *) "canvas", NULL
30403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30405 if (!SWIG_IsOK(res1
)) {
30406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30408 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30410 if (!SWIG_IsOK(res2
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30413 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 (arg1
)->SetPreviewCanvas(arg2
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= SWIG_Py_Void();
30427 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
= 0;
30429 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30430 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 char * kwnames
[] = {
30438 (char *) "self",(char *) "bar", NULL
30441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30443 if (!SWIG_IsOK(res1
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30446 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30448 if (!SWIG_IsOK(res2
)) {
30449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30451 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 (arg1
)->SetControlBar(arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= SWIG_Py_Void();
30465 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30466 PyObject
*resultobj
= 0;
30467 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30470 PyObject
*swig_obj
[1] ;
30472 if (!args
) SWIG_fail
;
30473 swig_obj
[0] = args
;
30474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30475 if (!SWIG_IsOK(res1
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30478 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 (arg1
)->Initialize();
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_Py_Void();
30492 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30493 PyObject
*resultobj
= 0;
30494 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30497 PyObject
*swig_obj
[1] ;
30499 if (!args
) SWIG_fail
;
30500 swig_obj
[0] = args
;
30501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30505 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->CreateCanvas();
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_Py_Void();
30519 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30520 PyObject
*resultobj
= 0;
30521 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30524 PyObject
*swig_obj
[1] ;
30526 if (!args
) SWIG_fail
;
30527 swig_obj
[0] = args
;
30528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30532 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 (arg1
)->CreateControlBar();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= SWIG_Py_Void();
30546 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30549 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30550 return SWIG_Py_Void();
30553 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 return SWIG_Python_InitShadowInstance(args
);
30557 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
= 0;
30559 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30561 wxWindow
*arg3
= (wxWindow
*) 0 ;
30562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30566 long arg6
= (long) 0 ;
30567 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30569 wxPyPreviewControlBar
*result
= 0 ;
30580 bool temp7
= false ;
30581 PyObject
* obj0
= 0 ;
30582 PyObject
* obj1
= 0 ;
30583 PyObject
* obj2
= 0 ;
30584 PyObject
* obj3
= 0 ;
30585 PyObject
* obj4
= 0 ;
30586 PyObject
* obj5
= 0 ;
30587 PyObject
* obj6
= 0 ;
30588 char * kwnames
[] = {
30589 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30597 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30598 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30599 if (!SWIG_IsOK(ecode2
)) {
30600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30602 arg2
= static_cast< long >(val2
);
30603 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30604 if (!SWIG_IsOK(res3
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30607 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30621 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30622 if (!SWIG_IsOK(ecode6
)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30625 arg6
= static_cast< long >(val6
);
30629 arg7
= wxString_in_helper(obj6
);
30630 if (arg7
== NULL
) SWIG_fail
;
30635 if (!wxPyCheckForApp()) SWIG_fail
;
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30656 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
= 0;
30658 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30659 PyObject
*arg2
= (PyObject
*) 0 ;
30660 PyObject
*arg3
= (PyObject
*) 0 ;
30663 PyObject
* obj0
= 0 ;
30664 PyObject
* obj1
= 0 ;
30665 PyObject
* obj2
= 0 ;
30666 char * kwnames
[] = {
30667 (char *) "self",(char *) "self",(char *) "_class", NULL
30670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30672 if (!SWIG_IsOK(res1
)) {
30673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30675 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_Py_Void();
30691 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= 0;
30693 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30694 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 char * kwnames
[] = {
30702 (char *) "self",(char *) "preview", NULL
30705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30710 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30712 if (!SWIG_IsOK(res2
)) {
30713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30715 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->SetPrintPreview(arg2
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_Py_Void();
30729 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30730 PyObject
*resultobj
= 0;
30731 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30734 PyObject
*swig_obj
[1] ;
30736 if (!args
) SWIG_fail
;
30737 swig_obj
[0] = args
;
30738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30742 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 (arg1
)->CreateButtons();
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_Py_Void();
30756 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30757 PyObject
*resultobj
= 0;
30758 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 char * kwnames
[] = {
30767 (char *) "self",(char *) "zoom", NULL
30770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30772 if (!SWIG_IsOK(res1
)) {
30773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30775 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30777 if (!SWIG_IsOK(ecode2
)) {
30778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30780 arg2
= static_cast< int >(val2
);
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 (arg1
)->SetZoomControl(arg2
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_Py_Void();
30794 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30797 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30798 return SWIG_Py_Void();
30801 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30802 return SWIG_Python_InitShadowInstance(args
);
30805 static PyMethodDef SwigMethods
[] = {
30806 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30808 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30810 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30812 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30813 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30815 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30822 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30824 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30826 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30827 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30828 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30829 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30830 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30833 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30835 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30838 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30839 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30841 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30843 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30844 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30845 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30846 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30850 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30852 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30855 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30857 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30860 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30863 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30864 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30866 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30868 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30870 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30873 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30880 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30882 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30887 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30888 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30890 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30893 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30895 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30897 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30902 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30903 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30906 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30907 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30909 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30911 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30912 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30915 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30916 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30917 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30919 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30920 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30921 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30922 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30923 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30925 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30928 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30937 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30938 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30940 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30941 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30943 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30945 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30946 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30948 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30954 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30955 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30958 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30959 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30961 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30963 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30965 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30967 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30969 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30971 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30972 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30975 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30976 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30977 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30978 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30979 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30980 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30982 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30990 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30992 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30995 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30996 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30999 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31000 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31002 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31003 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31004 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31007 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31009 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31011 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31012 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31013 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31016 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31018 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31020 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31022 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31024 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31025 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31026 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31029 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31031 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31032 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31033 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31035 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31037 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31038 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31042 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31043 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31044 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31045 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31049 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31050 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31052 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31053 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31054 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31056 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31057 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31058 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31061 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31062 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31063 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31065 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31074 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31075 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31076 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31077 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31079 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31080 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31083 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31084 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31086 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31089 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31090 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31091 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31094 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31095 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31097 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31098 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31100 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31105 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31106 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31112 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31113 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31115 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31119 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31121 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31122 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31123 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31124 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31126 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31127 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31128 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31130 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31132 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31133 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31135 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31136 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31137 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31138 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31139 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31140 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31145 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31146 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31148 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31149 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31150 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31153 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31154 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31157 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31158 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31166 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31167 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31168 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31169 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31170 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31171 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31172 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31173 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31174 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31175 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31178 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31179 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31180 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31182 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31183 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31185 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31186 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31188 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31190 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31191 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31194 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31196 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31197 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31198 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31199 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31200 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31202 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31203 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31204 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31205 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31206 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31207 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31214 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31215 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31217 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31218 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31219 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31222 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31223 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction
) _wrap_ProgressDialog_UpdatePulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31227 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31228 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31229 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31231 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31232 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31233 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31234 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31238 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31239 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31241 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31242 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31243 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31244 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31248 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31249 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31251 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31253 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31255 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31256 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31258 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31260 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31261 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31262 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31263 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31264 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31265 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31267 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31268 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31270 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31272 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31273 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31274 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31276 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31278 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31279 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31281 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31289 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31290 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31291 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31292 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31293 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31294 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31295 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31296 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31297 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31299 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31307 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31308 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31309 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31310 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31311 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31312 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31313 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31314 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31315 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31317 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31325 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31326 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31327 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31328 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31329 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31330 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31331 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31332 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31333 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31334 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31335 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31336 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31337 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31338 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31339 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31340 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31341 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31342 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31343 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31344 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31345 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31346 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31347 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31359 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31361 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31363 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31364 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31365 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31366 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31372 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31373 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31374 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31375 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31376 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31377 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31378 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31379 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31380 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31381 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31382 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31383 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31384 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31385 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31386 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31396 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31397 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31398 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31399 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31401 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31402 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31403 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31404 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31406 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31407 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31408 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31409 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31410 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31411 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31412 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31413 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31414 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31415 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31416 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31417 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31431 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31432 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31433 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31434 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
31435 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31436 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31438 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31439 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31441 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31442 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31443 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31444 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31445 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31446 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31447 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31449 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31455 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31456 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31457 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31458 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31459 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31461 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31463 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31464 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31467 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31469 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31471 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31473 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31474 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31477 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31478 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31479 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31480 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31482 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31483 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31484 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31486 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31487 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31489 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31490 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31491 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31492 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31493 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31494 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31496 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31498 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31499 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31500 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31501 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31502 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31503 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31504 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31505 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31506 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31507 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31509 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31511 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31512 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31515 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31516 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31521 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31523 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31524 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31525 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
31526 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31529 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31531 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31532 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31534 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31535 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31540 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31541 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31542 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31543 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31544 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31548 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31550 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31551 { NULL
, NULL
, 0, NULL
}
31555 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31557 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31558 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31560 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31563 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31564 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31566 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31567 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31569 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31570 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31572 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31573 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31575 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31576 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31578 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31579 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31581 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31582 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31584 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31585 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31587 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31590 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31593 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31594 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31596 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31597 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31599 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31600 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31602 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31603 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31605 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31608 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31609 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31611 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31612 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31614 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31615 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31617 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31618 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31620 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31621 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31623 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31624 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31626 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31629 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31630 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31632 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31633 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31635 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31638 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31641 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31642 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31644 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31645 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31647 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31648 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31650 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31651 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31653 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31654 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31656 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31657 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31659 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31660 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31662 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31663 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31665 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31666 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31668 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31669 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31671 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31672 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31674 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31677 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31680 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31681 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31683 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31684 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31686 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31687 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31689 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31690 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31692 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31693 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31695 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31696 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31698 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31701 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31704 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31707 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31708 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31710 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31711 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31713 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31714 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31716 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31717 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31719 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31722 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31725 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31728 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31731 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31734 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31737 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31740 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31743 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31746 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31747 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31749 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31750 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31752 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31755 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31758 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31761 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31762 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31764 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31767 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31768 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31770 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31771 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31773 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31774 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31776 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31777 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31779 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31782 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31783 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31785 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31786 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31788 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31789 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31791 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31792 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31794 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31795 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31797 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31798 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31800 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31801 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31803 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31804 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31806 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31809 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31810 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31812 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31815 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31818 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31819 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31821 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31824 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31827 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31828 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31830 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31833 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31836 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31839 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31842 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31845 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31848 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31849 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31851 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31852 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31854 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31855 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31857 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31858 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31860 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31861 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31863 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31864 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31866 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31867 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31869 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31870 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31872 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31873 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31875 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31878 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31881 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31884 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31887 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31890 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31893 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31896 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31899 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31902 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31905 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) ((wxSizer
*) x
));
31908 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31911 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31914 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31917 static void *_p_wxEventTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) ((wxEvent
*) x
));
31920 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) ((wxFontData
*) x
));
31923 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31926 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31929 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31932 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31935 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31938 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31941 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31944 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31947 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31948 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31950 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31951 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31953 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31954 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31956 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31957 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31959 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31960 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31962 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31963 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31965 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31968 static void *_p_wxControlTo_p_wxObject(void *x
) {
31969 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31971 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31972 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31974 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31977 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31978 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31980 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31981 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31983 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31984 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31986 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31989 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31990 return (void *)((wxObject
*) ((wxColourData
*) x
));
31992 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31993 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31995 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31998 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32001 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32004 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32007 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32010 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32013 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32016 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32019 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32022 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32025 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32028 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32031 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32032 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32034 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32035 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32037 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32038 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32040 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32043 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32044 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32046 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32049 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32050 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32052 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32053 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32055 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32056 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32058 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32059 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32061 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32062 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32064 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32065 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32067 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32068 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32070 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32073 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32074 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32076 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32077 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32079 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32080 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32082 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32083 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32085 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32086 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32088 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32089 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32091 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32094 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32097 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32098 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32100 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32103 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32106 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32107 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32109 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32110 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32112 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32113 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32115 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32118 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32121 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32122 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32124 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32125 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32127 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32130 static void *_p_wxImageTo_p_wxObject(void *x
) {
32131 return (void *)((wxObject
*) ((wxImage
*) x
));
32133 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32136 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32137 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32139 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32140 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32142 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32143 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32145 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32148 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32149 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32151 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32152 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32154 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32155 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32157 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32158 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32160 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32161 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32163 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32164 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32166 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32169 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32172 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32175 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32178 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32181 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32184 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32187 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32190 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32193 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32196 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32199 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32202 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32205 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32208 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32209 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32211 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32212 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32214 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32217 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32220 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32223 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32226 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32229 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32232 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32235 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32238 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32241 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32244 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32247 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32250 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32253 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32256 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32259 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32262 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32265 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32268 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32271 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32274 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32277 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32280 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32283 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32286 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32289 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32292 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32293 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32295 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32296 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32298 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32299 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32301 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32302 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32304 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32305 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32307 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32308 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32310 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32311 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32313 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32314 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32316 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32317 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32319 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32320 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32322 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32323 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32325 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32326 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32328 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32329 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32331 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32332 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32334 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32335 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32337 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32338 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32340 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32341 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32343 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32344 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32346 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32347 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32349 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32350 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32352 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32353 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32355 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32356 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32358 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32359 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32361 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32362 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32364 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32365 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32367 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32368 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32370 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32371 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32373 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32374 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32376 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32377 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32379 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32380 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32382 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32383 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32385 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32386 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32388 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32389 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32391 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32394 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32395 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32397 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32398 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32400 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32401 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32403 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32404 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32406 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32407 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32409 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32410 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32412 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32413 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32415 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32416 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32418 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32419 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32421 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32422 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32424 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32425 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32427 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32428 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32430 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32431 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32433 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32434 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32436 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32437 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32439 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32440 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32442 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32443 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32445 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32446 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32448 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32449 return (void *)((wxWindow
*) ((wxControl
*) x
));
32451 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32452 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32454 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32455 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32457 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32460 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32461 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32463 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32464 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32466 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32467 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32469 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32470 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32472 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32473 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32475 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32476 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32478 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32479 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32481 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32482 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32484 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32485 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32487 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32488 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32490 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32493 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32494 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32496 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32499 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32500 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32502 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32503 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32505 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32506 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32508 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32509 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32511 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32512 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32514 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32515 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32517 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32518 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32520 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32521 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32523 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32524 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32526 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32527 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32529 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32530 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32532 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32533 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32535 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32536 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32538 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32539 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32541 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32542 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32544 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32545 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32547 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32548 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32550 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32551 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32553 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32554 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32556 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32557 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32559 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32560 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32562 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32563 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32565 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32566 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32568 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32569 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32571 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32572 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32574 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32575 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32577 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32578 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32580 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32581 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32583 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32584 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32586 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32587 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32589 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32590 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32592 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32593 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32595 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32596 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32598 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32599 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32601 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32602 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32604 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32605 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32607 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32608 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32610 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32612 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};
32613 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32625 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32626 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32627 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32628 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32629 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32630 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32631 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32632 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32633 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32645 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32646 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32647 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32648 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32649 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32651 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32652 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32653 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32655 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32666 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32667 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32677 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32678 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32679 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32680 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32681 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32692 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32694 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32703 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32704 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32705 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32709 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32710 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32711 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32712 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32722 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32725 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32726 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32727 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32728 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32729 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32730 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32731 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32732 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32733 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32734 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32735 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32736 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32737 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32738 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32739 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32740 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32741 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32742 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32743 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32744 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32745 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32746 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32747 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32748 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32749 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32751 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32752 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32776 static swig_type_info
*swig_type_initial
[] = {
32779 &_swigt__p_form_ops_t
,
32781 &_swigt__p_unsigned_char
,
32782 &_swigt__p_unsigned_int
,
32783 &_swigt__p_unsigned_long
,
32784 &_swigt__p_wxANIHandler
,
32785 &_swigt__p_wxAcceleratorTable
,
32786 &_swigt__p_wxActivateEvent
,
32787 &_swigt__p_wxArrayInt
,
32788 &_swigt__p_wxBMPHandler
,
32789 &_swigt__p_wxBitmap
,
32790 &_swigt__p_wxBoxSizer
,
32791 &_swigt__p_wxCURHandler
,
32792 &_swigt__p_wxCalculateLayoutEvent
,
32793 &_swigt__p_wxChildFocusEvent
,
32794 &_swigt__p_wxClipboardTextEvent
,
32795 &_swigt__p_wxCloseEvent
,
32796 &_swigt__p_wxColour
,
32797 &_swigt__p_wxColourData
,
32798 &_swigt__p_wxColourDialog
,
32799 &_swigt__p_wxCommandEvent
,
32800 &_swigt__p_wxContextMenuEvent
,
32801 &_swigt__p_wxControl
,
32802 &_swigt__p_wxControlWithItems
,
32804 &_swigt__p_wxDateEvent
,
32805 &_swigt__p_wxDialog
,
32806 &_swigt__p_wxDirDialog
,
32807 &_swigt__p_wxDisplayChangedEvent
,
32808 &_swigt__p_wxDropFilesEvent
,
32809 &_swigt__p_wxDuplexMode
,
32810 &_swigt__p_wxEraseEvent
,
32811 &_swigt__p_wxEvent
,
32812 &_swigt__p_wxEvtHandler
,
32813 &_swigt__p_wxFSFile
,
32814 &_swigt__p_wxFileDialog
,
32815 &_swigt__p_wxFileSystem
,
32816 &_swigt__p_wxFindDialogEvent
,
32817 &_swigt__p_wxFindReplaceData
,
32818 &_swigt__p_wxFindReplaceDialog
,
32819 &_swigt__p_wxFlexGridSizer
,
32820 &_swigt__p_wxFocusEvent
,
32822 &_swigt__p_wxFontData
,
32823 &_swigt__p_wxFontDialog
,
32824 &_swigt__p_wxFrame
,
32825 &_swigt__p_wxGBSizerItem
,
32826 &_swigt__p_wxGIFHandler
,
32827 &_swigt__p_wxGridBagSizer
,
32828 &_swigt__p_wxGridSizer
,
32829 &_swigt__p_wxHtmlLinkInfo
,
32830 &_swigt__p_wxICOHandler
,
32832 &_swigt__p_wxIconBundle
,
32833 &_swigt__p_wxIconizeEvent
,
32834 &_swigt__p_wxIdleEvent
,
32835 &_swigt__p_wxImage
,
32836 &_swigt__p_wxImageHandler
,
32837 &_swigt__p_wxIndividualLayoutConstraint
,
32838 &_swigt__p_wxInitDialogEvent
,
32839 &_swigt__p_wxJPEGHandler
,
32840 &_swigt__p_wxKeyEvent
,
32841 &_swigt__p_wxLayoutAlgorithm
,
32842 &_swigt__p_wxLayoutConstraints
,
32843 &_swigt__p_wxMDIChildFrame
,
32844 &_swigt__p_wxMDIClientWindow
,
32845 &_swigt__p_wxMDIParentFrame
,
32846 &_swigt__p_wxMaximizeEvent
,
32848 &_swigt__p_wxMenuBar
,
32849 &_swigt__p_wxMenuEvent
,
32850 &_swigt__p_wxMenuItem
,
32851 &_swigt__p_wxMessageDialog
,
32852 &_swigt__p_wxMiniFrame
,
32853 &_swigt__p_wxMouseCaptureChangedEvent
,
32854 &_swigt__p_wxMouseCaptureLostEvent
,
32855 &_swigt__p_wxMouseEvent
,
32856 &_swigt__p_wxMoveEvent
,
32857 &_swigt__p_wxMultiChoiceDialog
,
32858 &_swigt__p_wxNavigationKeyEvent
,
32859 &_swigt__p_wxNcPaintEvent
,
32860 &_swigt__p_wxNotifyEvent
,
32861 &_swigt__p_wxNumberEntryDialog
,
32862 &_swigt__p_wxObject
,
32863 &_swigt__p_wxPCXHandler
,
32864 &_swigt__p_wxPNGHandler
,
32865 &_swigt__p_wxPNMHandler
,
32866 &_swigt__p_wxPageSetupDialog
,
32867 &_swigt__p_wxPageSetupDialogData
,
32868 &_swigt__p_wxPaintEvent
,
32869 &_swigt__p_wxPaletteChangedEvent
,
32870 &_swigt__p_wxPanel
,
32871 &_swigt__p_wxPaperSize
,
32872 &_swigt__p_wxPasswordEntryDialog
,
32873 &_swigt__p_wxPoint
,
32874 &_swigt__p_wxPopupWindow
,
32875 &_swigt__p_wxPreviewCanvas
,
32876 &_swigt__p_wxPreviewControlBar
,
32877 &_swigt__p_wxPreviewFrame
,
32878 &_swigt__p_wxPrintData
,
32879 &_swigt__p_wxPrintDialog
,
32880 &_swigt__p_wxPrintDialogData
,
32881 &_swigt__p_wxPrintPreview
,
32882 &_swigt__p_wxPrinter
,
32883 &_swigt__p_wxProgressDialog
,
32884 &_swigt__p_wxPyApp
,
32885 &_swigt__p_wxPyCommandEvent
,
32886 &_swigt__p_wxPyEvent
,
32887 &_swigt__p_wxPyHtmlListBox
,
32888 &_swigt__p_wxPyImageHandler
,
32889 &_swigt__p_wxPyPanel
,
32890 &_swigt__p_wxPyPopupTransientWindow
,
32891 &_swigt__p_wxPyPreviewControlBar
,
32892 &_swigt__p_wxPyPreviewFrame
,
32893 &_swigt__p_wxPyPrintPreview
,
32894 &_swigt__p_wxPyPrintout
,
32895 &_swigt__p_wxPyScrolledWindow
,
32896 &_swigt__p_wxPySizer
,
32897 &_swigt__p_wxPyTaskBarIcon
,
32898 &_swigt__p_wxPyVListBox
,
32899 &_swigt__p_wxPyVScrolledWindow
,
32900 &_swigt__p_wxPyValidator
,
32901 &_swigt__p_wxPyWindow
,
32902 &_swigt__p_wxQueryLayoutInfoEvent
,
32903 &_swigt__p_wxQueryNewPaletteEvent
,
32905 &_swigt__p_wxRegion
,
32906 &_swigt__p_wxSashEvent
,
32907 &_swigt__p_wxSashLayoutWindow
,
32908 &_swigt__p_wxSashWindow
,
32909 &_swigt__p_wxScrollEvent
,
32910 &_swigt__p_wxScrollWinEvent
,
32911 &_swigt__p_wxScrolledWindow
,
32912 &_swigt__p_wxSetCursorEvent
,
32913 &_swigt__p_wxShowEvent
,
32914 &_swigt__p_wxSingleChoiceDialog
,
32916 &_swigt__p_wxSizeEvent
,
32917 &_swigt__p_wxSizer
,
32918 &_swigt__p_wxSizerItem
,
32919 &_swigt__p_wxSplashScreen
,
32920 &_swigt__p_wxSplashScreenWindow
,
32921 &_swigt__p_wxSplitterEvent
,
32922 &_swigt__p_wxSplitterWindow
,
32923 &_swigt__p_wxStaticBoxSizer
,
32924 &_swigt__p_wxStatusBar
,
32925 &_swigt__p_wxStdDialogButtonSizer
,
32926 &_swigt__p_wxString
,
32927 &_swigt__p_wxSysColourChangedEvent
,
32928 &_swigt__p_wxTIFFHandler
,
32929 &_swigt__p_wxTaskBarIcon
,
32930 &_swigt__p_wxTaskBarIconEvent
,
32931 &_swigt__p_wxTextEntryDialog
,
32932 &_swigt__p_wxTipWindow
,
32933 &_swigt__p_wxToolBar
,
32934 &_swigt__p_wxTopLevelWindow
,
32935 &_swigt__p_wxUpdateUIEvent
,
32936 &_swigt__p_wxValidator
,
32937 &_swigt__p_wxVisualAttributes
,
32938 &_swigt__p_wxWindow
,
32939 &_swigt__p_wxWindowCreateEvent
,
32940 &_swigt__p_wxWindowDestroyEvent
,
32941 &_swigt__p_wxXPMHandler
,
32944 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33012 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_wxTipWindow
, _p_wxTipWindowTo_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}};
33013 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33025 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}};
33026 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33058 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}};
33059 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33064 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}};
33065 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}};
33066 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33069 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}};
33070 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33081 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}};
33082 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}};
33083 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33089 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}};
33090 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33091 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}};
33092 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33103 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}};
33104 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33106 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_wxTipWindow
, _p_wxTipWindowTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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}};
33110 static swig_cast_info
*swig_cast_initial
[] = {
33113 _swigc__p_form_ops_t
,
33115 _swigc__p_unsigned_char
,
33116 _swigc__p_unsigned_int
,
33117 _swigc__p_unsigned_long
,
33118 _swigc__p_wxANIHandler
,
33119 _swigc__p_wxAcceleratorTable
,
33120 _swigc__p_wxActivateEvent
,
33121 _swigc__p_wxArrayInt
,
33122 _swigc__p_wxBMPHandler
,
33123 _swigc__p_wxBitmap
,
33124 _swigc__p_wxBoxSizer
,
33125 _swigc__p_wxCURHandler
,
33126 _swigc__p_wxCalculateLayoutEvent
,
33127 _swigc__p_wxChildFocusEvent
,
33128 _swigc__p_wxClipboardTextEvent
,
33129 _swigc__p_wxCloseEvent
,
33130 _swigc__p_wxColour
,
33131 _swigc__p_wxColourData
,
33132 _swigc__p_wxColourDialog
,
33133 _swigc__p_wxCommandEvent
,
33134 _swigc__p_wxContextMenuEvent
,
33135 _swigc__p_wxControl
,
33136 _swigc__p_wxControlWithItems
,
33138 _swigc__p_wxDateEvent
,
33139 _swigc__p_wxDialog
,
33140 _swigc__p_wxDirDialog
,
33141 _swigc__p_wxDisplayChangedEvent
,
33142 _swigc__p_wxDropFilesEvent
,
33143 _swigc__p_wxDuplexMode
,
33144 _swigc__p_wxEraseEvent
,
33146 _swigc__p_wxEvtHandler
,
33147 _swigc__p_wxFSFile
,
33148 _swigc__p_wxFileDialog
,
33149 _swigc__p_wxFileSystem
,
33150 _swigc__p_wxFindDialogEvent
,
33151 _swigc__p_wxFindReplaceData
,
33152 _swigc__p_wxFindReplaceDialog
,
33153 _swigc__p_wxFlexGridSizer
,
33154 _swigc__p_wxFocusEvent
,
33156 _swigc__p_wxFontData
,
33157 _swigc__p_wxFontDialog
,
33159 _swigc__p_wxGBSizerItem
,
33160 _swigc__p_wxGIFHandler
,
33161 _swigc__p_wxGridBagSizer
,
33162 _swigc__p_wxGridSizer
,
33163 _swigc__p_wxHtmlLinkInfo
,
33164 _swigc__p_wxICOHandler
,
33166 _swigc__p_wxIconBundle
,
33167 _swigc__p_wxIconizeEvent
,
33168 _swigc__p_wxIdleEvent
,
33170 _swigc__p_wxImageHandler
,
33171 _swigc__p_wxIndividualLayoutConstraint
,
33172 _swigc__p_wxInitDialogEvent
,
33173 _swigc__p_wxJPEGHandler
,
33174 _swigc__p_wxKeyEvent
,
33175 _swigc__p_wxLayoutAlgorithm
,
33176 _swigc__p_wxLayoutConstraints
,
33177 _swigc__p_wxMDIChildFrame
,
33178 _swigc__p_wxMDIClientWindow
,
33179 _swigc__p_wxMDIParentFrame
,
33180 _swigc__p_wxMaximizeEvent
,
33182 _swigc__p_wxMenuBar
,
33183 _swigc__p_wxMenuEvent
,
33184 _swigc__p_wxMenuItem
,
33185 _swigc__p_wxMessageDialog
,
33186 _swigc__p_wxMiniFrame
,
33187 _swigc__p_wxMouseCaptureChangedEvent
,
33188 _swigc__p_wxMouseCaptureLostEvent
,
33189 _swigc__p_wxMouseEvent
,
33190 _swigc__p_wxMoveEvent
,
33191 _swigc__p_wxMultiChoiceDialog
,
33192 _swigc__p_wxNavigationKeyEvent
,
33193 _swigc__p_wxNcPaintEvent
,
33194 _swigc__p_wxNotifyEvent
,
33195 _swigc__p_wxNumberEntryDialog
,
33196 _swigc__p_wxObject
,
33197 _swigc__p_wxPCXHandler
,
33198 _swigc__p_wxPNGHandler
,
33199 _swigc__p_wxPNMHandler
,
33200 _swigc__p_wxPageSetupDialog
,
33201 _swigc__p_wxPageSetupDialogData
,
33202 _swigc__p_wxPaintEvent
,
33203 _swigc__p_wxPaletteChangedEvent
,
33205 _swigc__p_wxPaperSize
,
33206 _swigc__p_wxPasswordEntryDialog
,
33208 _swigc__p_wxPopupWindow
,
33209 _swigc__p_wxPreviewCanvas
,
33210 _swigc__p_wxPreviewControlBar
,
33211 _swigc__p_wxPreviewFrame
,
33212 _swigc__p_wxPrintData
,
33213 _swigc__p_wxPrintDialog
,
33214 _swigc__p_wxPrintDialogData
,
33215 _swigc__p_wxPrintPreview
,
33216 _swigc__p_wxPrinter
,
33217 _swigc__p_wxProgressDialog
,
33219 _swigc__p_wxPyCommandEvent
,
33220 _swigc__p_wxPyEvent
,
33221 _swigc__p_wxPyHtmlListBox
,
33222 _swigc__p_wxPyImageHandler
,
33223 _swigc__p_wxPyPanel
,
33224 _swigc__p_wxPyPopupTransientWindow
,
33225 _swigc__p_wxPyPreviewControlBar
,
33226 _swigc__p_wxPyPreviewFrame
,
33227 _swigc__p_wxPyPrintPreview
,
33228 _swigc__p_wxPyPrintout
,
33229 _swigc__p_wxPyScrolledWindow
,
33230 _swigc__p_wxPySizer
,
33231 _swigc__p_wxPyTaskBarIcon
,
33232 _swigc__p_wxPyVListBox
,
33233 _swigc__p_wxPyVScrolledWindow
,
33234 _swigc__p_wxPyValidator
,
33235 _swigc__p_wxPyWindow
,
33236 _swigc__p_wxQueryLayoutInfoEvent
,
33237 _swigc__p_wxQueryNewPaletteEvent
,
33239 _swigc__p_wxRegion
,
33240 _swigc__p_wxSashEvent
,
33241 _swigc__p_wxSashLayoutWindow
,
33242 _swigc__p_wxSashWindow
,
33243 _swigc__p_wxScrollEvent
,
33244 _swigc__p_wxScrollWinEvent
,
33245 _swigc__p_wxScrolledWindow
,
33246 _swigc__p_wxSetCursorEvent
,
33247 _swigc__p_wxShowEvent
,
33248 _swigc__p_wxSingleChoiceDialog
,
33250 _swigc__p_wxSizeEvent
,
33252 _swigc__p_wxSizerItem
,
33253 _swigc__p_wxSplashScreen
,
33254 _swigc__p_wxSplashScreenWindow
,
33255 _swigc__p_wxSplitterEvent
,
33256 _swigc__p_wxSplitterWindow
,
33257 _swigc__p_wxStaticBoxSizer
,
33258 _swigc__p_wxStatusBar
,
33259 _swigc__p_wxStdDialogButtonSizer
,
33260 _swigc__p_wxString
,
33261 _swigc__p_wxSysColourChangedEvent
,
33262 _swigc__p_wxTIFFHandler
,
33263 _swigc__p_wxTaskBarIcon
,
33264 _swigc__p_wxTaskBarIconEvent
,
33265 _swigc__p_wxTextEntryDialog
,
33266 _swigc__p_wxTipWindow
,
33267 _swigc__p_wxToolBar
,
33268 _swigc__p_wxTopLevelWindow
,
33269 _swigc__p_wxUpdateUIEvent
,
33270 _swigc__p_wxValidator
,
33271 _swigc__p_wxVisualAttributes
,
33272 _swigc__p_wxWindow
,
33273 _swigc__p_wxWindowCreateEvent
,
33274 _swigc__p_wxWindowDestroyEvent
,
33275 _swigc__p_wxXPMHandler
,
33279 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33281 static swig_const_info swig_const_table
[] = {
33282 {0, 0, 0, 0.0, 0, 0}};
33287 /* -----------------------------------------------------------------------------
33288 * Type initialization:
33289 * This problem is tough by the requirement that no dynamic
33290 * memory is used. Also, since swig_type_info structures store pointers to
33291 * swig_cast_info structures and swig_cast_info structures store pointers back
33292 * to swig_type_info structures, we need some lookup code at initialization.
33293 * The idea is that swig generates all the structures that are needed.
33294 * The runtime then collects these partially filled structures.
33295 * The SWIG_InitializeModule function takes these initial arrays out of
33296 * swig_module, and does all the lookup, filling in the swig_module.types
33297 * array with the correct data and linking the correct swig_cast_info
33298 * structures together.
33300 * The generated swig_type_info structures are assigned staticly to an initial
33301 * array. We just loop though that array, and handle each type individually.
33302 * First we lookup if this type has been already loaded, and if so, use the
33303 * loaded structure instead of the generated one. Then we have to fill in the
33304 * cast linked list. The cast data is initially stored in something like a
33305 * two-dimensional array. Each row corresponds to a type (there are the same
33306 * number of rows as there are in the swig_type_initial array). Each entry in
33307 * a column is one of the swig_cast_info structures for that type.
33308 * The cast_initial array is actually an array of arrays, because each row has
33309 * a variable number of columns. So to actually build the cast linked list,
33310 * we find the array of casts associated with the type, and loop through it
33311 * adding the casts to the list. The one last trick we need to do is making
33312 * sure the type pointer in the swig_cast_info struct is correct.
33314 * First off, we lookup the cast->type name to see if it is already loaded.
33315 * There are three cases to handle:
33316 * 1) If the cast->type has already been loaded AND the type we are adding
33317 * casting info to has not been loaded (it is in this module), THEN we
33318 * replace the cast->type pointer with the type pointer that has already
33320 * 2) If BOTH types (the one we are adding casting info to, and the
33321 * cast->type) are loaded, THEN the cast info has already been loaded by
33322 * the previous module so we just ignore it.
33323 * 3) Finally, if cast->type has not already been loaded, then we add that
33324 * swig_cast_info to the linked list (because the cast->type) pointer will
33326 * ----------------------------------------------------------------------------- */
33336 #define SWIGRUNTIME_DEBUG
33340 SWIG_InitializeModule(void *clientdata
) {
33342 swig_module_info
*module_head
;
33343 static int init_run
= 0;
33345 clientdata
= clientdata
;
33347 if (init_run
) return;
33350 /* Initialize the swig_module */
33351 swig_module
.type_initial
= swig_type_initial
;
33352 swig_module
.cast_initial
= swig_cast_initial
;
33354 /* Try and load any already created modules */
33355 module_head
= SWIG_GetModule(clientdata
);
33357 swig_module
.next
= module_head
->next
;
33358 module_head
->next
= &swig_module
;
33360 /* This is the first module loaded */
33361 swig_module
.next
= &swig_module
;
33362 SWIG_SetModule(clientdata
, &swig_module
);
33365 /* Now work on filling in swig_module.types */
33366 #ifdef SWIGRUNTIME_DEBUG
33367 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33369 for (i
= 0; i
< swig_module
.size
; ++i
) {
33370 swig_type_info
*type
= 0;
33371 swig_type_info
*ret
;
33372 swig_cast_info
*cast
;
33374 #ifdef SWIGRUNTIME_DEBUG
33375 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33378 /* if there is another module already loaded */
33379 if (swig_module
.next
!= &swig_module
) {
33380 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33383 /* Overwrite clientdata field */
33384 #ifdef SWIGRUNTIME_DEBUG
33385 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33387 if (swig_module
.type_initial
[i
]->clientdata
) {
33388 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33389 #ifdef SWIGRUNTIME_DEBUG
33390 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33394 type
= swig_module
.type_initial
[i
];
33397 /* Insert casting types */
33398 cast
= swig_module
.cast_initial
[i
];
33399 while (cast
->type
) {
33400 /* Don't need to add information already in the list */
33402 #ifdef SWIGRUNTIME_DEBUG
33403 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33405 if (swig_module
.next
!= &swig_module
) {
33406 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33407 #ifdef SWIGRUNTIME_DEBUG
33408 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33412 if (type
== swig_module
.type_initial
[i
]) {
33413 #ifdef SWIGRUNTIME_DEBUG
33414 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33419 /* Check for casting already in the list */
33420 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33421 #ifdef SWIGRUNTIME_DEBUG
33422 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33424 if (!ocast
) ret
= 0;
33429 #ifdef SWIGRUNTIME_DEBUG
33430 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33433 type
->cast
->prev
= cast
;
33434 cast
->next
= type
->cast
;
33440 /* Set entry in modules->types array equal to the type */
33441 swig_module
.types
[i
] = type
;
33443 swig_module
.types
[i
] = 0;
33445 #ifdef SWIGRUNTIME_DEBUG
33446 printf("**** SWIG_InitializeModule: Cast List ******\n");
33447 for (i
= 0; i
< swig_module
.size
; ++i
) {
33449 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33450 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33451 while (cast
->type
) {
33452 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33456 printf("---- Total casts: %d\n",j
);
33458 printf("**** SWIG_InitializeModule: Cast List ******\n");
33462 /* This function will propagate the clientdata field of type to
33463 * any new swig_type_info structures that have been added into the list
33464 * of equivalent types. It is like calling
33465 * SWIG_TypeClientData(type, clientdata) a second time.
33468 SWIG_PropagateClientData(void) {
33470 swig_cast_info
*equiv
;
33471 static int init_run
= 0;
33473 if (init_run
) return;
33476 for (i
= 0; i
< swig_module
.size
; i
++) {
33477 if (swig_module
.types
[i
]->clientdata
) {
33478 equiv
= swig_module
.types
[i
]->cast
;
33480 if (!equiv
->converter
) {
33481 if (equiv
->type
&& !equiv
->type
->clientdata
)
33482 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33484 equiv
= equiv
->next
;
33504 /* Python-specific SWIG API */
33505 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33506 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33507 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33509 /* -----------------------------------------------------------------------------
33510 * global variable support code.
33511 * ----------------------------------------------------------------------------- */
33513 typedef struct swig_globalvar
{
33514 char *name
; /* Name of global variable */
33515 PyObject
*(*get_attr
)(void); /* Return the current value */
33516 int (*set_attr
)(PyObject
*); /* Set the value */
33517 struct swig_globalvar
*next
;
33520 typedef struct swig_varlinkobject
{
33522 swig_globalvar
*vars
;
33523 } swig_varlinkobject
;
33525 SWIGINTERN PyObject
*
33526 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33527 return PyString_FromString("<Swig global variables>");
33530 SWIGINTERN PyObject
*
33531 swig_varlink_str(swig_varlinkobject
*v
) {
33532 PyObject
*str
= PyString_FromString("(");
33533 swig_globalvar
*var
;
33534 for (var
= v
->vars
; var
; var
=var
->next
) {
33535 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33536 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33538 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33543 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33544 PyObject
*str
= swig_varlink_str(v
);
33545 fprintf(fp
,"Swig global variables ");
33546 fprintf(fp
,"%s\n", PyString_AsString(str
));
33552 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33553 swig_globalvar
*var
= v
->vars
;
33555 swig_globalvar
*n
= var
->next
;
33562 SWIGINTERN PyObject
*
33563 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33564 PyObject
*res
= NULL
;
33565 swig_globalvar
*var
= v
->vars
;
33567 if (strcmp(var
->name
,n
) == 0) {
33568 res
= (*var
->get_attr
)();
33573 if (res
== NULL
&& !PyErr_Occurred()) {
33574 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33580 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33582 swig_globalvar
*var
= v
->vars
;
33584 if (strcmp(var
->name
,n
) == 0) {
33585 res
= (*var
->set_attr
)(p
);
33590 if (res
== 1 && !PyErr_Occurred()) {
33591 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33596 SWIGINTERN PyTypeObject
*
33597 swig_varlink_type(void) {
33598 static char varlink__doc__
[] = "Swig var link object";
33599 static PyTypeObject varlink_type
;
33600 static int type_init
= 0;
33602 const PyTypeObject tmp
33604 PyObject_HEAD_INIT(NULL
)
33605 0, /* Number of items in variable part (ob_size) */
33606 (char *)"swigvarlink", /* Type name (tp_name) */
33607 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33608 0, /* Itemsize (tp_itemsize) */
33609 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33610 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33611 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33612 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33613 0, /* tp_compare */
33614 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33615 0, /* tp_as_number */
33616 0, /* tp_as_sequence */
33617 0, /* tp_as_mapping */
33620 (reprfunc
)swig_varlink_str
, /* tp_str */
33621 0, /* tp_getattro */
33622 0, /* tp_setattro */
33623 0, /* tp_as_buffer */
33625 varlink__doc__
, /* tp_doc */
33626 0, /* tp_traverse */
33628 0, /* tp_richcompare */
33629 0, /* tp_weaklistoffset */
33630 #if PY_VERSION_HEX >= 0x02020000
33631 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33633 #if PY_VERSION_HEX >= 0x02030000
33636 #ifdef COUNT_ALLOCS
33637 0,0,0,0 /* tp_alloc -> tp_next */
33640 varlink_type
= tmp
;
33641 varlink_type
.ob_type
= &PyType_Type
;
33644 return &varlink_type
;
33647 /* Create a variable linking object for use later */
33648 SWIGINTERN PyObject
*
33649 SWIG_Python_newvarlink(void) {
33650 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33654 return ((PyObject
*) result
);
33658 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33659 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33660 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33662 size_t size
= strlen(name
)+1;
33663 gv
->name
= (char *)malloc(size
);
33665 strncpy(gv
->name
,name
,size
);
33666 gv
->get_attr
= get_attr
;
33667 gv
->set_attr
= set_attr
;
33668 gv
->next
= v
->vars
;
33674 SWIGINTERN PyObject
*
33676 static PyObject
*_SWIG_globals
= 0;
33677 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33678 return _SWIG_globals
;
33681 /* -----------------------------------------------------------------------------
33682 * constants/methods manipulation
33683 * ----------------------------------------------------------------------------- */
33685 /* Install Constants */
33687 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33690 for (i
= 0; constants
[i
].type
; ++i
) {
33691 switch(constants
[i
].type
) {
33692 case SWIG_PY_POINTER
:
33693 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33695 case SWIG_PY_BINARY
:
33696 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33703 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33709 /* -----------------------------------------------------------------------------*/
33710 /* Fix SwigMethods to carry the callback ptrs when needed */
33711 /* -----------------------------------------------------------------------------*/
33714 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33715 swig_const_info
*const_table
,
33716 swig_type_info
**types
,
33717 swig_type_info
**types_initial
) {
33719 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33720 const char *c
= methods
[i
].ml_doc
;
33721 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33723 swig_const_info
*ci
= 0;
33724 const char *name
= c
+ 10;
33725 for (j
= 0; const_table
[j
].type
; ++j
) {
33726 if (strncmp(const_table
[j
].name
, name
,
33727 strlen(const_table
[j
].name
)) == 0) {
33728 ci
= &(const_table
[j
]);
33733 size_t shift
= (ci
->ptype
) - types
;
33734 swig_type_info
*ty
= types_initial
[shift
];
33735 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33736 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33737 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33740 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33742 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33744 strncpy(buff
, "swig_ptr: ", 10);
33746 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33747 methods
[i
].ml_doc
= ndoc
;
33759 /* -----------------------------------------------------------------------------*
33760 * Partial Init method
33761 * -----------------------------------------------------------------------------*/
33766 SWIGEXPORT
void SWIG_init(void) {
33769 /* Fix SwigMethods to carry the callback ptrs when needed */
33770 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33772 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33773 d
= PyModule_GetDict(m
);
33775 SWIG_InitializeModule(0);
33776 SWIG_InstallConstants(d
,swig_const_table
);
33779 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33780 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33781 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33782 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33783 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33784 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33785 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33786 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33787 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33788 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33789 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33790 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33791 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33792 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33793 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33794 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33795 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33796 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33797 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33798 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33799 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33800 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33801 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33802 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33803 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33804 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33805 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33806 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33807 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33808 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
33809 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33810 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33811 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33812 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33813 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
33814 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
33815 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33816 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33817 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33818 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33819 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33820 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33821 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33822 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33823 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33824 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33825 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33826 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33827 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33828 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33829 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33830 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33831 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33832 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33833 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33834 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33835 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33836 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33837 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33838 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33839 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33840 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33841 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33842 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33843 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33844 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33845 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33846 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33847 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33848 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33849 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33850 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33851 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33852 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33853 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33854 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33855 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33856 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33857 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33858 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33859 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33860 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33861 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33862 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33863 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33864 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33865 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33866 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33867 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33868 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33869 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33870 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33871 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33872 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33873 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33874 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33875 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33876 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33877 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33878 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33879 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33880 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33881 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33882 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33883 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33885 // Map renamed classes back to their common name for OOR
33886 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33887 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33888 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33890 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33891 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33892 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33893 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33894 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33895 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33896 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33897 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33898 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33899 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33900 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33901 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33902 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33903 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33904 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33905 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33906 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33907 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33908 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33909 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33910 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33911 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33912 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33913 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33914 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33915 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33916 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33917 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33918 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33919 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
33920 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33921 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33922 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33923 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33924 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
33925 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
33926 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
33927 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
33928 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
33929 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
33930 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
33931 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
33932 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33933 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33934 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33935 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33936 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33937 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33938 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33939 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33940 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33941 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33942 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33943 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33944 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33945 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33946 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33947 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33948 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33949 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33950 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33951 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33952 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33953 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33954 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33955 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33956 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33957 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33958 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33959 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33960 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33961 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33962 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33963 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33964 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33965 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33966 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33967 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33968 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33969 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33970 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33971 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33972 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33973 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33974 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33975 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33976 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33977 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33978 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33979 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33980 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33981 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33982 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33983 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33984 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33985 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33986 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33987 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33988 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33989 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33990 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33991 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33992 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33993 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33995 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");