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_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2831 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2833 self
->GetFieldRect(i
, r
);
2836 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2840 #include <wx/popupwin.h>
2843 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2848 : wxPopupTransientWindow(parent
, style
) {}
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2851 DEC_PYCALLBACK__(OnDismiss
);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2857 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2858 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2859 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2862 #include <wx/tipwin.h>
2864 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2865 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2868 #include <wx/tipwin.h>
2871 #include <wx/vscroll.h>
2874 class wxPyVScrolledWindow
: public wxVScrolledWindow
2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2880 wxPyVScrolledWindow(wxWindow
*parent
,
2881 wxWindowID id
= wxID_ANY
,
2882 const wxPoint
& pos
= wxDefaultPosition
,
2883 const wxSize
& size
= wxDefaultSize
,
2885 const wxString
& name
= wxPyPanelNameStr
)
2886 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2889 // Overridable virtuals
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2918 // this function should return the best guess for the total height it may
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2923 // Also expose some other interesting protected methods
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2947 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2948 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2949 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2953 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2956 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2957 return SWIG_TypeError
;
2960 *val
= (unsigned long)v
;
2965 SWIGINTERNINLINE
int
2966 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2969 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2970 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2975 SWIGINTERNINLINE PyObject
*
2976 SWIG_From_unsigned_SS_long (unsigned long value
)
2978 return (value
> LONG_MAX
) ?
2979 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2983 SWIGINTERNINLINE PyObject
*
2984 SWIG_From_size_t (size_t value
)
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2990 #include <wx/vlbox.h>
2992 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2994 class wxPyVListBox
: public wxVListBox
2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2998 wxPyVListBox() : wxVListBox() {}
3000 wxPyVListBox(wxWindow
*parent
,
3001 wxWindowID id
= wxID_ANY
,
3002 const wxPoint
& pos
= wxDefaultPosition
,
3003 const wxSize
& size
= wxDefaultSize
,
3005 const wxString
& name
= wxPyVListBoxNameStr
)
3006 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3009 // Overridable virtuals
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3017 // the derived class must implement this method to return the height of the
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3032 // this method is used to draw the items background and, maybe, a border
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3048 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3049 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3050 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3051 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3055 unsigned long cookie
= 0;
3056 int selected
= self
->GetFirstSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3064 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3065 int selected
= self
->GetNextSelected(cookie
);
3066 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3067 PyObject
* tup
= PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3069 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3070 wxPyEndBlockThreads(blocked
);
3074 #include <wx/htmllbox.h>
3077 class wxPyHtmlListBox
: public wxHtmlListBox
3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3083 wxPyHtmlListBox(wxWindow
*parent
,
3084 wxWindowID id
= wxID_ANY
,
3085 const wxPoint
& pos
= wxDefaultPosition
,
3086 const wxSize
& size
= wxDefaultSize
,
3088 const wxString
& name
= wxPyVListBoxNameStr
)
3089 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3092 // Overridable virtuals
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3106 // // this method allows to customize the selection appearance: it may be used
3107 // // to specify the colour of the text which normally has the given colour
3108 // // colFg when it is inside the selection
3110 // // by default, the original colour is not used at all and all text has the
3111 // // same (default for this system) colour inside selection
3112 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3114 // // this is the same as GetSelectedTextColour() but allows to customize the
3115 // // background colour -- this is even more rarely used as you can change it
3116 // // globally using SetSelectionBackground()
3117 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n
,
3123 const wxHtmlLinkInfo
& link
);
3129 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3131 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3132 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3133 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3134 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3137 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3138 const wxHtmlLinkInfo
& link
) {
3140 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3141 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3142 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3146 wxPyEndBlockThreads(blocked
);
3148 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3155 #ifndef wxHAS_TASK_BAR_ICON
3156 // implement dummy classes for platforms that don't have it
3158 class wxTaskBarIcon
: public wxEvtHandler
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3165 class wxTaskBarIconEvent
: public wxEvent
3168 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent
* Clone() const { return NULL
; }
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu
*menu
) { return false; }
3179 wxEVT_TASKBAR_MOVE
= 0,
3180 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3181 wxEVT_TASKBAR_LEFT_UP
= 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3183 wxEVT_TASKBAR_RIGHT_UP
= 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3190 // Otherwise make a class that can virtualize CreatePopupMenu
3191 class wxPyTaskBarIcon
: public wxTaskBarIcon
3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3198 wxMenu
* CreatePopupMenu() {
3199 wxMenu
*rval
= NULL
;
3201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3202 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3205 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3207 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3212 wxPyEndBlockThreads(blocked
);
3214 rval
= wxTaskBarIcon::CreatePopupMenu();
3221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3225 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3229 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3230 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3231 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3232 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3233 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3234 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3236 // for compatibility only
3237 #define wxHIDE_READONLY 0
3239 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3241 self
->GetFilenames(arr
);
3242 return wxArrayString2PyList_helper(arr
);
3244 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3246 self
->GetPaths(arr
);
3247 return wxArrayString2PyList_helper(arr
);
3249 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3250 return wxArrayInt2PyList_helper(self
->GetSelections());
3252 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
){
3253 return new wxSingleChoiceDialog(parent
, message
, caption
,
3254 choices
, choices_array
, NULL
, style
, pos
);
3256 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3267 // C++ version of Python aware wxWindow
3268 class wxPyWindow
: public wxWindow
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3274 const wxPoint
& pos
= wxDefaultPosition
,
3275 const wxSize
& size
= wxDefaultSize
,
3277 const wxString
& name
= wxPyPanelNameStr
)
3278 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3281 bool DoEraseBackground(wxDC
* dc
) {
3283 return wxWindow::DoEraseBackground(dc
->GetHDC());
3285 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3303 DEC_PYCALLBACK__(InitDialog
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3306 DEC_PYCALLBACK_BOOL_(Validate
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3325 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3327 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3328 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3339 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3352 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3356 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3358 // C++ version of Python aware wxPanel
3359 class wxPyPanel
: public wxPanel
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3365 const wxPoint
& pos
= wxDefaultPosition
,
3366 const wxSize
& size
= wxDefaultSize
,
3368 const wxString
& name
= wxPyPanelNameStr
)
3369 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
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 bool DoEraseBackground(wxDC
* dc
) {
3464 return wxWindow::DoEraseBackground(dc
->GetHDC());
3466 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3484 DEC_PYCALLBACK__(InitDialog
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3487 DEC_PYCALLBACK_BOOL_(Validate
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3520 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3540 #include "wx/wxPython/printfw.h"
3543 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3549 self
->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked
);
3553 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3554 if (! PyString_Check(data
)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3556 "Expected string object"));
3560 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3561 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3562 wxPyEndBlockThreads(blocked
);
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3570 bool hadErr
= false;
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3575 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3576 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3579 val
= PyTuple_GetItem(result
, 0);
3580 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3583 val
= PyTuple_GetItem(result
, 1);
3584 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3587 val
= PyTuple_GetItem(result
, 2);
3588 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 3);
3592 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3599 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3604 wxPyEndBlockThreads(blocked
);
3606 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3639 wxPyEndBlockThreads(blocked); \
3641 rval = PCLASS::CBNAME(a, b); \
3648 class wxPyPrintPreview
: public wxPrintPreview
3650 DECLARE_CLASS(wxPyPrintPreview
)
3652 wxPyPrintPreview(wxPyPrintout
* printout
,
3653 wxPyPrintout
* printoutForPrinting
,
3654 wxPrintDialogData
* data
=NULL
)
3655 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 wxPyPrintPreview(wxPyPrintout
* printout
,
3658 wxPyPrintout
* printoutForPrinting
,
3660 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3680 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3692 class wxPyPreviewFrame
: public wxPreviewFrame
3694 DECLARE_CLASS(wxPyPreviewFrame
)
3696 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3697 const wxString
& title
,
3698 const wxPoint
& pos
= wxDefaultPosition
,
3699 const wxSize
& size
= wxDefaultSize
,
3700 long style
= wxDEFAULT_FRAME_STYLE
,
3701 const wxString
& name
= wxPyFrameNameStr
)
3702 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3705 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3706 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3708 DEC_PYCALLBACK_VOID_(Initialize
);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3715 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3722 class wxPyPreviewControlBar
: public wxPreviewControlBar
3724 DECLARE_CLASS(wxPyPreviewControlBar
)
3726 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3729 const wxPoint
& pos
= wxDefaultPosition
,
3730 const wxSize
& size
= wxDefaultSize
,
3732 const wxString
& name
= wxPyPanelNameStr
)
3733 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3736 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3738 DEC_PYCALLBACK_VOID_(CreateButtons
);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3751 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 int arg2
= (int) (int)-1 ;
3755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3759 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3762 wxPanel
*result
= 0 ;
3771 bool temp6
= false ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3809 if (!SWIG_IsOK(ecode5
)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 arg5
= static_cast< long >(val5
);
3816 arg6
= wxString_in_helper(obj5
);
3817 if (arg6
== NULL
) SWIG_fail
;
3822 if (!wxPyCheckForApp()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3843 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3844 PyObject
*resultobj
= 0;
3845 wxPanel
*result
= 0 ;
3847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxPanel
*)new wxPanel();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3862 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxPanel
*arg1
= (wxPanel
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 int arg3
= (int) (int)-1 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3885 bool temp7
= false ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj2
= 0 ;
3889 PyObject
* obj3
= 0 ;
3890 PyObject
* obj4
= 0 ;
3891 PyObject
* obj5
= 0 ;
3892 PyObject
* obj6
= 0 ;
3893 char * kwnames
[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3904 if (!SWIG_IsOK(res2
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3910 if (!SWIG_IsOK(ecode3
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 arg3
= static_cast< int >(val3
);
3918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3929 if (!SWIG_IsOK(ecode6
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 arg6
= static_cast< long >(val6
);
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxPanel
*arg1
= (wxPanel
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
= 0;
3993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3994 SwigValueWrapper
<wxVisualAttributes
> result
;
3997 PyObject
* obj0
= 0 ;
3998 char * kwnames
[] = {
3999 (char *) "variant", NULL
4002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4005 if (!SWIG_IsOK(ecode1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 arg1
= static_cast< wxWindowVariant
>(val1
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4024 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4028 return SWIG_Py_Void();
4031 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 return SWIG_Python_InitShadowInstance(args
);
4035 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxWindow
*arg1
= (wxWindow
*) 0 ;
4038 int arg2
= (int) (int)-1 ;
4039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4043 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4044 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4045 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4046 wxScrolledWindow
*result
= 0 ;
4055 bool temp6
= false ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 PyObject
* obj4
= 0 ;
4061 PyObject
* obj5
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4074 if (!SWIG_IsOK(ecode2
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 arg2
= static_cast< int >(val2
);
4082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4093 if (!SWIG_IsOK(ecode5
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 arg5
= static_cast< long >(val5
);
4100 arg6
= wxString_in_helper(obj5
);
4101 if (arg6
== NULL
) SWIG_fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxScrolledWindow
*result
= 0 ;
4131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4149 wxWindow
*arg2
= (wxWindow
*) 0 ;
4150 int arg3
= (int) (int)-1 ;
4151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4155 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4156 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4169 bool temp7
= false ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4173 PyObject
* obj3
= 0 ;
4174 PyObject
* obj4
= 0 ;
4175 PyObject
* obj5
= 0 ;
4176 PyObject
* obj6
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4188 if (!SWIG_IsOK(res2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4194 if (!SWIG_IsOK(ecode3
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 arg3
= static_cast< int >(val3
);
4202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4213 if (!SWIG_IsOK(ecode6
)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 arg6
= static_cast< long >(val6
);
4220 arg7
= wxString_in_helper(obj6
);
4221 if (arg7
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4255 int arg6
= (int) 0 ;
4256 int arg7
= (int) 0 ;
4257 bool arg8
= (bool) false ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4281 PyObject
* obj7
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 arg2
= static_cast< int >(val2
);
4297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4298 if (!SWIG_IsOK(ecode3
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 arg3
= static_cast< int >(val3
);
4302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4303 if (!SWIG_IsOK(ecode4
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 arg4
= static_cast< int >(val4
);
4307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4308 if (!SWIG_IsOK(ecode5
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 arg5
= static_cast< int >(val5
);
4313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4314 if (!SWIG_IsOK(ecode6
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 arg6
= static_cast< int >(val6
);
4320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4321 if (!SWIG_IsOK(ecode7
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 arg7
= static_cast< int >(val7
);
4327 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4328 if (!SWIG_IsOK(ecode8
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 arg8
= static_cast< bool >(val8
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4371 if (!SWIG_IsOK(ecode2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 arg2
= static_cast< int >(val2
);
4375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4376 if (!SWIG_IsOK(ecode3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 arg3
= static_cast< int >(val3
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->Scroll(arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "orient", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int(static_cast< int >(result
));
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4509 if (!SWIG_IsOK(ecode3
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 arg3
= static_cast< int >(val3
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetScrollRate(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 int *arg2
= (int *) 0 ;
4530 int *arg3
= (int *) 0 ;
4534 int res2
= SWIG_TMPOBJ
;
4536 int res3
= SWIG_TMPOBJ
;
4537 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4561 if (SWIG_IsTmpObj(res3
)) {
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4573 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 arg2
= static_cast< bool >(val2
);
4602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 arg3
= static_cast< bool >(val3
);
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->EnableScrolling(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4620 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4623 int *arg2
= (int *) 0 ;
4624 int *arg3
= (int *) 0 ;
4628 int res2
= SWIG_TMPOBJ
;
4630 int res3
= SWIG_TMPOBJ
;
4631 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4667 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 char * kwnames
[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4692 if (!SWIG_IsOK(ecode2
)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 arg2
= static_cast< double >(val2
);
4696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4697 if (!SWIG_IsOK(ecode3
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 arg3
= static_cast< double >(val3
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetScale(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_Py_Void();
4714 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4720 PyObject
*swig_obj
[1] ;
4722 if (!args
) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_double(static_cast< double >(result
));
4742 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_double(static_cast< double >(result
));
4770 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4771 PyObject
*resultobj
= 0;
4772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4787 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4802 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4803 PyObject
*resultobj
= 0;
4804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4807 int *arg4
= (int *) 0 ;
4808 int *arg5
= (int *) 0 ;
4816 int res4
= SWIG_TMPOBJ
;
4818 int res5
= SWIG_TMPOBJ
;
4822 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 arg2
= static_cast< int >(val2
);
4833 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 arg3
= static_cast< int >(val3
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4851 if (SWIG_IsTmpObj(res5
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4882 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4883 PyObject
*resultobj
= 0;
4884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4891 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4899 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4914 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4915 PyObject
*resultobj
= 0;
4916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4919 int *arg4
= (int *) 0 ;
4920 int *arg5
= (int *) 0 ;
4928 int res4
= SWIG_TMPOBJ
;
4930 int res5
= SWIG_TMPOBJ
;
4934 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4945 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4946 if (!SWIG_IsOK(ecode3
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 arg3
= static_cast< int >(val3
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4994 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5024 wxScrollWinEvent
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "event", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5043 if (!SWIG_IsOK(res2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5066 wxWindow
*arg2
= (wxWindow
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "target", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetTargetWindow(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5104 wxWindow
*result
= 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxObject(result
, 0);
5131 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "dc", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",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_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5152 if (!SWIG_IsOK(res2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5158 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->DoPrepareDC(*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_Py_Void();
5172 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
= 0;
5174 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5175 SwigValueWrapper
<wxVisualAttributes
> result
;
5178 PyObject
* obj0
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "variant", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5186 if (!SWIG_IsOK(ecode1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5189 arg1
= static_cast< wxWindowVariant
>(val1
);
5192 if (!wxPyCheckForApp()) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5205 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5209 return SWIG_Py_Void();
5212 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 return SWIG_Python_InitShadowInstance(args
);
5216 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5217 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5222 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5223 PyObject
*pyobj
= 0;
5227 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5229 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5237 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5242 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5243 PyObject
*pyobj
= 0;
5247 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5249 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5257 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5262 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5263 PyObject
*pyobj
= 0;
5267 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5269 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5277 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5282 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5283 PyObject
*pyobj
= 0;
5287 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5289 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5299 bool arg2
= (bool) true ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "self",(char *) "maximize", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5312 if (!SWIG_IsOK(res1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5315 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5318 if (!SWIG_IsOK(ecode2
)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5321 arg2
= static_cast< bool >(val2
);
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 (arg1
)->Maximize(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_Py_Void();
5336 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5341 PyObject
*swig_obj
[1] ;
5343 if (!args
) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5349 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5366 bool arg2
= (bool) true ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "iconize", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5382 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5385 if (!SWIG_IsOK(ecode2
)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5388 arg2
= static_cast< bool >(val2
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->Iconize(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_Py_Void();
5403 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5404 PyObject
*resultobj
= 0;
5405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5409 PyObject
*swig_obj
[1] ;
5411 if (!args
) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5417 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5434 PyObject
*resultobj
= 0;
5435 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 PyObject
*swig_obj
[1] ;
5441 if (!args
) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5463 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5465 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5469 PyObject
*swig_obj
[1] ;
5471 if (!args
) SWIG_fail
;
5473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5474 if (!SWIG_IsOK(res1
)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5494 PyObject
*resultobj
= 0;
5495 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5499 PyObject
*swig_obj
[1] ;
5501 if (!args
) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "self",(char *) "icon", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5542 if (!SWIG_IsOK(res2
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_Py_Void();
5562 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5565 wxIconBundle
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "icons", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5581 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5589 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 long arg3
= (long) wxFULLSCREEN_ALL
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5629 if (!SWIG_IsOK(ecode2
)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5632 arg2
= static_cast< bool >(val2
);
5634 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5635 if (!SWIG_IsOK(ecode3
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5638 arg3
= static_cast< long >(val3
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5669 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5688 wxString
*arg2
= 0 ;
5691 bool temp2
= false ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 char * kwnames
[] = {
5695 (char *) "self",(char *) "title", NULL
5698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5700 if (!SWIG_IsOK(res1
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5703 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5705 arg2
= wxString_in_helper(obj1
);
5706 if (arg2
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetTitle((wxString
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_Py_Void();
5730 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5744 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 char * kwnames
[] = {
5776 (char *) "self",(char *) "enable", NULL
5779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5784 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5786 if (!SWIG_IsOK(ecode2
)) {
5787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5789 arg2
= static_cast< bool >(val2
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5805 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5808 wxRegion
*arg2
= 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "self",(char *) "region", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5825 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5827 if (!SWIG_IsOK(res2
)) {
5828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5833 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5849 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5852 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "self",(char *) "flags", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5868 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5871 if (!SWIG_IsOK(ecode2
)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5874 arg2
= static_cast< int >(val2
);
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->RequestUserAttention(arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_Py_Void();
5889 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5890 PyObject
*resultobj
= 0;
5891 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5895 PyObject
*swig_obj
[1] ;
5897 if (!args
) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5903 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (bool)(arg1
)->IsActive();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5919 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
= 0;
5921 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 char * kwnames
[] = {
5930 (char *) "self",(char *) "on", NULL
5933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5935 if (!SWIG_IsOK(res1
)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5938 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5939 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5940 if (!SWIG_IsOK(ecode2
)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5943 arg2
= static_cast< bool >(val2
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5963 PyObject
*swig_obj
[1] ;
5965 if (!args
) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5971 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= 0;
5989 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5990 int arg2
= (int) wxBOTH
;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 char * kwnames
[] = {
5998 (char *) "self",(char *) "dir", NULL
6001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6006 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6012 arg2
= static_cast< int >(val2
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 (arg1
)->CenterOnScreen(arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_Py_Void();
6027 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6030 wxWindow
*result
= 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6041 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= wxPyMake_wxObject(result
, 0);
6057 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
= 0;
6059 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6060 wxWindow
*arg2
= (wxWindow
*) 0 ;
6061 wxWindow
*result
= 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 char * kwnames
[] = {
6069 (char *) "self",(char *) "child", NULL
6072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6079 if (!SWIG_IsOK(res2
)) {
6080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= wxPyMake_wxObject(result
, 0);
6098 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
= 0;
6100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6101 wxWindow
*arg2
= (wxWindow
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 char * kwnames
[] = {
6109 (char *) "self",(char *) "win", NULL
6112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6117 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6119 if (!SWIG_IsOK(res2
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6122 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 (arg1
)->SetTmpDefaultItem(arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_Py_Void();
6136 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6139 wxWindow
*result
= 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6150 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= wxPyMake_wxObject(result
, 0);
6166 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6169 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6170 return SWIG_Py_Void();
6173 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
= 0;
6175 wxWindow
*arg1
= (wxWindow
*) 0 ;
6176 int arg2
= (int) (int)-1 ;
6177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6179 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6180 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6181 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6182 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6183 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6184 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6186 wxFrame
*result
= 0 ;
6191 bool temp3
= false ;
6196 bool temp7
= false ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6200 PyObject
* obj3
= 0 ;
6201 PyObject
* obj4
= 0 ;
6202 PyObject
* obj5
= 0 ;
6203 PyObject
* obj6
= 0 ;
6204 char * kwnames
[] = {
6205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6216 if (!SWIG_IsOK(ecode2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6219 arg2
= static_cast< int >(val2
);
6223 arg3
= wxString_in_helper(obj2
);
6224 if (arg3
== NULL
) SWIG_fail
;
6231 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6237 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6241 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6242 if (!SWIG_IsOK(ecode6
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6245 arg6
= static_cast< long >(val6
);
6249 arg7
= wxString_in_helper(obj6
);
6250 if (arg7
== NULL
) SWIG_fail
;
6255 if (!wxPyCheckForApp()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6284 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6285 PyObject
*resultobj
= 0;
6286 wxFrame
*result
= 0 ;
6288 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6290 if (!wxPyCheckForApp()) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (wxFrame
*)new wxFrame();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6303 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6305 wxFrame
*arg1
= (wxFrame
*) 0 ;
6306 wxWindow
*arg2
= (wxWindow
*) 0 ;
6307 int arg3
= (int) (int)-1 ;
6308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6310 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6311 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6312 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6313 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6314 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6315 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6324 bool temp4
= false ;
6329 bool temp8
= false ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6333 PyObject
* obj3
= 0 ;
6334 PyObject
* obj4
= 0 ;
6335 PyObject
* obj5
= 0 ;
6336 PyObject
* obj6
= 0 ;
6337 PyObject
* obj7
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6344 if (!SWIG_IsOK(res1
)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6349 if (!SWIG_IsOK(res2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6355 if (!SWIG_IsOK(ecode3
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6358 arg3
= static_cast< int >(val3
);
6362 arg4
= wxString_in_helper(obj3
);
6363 if (arg4
== NULL
) SWIG_fail
;
6370 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6376 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6380 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6381 if (!SWIG_IsOK(ecode7
)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6384 arg7
= static_cast< long >(val7
);
6388 arg8
= wxString_in_helper(obj7
);
6389 if (arg8
== NULL
) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6424 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxFrame
*arg1
= (wxFrame
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6437 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 (arg1
)->SendSizeEvent();
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_Py_Void();
6451 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
= 0;
6453 wxFrame
*arg1
= (wxFrame
*) 0 ;
6454 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "self",(char *) "menubar", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6470 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6472 if (!SWIG_IsOK(res2
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6475 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 (arg1
)->SetMenuBar(arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_Py_Void();
6489 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxFrame
*arg1
= (wxFrame
*) 0 ;
6492 wxMenuBar
*result
= 0 ;
6495 PyObject
*swig_obj
[1] ;
6497 if (!args
) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6503 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= wxPyMake_wxObject(result
, 0);
6519 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
= 0;
6521 wxFrame
*arg1
= (wxFrame
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "self",(char *) "winid", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6539 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6541 if (!SWIG_IsOK(ecode2
)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6544 arg2
= static_cast< int >(val2
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6560 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= 0;
6562 wxFrame
*arg1
= (wxFrame
*) 0 ;
6563 int arg2
= (int) 1 ;
6564 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6565 int arg4
= (int) 0 ;
6566 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6567 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6568 wxStatusBar
*result
= 0 ;
6577 bool temp5
= false ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 PyObject
* obj2
= 0 ;
6581 PyObject
* obj3
= 0 ;
6582 PyObject
* obj4
= 0 ;
6583 char * kwnames
[] = {
6584 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6592 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6595 if (!SWIG_IsOK(ecode2
)) {
6596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6598 arg2
= static_cast< int >(val2
);
6601 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6602 if (!SWIG_IsOK(ecode3
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6605 arg3
= static_cast< long >(val3
);
6608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6609 if (!SWIG_IsOK(ecode4
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6612 arg4
= static_cast< int >(val4
);
6616 arg5
= wxString_in_helper(obj4
);
6617 if (arg5
== NULL
) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6644 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxFrame
*arg1
= (wxFrame
*) 0 ;
6647 wxStatusBar
*result
= 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6658 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6674 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxFrame
*arg1
= (wxFrame
*) 0 ;
6677 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "statBar", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6693 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6695 if (!SWIG_IsOK(res2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6698 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetStatusBar(arg2
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_Py_Void();
6712 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
= 0;
6714 wxFrame
*arg1
= (wxFrame
*) 0 ;
6715 wxString
*arg2
= 0 ;
6716 int arg3
= (int) 0 ;
6719 bool temp2
= false ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 PyObject
* obj2
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "text",(char *) "number", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6734 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6736 arg2
= wxString_in_helper(obj1
);
6737 if (arg2
== NULL
) SWIG_fail
;
6741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6742 if (!SWIG_IsOK(ecode3
)) {
6743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6745 arg3
= static_cast< int >(val3
);
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_Py_Void();
6768 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= 0;
6770 wxFrame
*arg1
= (wxFrame
*) 0 ;
6772 int *arg3
= (int *) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6777 char * kwnames
[] = {
6778 (char *) "self",(char *) "widths", NULL
6781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6783 if (!SWIG_IsOK(res1
)) {
6784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6786 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6788 arg2
= PyList_Size(obj1
);
6789 arg3
= int_LIST_helper(obj1
);
6790 if (arg3
== NULL
) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_Py_Void();
6800 if (arg3
) delete [] arg3
;
6805 if (arg3
) delete [] arg3
;
6811 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxFrame
*arg1
= (wxFrame
*) 0 ;
6814 wxString
*arg2
= 0 ;
6815 int arg3
= (int) 0 ;
6818 bool temp2
= false ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "text",(char *) "number", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6833 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6841 if (!SWIG_IsOK(ecode3
)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6844 arg3
= static_cast< int >(val3
);
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_Py_Void();
6867 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
= 0;
6869 wxFrame
*arg1
= (wxFrame
*) 0 ;
6870 int arg2
= (int) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 char * kwnames
[] = {
6878 (char *) "self",(char *) "number", NULL
6881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6883 if (!SWIG_IsOK(res1
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6886 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6889 if (!SWIG_IsOK(ecode2
)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6892 arg2
= static_cast< int >(val2
);
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->PopStatusText(arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_Py_Void();
6907 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
= 0;
6909 wxFrame
*arg1
= (wxFrame
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6917 char * kwnames
[] = {
6918 (char *) "self",(char *) "n", NULL
6921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6923 if (!SWIG_IsOK(res1
)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6926 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6928 if (!SWIG_IsOK(ecode2
)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6931 arg2
= static_cast< int >(val2
);
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetStatusBarPane(arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_Py_Void();
6945 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6946 PyObject
*resultobj
= 0;
6947 wxFrame
*arg1
= (wxFrame
*) 0 ;
6951 PyObject
*swig_obj
[1] ;
6953 if (!args
) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6959 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_From_int(static_cast< int >(result
));
6973 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
= 0;
6975 wxFrame
*arg1
= (wxFrame
*) 0 ;
6976 long arg2
= (long) -1 ;
6977 int arg3
= (int) -1 ;
6978 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6980 wxToolBar
*result
= 0 ;
6987 bool temp4
= false ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6991 PyObject
* obj3
= 0 ;
6992 char * kwnames
[] = {
6993 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7001 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7004 if (!SWIG_IsOK(ecode2
)) {
7005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7007 arg2
= static_cast< long >(val2
);
7010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7011 if (!SWIG_IsOK(ecode3
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7014 arg3
= static_cast< int >(val3
);
7018 arg4
= wxString_in_helper(obj3
);
7019 if (arg4
== NULL
) SWIG_fail
;
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7046 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7047 PyObject
*resultobj
= 0;
7048 wxFrame
*arg1
= (wxFrame
*) 0 ;
7049 wxToolBar
*result
= 0 ;
7052 PyObject
*swig_obj
[1] ;
7054 if (!args
) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7060 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7076 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
= 0;
7078 wxFrame
*arg1
= (wxFrame
*) 0 ;
7079 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "self",(char *) "toolbar", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7092 if (!SWIG_IsOK(res1
)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7095 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7097 if (!SWIG_IsOK(res2
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7100 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetToolBar(arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_Py_Void();
7114 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7116 wxFrame
*arg1
= (wxFrame
*) 0 ;
7117 wxString
*arg2
= 0 ;
7121 bool temp2
= false ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7126 PyObject
* obj2
= 0 ;
7127 char * kwnames
[] = {
7128 (char *) "self",(char *) "text",(char *) "show", NULL
7131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7136 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7138 arg2
= wxString_in_helper(obj1
);
7139 if (arg2
== NULL
) SWIG_fail
;
7142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7143 if (!SWIG_IsOK(ecode3
)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7146 arg3
= static_cast< bool >(val3
);
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
= 0;
7170 wxFrame
*arg1
= (wxFrame
*) 0 ;
7171 wxMenu
*arg2
= (wxMenu
*) NULL
;
7176 PyObject
* obj0
= 0 ;
7177 PyObject
* obj1
= 0 ;
7178 char * kwnames
[] = {
7179 (char *) "self",(char *) "menu", NULL
7182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7187 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7190 if (!SWIG_IsOK(res2
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7193 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 (arg1
)->DoMenuUpdates(arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_Py_Void();
7208 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7210 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7211 SwigValueWrapper
<wxVisualAttributes
> result
;
7214 PyObject
* obj0
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "variant", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7222 if (!SWIG_IsOK(ecode1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7225 arg1
= static_cast< wxWindowVariant
>(val1
);
7228 if (!wxPyCheckForApp()) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7241 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7244 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7245 return SWIG_Py_Void();
7248 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 return SWIG_Python_InitShadowInstance(args
);
7252 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7254 wxWindow
*arg1
= (wxWindow
*) 0 ;
7255 int arg2
= (int) (int)-1 ;
7256 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7257 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7262 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7263 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7264 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7265 wxDialog
*result
= 0 ;
7270 bool temp3
= false ;
7275 bool temp7
= false ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 PyObject
* obj2
= 0 ;
7279 PyObject
* obj3
= 0 ;
7280 PyObject
* obj4
= 0 ;
7281 PyObject
* obj5
= 0 ;
7282 PyObject
* obj6
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7295 if (!SWIG_IsOK(ecode2
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7298 arg2
= static_cast< int >(val2
);
7302 arg3
= wxString_in_helper(obj2
);
7303 if (arg3
== NULL
) SWIG_fail
;
7310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7320 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7321 if (!SWIG_IsOK(ecode6
)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7324 arg6
= static_cast< long >(val6
);
7328 arg7
= wxString_in_helper(obj6
);
7329 if (arg7
== NULL
) SWIG_fail
;
7334 if (!wxPyCheckForApp()) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7363 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7364 PyObject
*resultobj
= 0;
7365 wxDialog
*result
= 0 ;
7367 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7369 if (!wxPyCheckForApp()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (wxDialog
*)new wxDialog();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7382 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
= 0;
7384 wxDialog
*arg1
= (wxDialog
*) 0 ;
7385 wxWindow
*arg2
= (wxWindow
*) 0 ;
7386 int arg3
= (int) (int)-1 ;
7387 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7388 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7391 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7392 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7393 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7394 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7403 bool temp4
= false ;
7408 bool temp8
= false ;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7411 PyObject
* obj2
= 0 ;
7412 PyObject
* obj3
= 0 ;
7413 PyObject
* obj4
= 0 ;
7414 PyObject
* obj5
= 0 ;
7415 PyObject
* obj6
= 0 ;
7416 PyObject
* obj7
= 0 ;
7417 char * kwnames
[] = {
7418 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7423 if (!SWIG_IsOK(res1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7426 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7428 if (!SWIG_IsOK(res2
)) {
7429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7434 if (!SWIG_IsOK(ecode3
)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7437 arg3
= static_cast< int >(val3
);
7441 arg4
= wxString_in_helper(obj3
);
7442 if (arg4
== NULL
) SWIG_fail
;
7449 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7455 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7459 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7460 if (!SWIG_IsOK(ecode7
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7463 arg7
= static_cast< long >(val7
);
7467 arg8
= wxString_in_helper(obj7
);
7468 if (arg8
== NULL
) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
= 0;
7505 wxDialog
*arg1
= (wxDialog
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 char * kwnames
[] = {
7514 (char *) "self",(char *) "returnCode", NULL
7517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7522 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7524 if (!SWIG_IsOK(ecode2
)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7527 arg2
= static_cast< int >(val2
);
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 (arg1
)->SetReturnCode(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_Py_Void();
7541 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7542 PyObject
*resultobj
= 0;
7543 wxDialog
*arg1
= (wxDialog
*) 0 ;
7547 PyObject
*swig_obj
[1] ;
7549 if (!args
) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7555 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_From_int(static_cast< int >(result
));
7569 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxDialog
*arg1
= (wxDialog
*) 0 ;
7577 PyObject
* obj0
= 0 ;
7578 PyObject
* obj1
= 0 ;
7579 char * kwnames
[] = {
7580 (char *) "self",(char *) "affirmativeId", NULL
7583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7588 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7590 if (!SWIG_IsOK(ecode2
)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7593 arg2
= static_cast< int >(val2
);
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 (arg1
)->SetAffirmativeId(arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_Py_Void();
7607 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7608 PyObject
*resultobj
= 0;
7609 wxDialog
*arg1
= (wxDialog
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7621 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_From_int(static_cast< int >(result
));
7635 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
= 0;
7637 wxDialog
*arg1
= (wxDialog
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "escapeId", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7656 if (!SWIG_IsOK(ecode2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7659 arg2
= static_cast< int >(val2
);
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->SetEscapeId(arg2
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_Py_Void();
7673 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 PyObject
*resultobj
= 0;
7675 wxDialog
*arg1
= (wxDialog
*) 0 ;
7679 PyObject
*swig_obj
[1] ;
7681 if (!args
) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7687 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_From_int(static_cast< int >(result
));
7701 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
= 0;
7703 wxDialog
*arg1
= (wxDialog
*) 0 ;
7704 wxString
*arg2
= 0 ;
7705 wxSizer
*result
= 0 ;
7708 bool temp2
= false ;
7709 PyObject
* obj0
= 0 ;
7710 PyObject
* obj1
= 0 ;
7711 char * kwnames
[] = {
7712 (char *) "self",(char *) "message", NULL
7715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7720 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7722 arg2
= wxString_in_helper(obj1
);
7723 if (arg2
== NULL
) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7749 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
= 0;
7751 wxDialog
*arg1
= (wxDialog
*) 0 ;
7753 wxSizer
*result
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "self",(char *) "flags", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7769 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7771 if (!SWIG_IsOK(ecode2
)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7774 arg2
= static_cast< long >(val2
);
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7790 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxDialog
*arg1
= (wxDialog
*) 0 ;
7794 wxSizer
*result
= 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 char * kwnames
[] = {
7802 (char *) "self",(char *) "flags", NULL
7805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7810 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7812 if (!SWIG_IsOK(ecode2
)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7815 arg2
= static_cast< long >(val2
);
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7831 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
= 0;
7833 wxDialog
*arg1
= (wxDialog
*) 0 ;
7835 wxStdDialogButtonSizer
*result
= 0 ;
7840 PyObject
* obj0
= 0 ;
7841 PyObject
* obj1
= 0 ;
7842 char * kwnames
[] = {
7843 (char *) "self",(char *) "flags", NULL
7846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7848 if (!SWIG_IsOK(res1
)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7851 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7852 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7853 if (!SWIG_IsOK(ecode2
)) {
7854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7856 arg2
= static_cast< long >(val2
);
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7870 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7871 PyObject
*resultobj
= 0;
7872 wxDialog
*arg1
= (wxDialog
*) 0 ;
7876 PyObject
*swig_obj
[1] ;
7878 if (!args
) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7884 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7900 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxDialog
*arg1
= (wxDialog
*) 0 ;
7906 PyObject
*swig_obj
[1] ;
7908 if (!args
) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7914 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (int)(arg1
)->ShowModal();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_From_int(static_cast< int >(result
));
7928 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
= 0;
7930 wxDialog
*arg1
= (wxDialog
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7938 char * kwnames
[] = {
7939 (char *) "self",(char *) "retCode", NULL
7942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7947 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7949 if (!SWIG_IsOK(ecode2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7952 arg2
= static_cast< int >(val2
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->EndModal(arg2
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7969 SwigValueWrapper
<wxVisualAttributes
> result
;
7972 PyObject
* obj0
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "variant", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7980 if (!SWIG_IsOK(ecode1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7983 arg1
= static_cast< wxWindowVariant
>(val1
);
7986 if (!wxPyCheckForApp()) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7999 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8002 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8003 return SWIG_Py_Void();
8006 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 return SWIG_Python_InitShadowInstance(args
);
8010 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= 0;
8012 wxWindow
*arg1
= (wxWindow
*) 0 ;
8013 int arg2
= (int) (int)-1 ;
8014 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8020 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8021 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8023 wxMiniFrame
*result
= 0 ;
8028 bool temp3
= false ;
8033 bool temp7
= false ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8036 PyObject
* obj2
= 0 ;
8037 PyObject
* obj3
= 0 ;
8038 PyObject
* obj4
= 0 ;
8039 PyObject
* obj5
= 0 ;
8040 PyObject
* obj6
= 0 ;
8041 char * kwnames
[] = {
8042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8050 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8053 if (!SWIG_IsOK(ecode2
)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8056 arg2
= static_cast< int >(val2
);
8060 arg3
= wxString_in_helper(obj2
);
8061 if (arg3
== NULL
) SWIG_fail
;
8068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8078 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8079 if (!SWIG_IsOK(ecode6
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8082 arg6
= static_cast< long >(val6
);
8086 arg7
= wxString_in_helper(obj6
);
8087 if (arg7
== NULL
) SWIG_fail
;
8092 if (!wxPyCheckForApp()) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8121 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 PyObject
*resultobj
= 0;
8123 wxMiniFrame
*result
= 0 ;
8125 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8127 if (!wxPyCheckForApp()) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (wxMiniFrame
*)new wxMiniFrame();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8140 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
= 0;
8142 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8143 wxWindow
*arg2
= (wxWindow
*) 0 ;
8144 int arg3
= (int) (int)-1 ;
8145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8147 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8148 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8149 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8150 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8151 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8152 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8161 bool temp4
= false ;
8166 bool temp8
= false ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8170 PyObject
* obj3
= 0 ;
8171 PyObject
* obj4
= 0 ;
8172 PyObject
* obj5
= 0 ;
8173 PyObject
* obj6
= 0 ;
8174 PyObject
* obj7
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8184 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8186 if (!SWIG_IsOK(res2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8192 if (!SWIG_IsOK(ecode3
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8195 arg3
= static_cast< int >(val3
);
8199 arg4
= wxString_in_helper(obj3
);
8200 if (arg4
== NULL
) SWIG_fail
;
8207 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8213 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8217 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8218 if (!SWIG_IsOK(ecode7
)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8221 arg7
= static_cast< long >(val7
);
8225 arg8
= wxString_in_helper(obj7
);
8226 if (arg8
== NULL
) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8261 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8265 return SWIG_Py_Void();
8268 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8269 return SWIG_Python_InitShadowInstance(args
);
8272 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8274 wxBitmap
*arg1
= 0 ;
8275 wxWindow
*arg2
= (wxWindow
*) 0 ;
8277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8281 long arg6
= (long) wxNO_BORDER
;
8282 wxSplashScreenWindow
*result
= 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8295 PyObject
* obj2
= 0 ;
8296 PyObject
* obj3
= 0 ;
8297 PyObject
* obj4
= 0 ;
8298 PyObject
* obj5
= 0 ;
8299 char * kwnames
[] = {
8300 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8305 if (!SWIG_IsOK(res1
)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8311 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8313 if (!SWIG_IsOK(res2
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8318 if (!SWIG_IsOK(ecode3
)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8321 arg3
= static_cast< int >(val3
);
8325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8335 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8336 if (!SWIG_IsOK(ecode6
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8339 arg6
= static_cast< long >(val6
);
8342 if (!wxPyCheckForApp()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8355 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
= 0;
8357 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8358 wxBitmap
*arg2
= 0 ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8365 char * kwnames
[] = {
8366 (char *) "self",(char *) "bitmap", NULL
8369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8371 if (!SWIG_IsOK(res1
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8374 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8376 if (!SWIG_IsOK(res2
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8382 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8396 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 PyObject
*resultobj
= 0;
8398 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8399 wxBitmap
*result
= 0 ;
8402 PyObject
*swig_obj
[1] ;
8404 if (!args
) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8410 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8415 result
= (wxBitmap
*) &_result_ref
;
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8421 wxBitmap
* resultptr
= new wxBitmap(*result
);
8422 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8430 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8434 return SWIG_Py_Void();
8437 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8438 return SWIG_Python_InitShadowInstance(args
);
8441 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8443 wxBitmap
*arg1
= 0 ;
8446 wxWindow
*arg4
= (wxWindow
*) 0 ;
8447 int arg5
= (int) -1 ;
8448 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8449 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8450 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8451 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8452 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8453 wxSplashScreen
*result
= 0 ;
8468 PyObject
* obj0
= 0 ;
8469 PyObject
* obj1
= 0 ;
8470 PyObject
* obj2
= 0 ;
8471 PyObject
* obj3
= 0 ;
8472 PyObject
* obj4
= 0 ;
8473 PyObject
* obj5
= 0 ;
8474 PyObject
* obj6
= 0 ;
8475 PyObject
* obj7
= 0 ;
8476 char * kwnames
[] = {
8477 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8482 if (!SWIG_IsOK(res1
)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8489 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8490 if (!SWIG_IsOK(ecode2
)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8493 arg2
= static_cast< long >(val2
);
8494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8495 if (!SWIG_IsOK(ecode3
)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8498 arg3
= static_cast< int >(val3
);
8499 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8500 if (!SWIG_IsOK(res4
)) {
8501 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8503 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8506 if (!SWIG_IsOK(ecode5
)) {
8507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8509 arg5
= static_cast< int >(val5
);
8514 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8520 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8524 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8525 if (!SWIG_IsOK(ecode8
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8528 arg8
= static_cast< long >(val8
);
8531 if (!wxPyCheckForApp()) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8544 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8545 PyObject
*resultobj
= 0;
8546 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8550 PyObject
*swig_obj
[1] ;
8552 if (!args
) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8558 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_From_long(static_cast< long >(result
));
8572 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 PyObject
*resultobj
= 0;
8574 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8575 wxSplashScreenWindow
*result
= 0 ;
8578 PyObject
*swig_obj
[1] ;
8580 if (!args
) SWIG_fail
;
8582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8583 if (!SWIG_IsOK(res1
)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8586 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8600 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8601 PyObject
*resultobj
= 0;
8602 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8614 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 resultobj
= SWIG_From_int(static_cast< int >(result
));
8628 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8632 return SWIG_Py_Void();
8635 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 return SWIG_Python_InitShadowInstance(args
);
8639 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxWindow
*arg1
= (wxWindow
*) 0 ;
8642 int arg2
= (int) -1 ;
8643 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8644 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8646 wxStatusBar
*result
= 0 ;
8653 bool temp4
= false ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 PyObject
* obj2
= 0 ;
8657 PyObject
* obj3
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8670 if (!SWIG_IsOK(ecode2
)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8673 arg2
= static_cast< int >(val2
);
8676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8677 if (!SWIG_IsOK(ecode3
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8680 arg3
= static_cast< long >(val3
);
8684 arg4
= wxString_in_helper(obj3
);
8685 if (arg4
== NULL
) SWIG_fail
;
8690 if (!wxPyCheckForApp()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8711 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8712 PyObject
*resultobj
= 0;
8713 wxStatusBar
*result
= 0 ;
8715 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8717 if (!wxPyCheckForApp()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxStatusBar
*)new wxStatusBar();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8730 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
= 0;
8732 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8733 wxWindow
*arg2
= (wxWindow
*) 0 ;
8734 int arg3
= (int) -1 ;
8735 long arg4
= (long) wxST_SIZEGRIP
;
8736 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8747 bool temp5
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 PyObject
* obj4
= 0 ;
8753 char * kwnames
[] = {
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8759 if (!SWIG_IsOK(res1
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8762 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8764 if (!SWIG_IsOK(res2
)) {
8765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8770 if (!SWIG_IsOK(ecode3
)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8773 arg3
= static_cast< int >(val3
);
8776 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8777 if (!SWIG_IsOK(ecode4
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8780 arg4
= static_cast< long >(val4
);
8784 arg5
= wxString_in_helper(obj4
);
8785 if (arg5
== NULL
) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8812 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8815 int arg2
= (int) 1 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "self",(char *) "number", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8831 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8834 if (!SWIG_IsOK(ecode2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8837 arg2
= static_cast< int >(val2
);
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 (arg1
)->SetFieldsCount(arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_Py_Void();
8852 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8853 PyObject
*resultobj
= 0;
8854 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8858 PyObject
*swig_obj
[1] ;
8860 if (!args
) SWIG_fail
;
8862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8863 if (!SWIG_IsOK(res1
)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8866 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_From_int(static_cast< int >(result
));
8880 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8883 wxString
*arg2
= 0 ;
8884 int arg3
= (int) 0 ;
8887 bool temp2
= false ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 PyObject
* obj2
= 0 ;
8893 char * kwnames
[] = {
8894 (char *) "self",(char *) "text",(char *) "number", NULL
8897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8899 if (!SWIG_IsOK(res1
)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8904 arg2
= wxString_in_helper(obj1
);
8905 if (arg2
== NULL
) SWIG_fail
;
8909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8910 if (!SWIG_IsOK(ecode3
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8913 arg3
= static_cast< int >(val3
);
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8936 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
= 0;
8938 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8939 int arg2
= (int) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 char * kwnames
[] = {
8948 (char *) "self",(char *) "number", NULL
8951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8953 if (!SWIG_IsOK(res1
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8956 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8959 if (!SWIG_IsOK(ecode2
)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8962 arg2
= static_cast< int >(val2
);
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8983 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
= 0;
8985 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8986 wxString
*arg2
= 0 ;
8987 int arg3
= (int) 0 ;
8990 bool temp2
= false ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8996 char * kwnames
[] = {
8997 (char *) "self",(char *) "text",(char *) "number", NULL
9000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9005 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9007 arg2
= wxString_in_helper(obj1
);
9008 if (arg2
== NULL
) SWIG_fail
;
9012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9013 if (!SWIG_IsOK(ecode3
)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9016 arg3
= static_cast< int >(val3
);
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_Py_Void();
9039 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= 0;
9041 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9042 int arg2
= (int) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9049 char * kwnames
[] = {
9050 (char *) "self",(char *) "number", NULL
9053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9055 if (!SWIG_IsOK(res1
)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9058 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9061 if (!SWIG_IsOK(ecode2
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9064 arg2
= static_cast< int >(val2
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->PopStatusText(arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9079 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
= 0;
9081 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9083 int *arg3
= (int *) 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 char * kwnames
[] = {
9089 (char *) "self",(char *) "widths", NULL
9092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9094 if (!SWIG_IsOK(res1
)) {
9095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9097 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9099 arg2
= PyList_Size(obj1
);
9100 arg3
= int_LIST_helper(obj1
);
9101 if (arg3
== NULL
) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_Py_Void();
9111 if (arg3
) delete [] arg3
;
9116 if (arg3
) delete [] arg3
;
9122 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
= 0;
9124 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9126 int *arg3
= (int *) 0 ;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9131 char * kwnames
[] = {
9132 (char *) "self",(char *) "styles", NULL
9135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9137 if (!SWIG_IsOK(res1
)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9140 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9142 arg2
= PyList_Size(obj1
);
9143 arg3
= int_LIST_helper(obj1
);
9144 if (arg3
== NULL
) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9154 if (arg3
) delete [] arg3
;
9159 if (arg3
) delete [] arg3
;
9165 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= 0;
9167 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 char * kwnames
[] = {
9177 (char *) "self",(char *) "i", NULL
9180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9185 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9187 if (!SWIG_IsOK(ecode2
)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9190 arg2
= static_cast< int >(val2
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9204 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
= 0;
9206 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "self",(char *) "height", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9223 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9225 if (!SWIG_IsOK(ecode2
)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9228 arg2
= static_cast< int >(val2
);
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 (arg1
)->SetMinHeight(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= SWIG_Py_Void();
9242 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9243 PyObject
*resultobj
= 0;
9244 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9248 PyObject
*swig_obj
[1] ;
9250 if (!args
) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9256 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_From_int(static_cast< int >(result
));
9270 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9271 PyObject
*resultobj
= 0;
9272 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9276 PyObject
*swig_obj
[1] ;
9278 if (!args
) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9284 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_From_int(static_cast< int >(result
));
9298 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
= 0;
9300 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9301 SwigValueWrapper
<wxVisualAttributes
> result
;
9304 PyObject
* obj0
= 0 ;
9305 char * kwnames
[] = {
9306 (char *) "variant", NULL
9309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9312 if (!SWIG_IsOK(ecode1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9315 arg1
= static_cast< wxWindowVariant
>(val1
);
9318 if (!wxPyCheckForApp()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9331 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9334 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9335 return SWIG_Py_Void();
9338 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 return SWIG_Python_InitShadowInstance(args
);
9342 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9343 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9348 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9349 PyObject
*pyobj
= 0;
9353 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9355 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9362 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxWindow
*arg1
= (wxWindow
*) 0 ;
9365 int arg2
= (int) -1 ;
9366 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9367 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9368 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9369 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9370 long arg5
= (long) wxSP_3D
;
9371 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9373 wxSplitterWindow
*result
= 0 ;
9382 bool temp6
= false ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 PyObject
* obj2
= 0 ;
9386 PyObject
* obj3
= 0 ;
9387 PyObject
* obj4
= 0 ;
9388 PyObject
* obj5
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9415 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9419 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9420 if (!SWIG_IsOK(ecode5
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9423 arg5
= static_cast< long >(val5
);
9427 arg6
= wxString_in_helper(obj5
);
9428 if (arg6
== NULL
) SWIG_fail
;
9433 if (!wxPyCheckForApp()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9454 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9455 PyObject
*resultobj
= 0;
9456 wxSplitterWindow
*result
= 0 ;
9458 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9460 if (!wxPyCheckForApp()) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9473 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= 0;
9475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9476 wxWindow
*arg2
= (wxWindow
*) 0 ;
9477 int arg3
= (int) -1 ;
9478 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9479 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9480 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9481 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9482 long arg6
= (long) wxSP_3D
;
9483 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9484 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9496 bool temp7
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9500 PyObject
* obj3
= 0 ;
9501 PyObject
* obj4
= 0 ;
9502 PyObject
* obj5
= 0 ;
9503 PyObject
* obj6
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9513 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9515 if (!SWIG_IsOK(res2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9518 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9521 if (!SWIG_IsOK(ecode3
)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9524 arg3
= static_cast< int >(val3
);
9529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9539 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9540 if (!SWIG_IsOK(ecode6
)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9543 arg6
= static_cast< long >(val6
);
9547 arg7
= wxString_in_helper(obj6
);
9548 if (arg7
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9575 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9576 PyObject
*resultobj
= 0;
9577 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9578 wxWindow
*result
= 0 ;
9581 PyObject
*swig_obj
[1] ;
9583 if (!args
) SWIG_fail
;
9585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9586 if (!SWIG_IsOK(res1
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9589 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= wxPyMake_wxObject(result
, 0);
9605 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9606 PyObject
*resultobj
= 0;
9607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9608 wxWindow
*result
= 0 ;
9611 PyObject
*swig_obj
[1] ;
9613 if (!args
) SWIG_fail
;
9615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9616 if (!SWIG_IsOK(res1
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9619 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= wxPyMake_wxObject(result
, 0);
9635 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
= 0;
9637 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9645 char * kwnames
[] = {
9646 (char *) "self",(char *) "mode", NULL
9649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9654 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9656 if (!SWIG_IsOK(ecode2
)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9659 arg2
= static_cast< int >(val2
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 (arg1
)->SetSplitMode(arg2
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_Py_Void();
9673 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9679 PyObject
*swig_obj
[1] ;
9681 if (!args
) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9687 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_From_int(static_cast< int >(result
));
9701 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9704 wxWindow
*arg2
= (wxWindow
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 char * kwnames
[] = {
9712 (char *) "self",(char *) "window", NULL
9715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9720 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9722 if (!SWIG_IsOK(res2
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->Initialize(arg2
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_Py_Void();
9739 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
= 0;
9741 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 wxWindow
*arg2
= (wxWindow
*) 0 ;
9743 wxWindow
*arg3
= (wxWindow
*) 0 ;
9744 int arg4
= (int) 0 ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9756 PyObject
* obj2
= 0 ;
9757 PyObject
* obj3
= 0 ;
9758 char * kwnames
[] = {
9759 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9764 if (!SWIG_IsOK(res1
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9767 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9769 if (!SWIG_IsOK(res2
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9773 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9774 if (!SWIG_IsOK(res3
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9777 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9780 if (!SWIG_IsOK(ecode4
)) {
9781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9783 arg4
= static_cast< int >(val4
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9800 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
*resultobj
= 0;
9802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9803 wxWindow
*arg2
= (wxWindow
*) 0 ;
9804 wxWindow
*arg3
= (wxWindow
*) 0 ;
9805 int arg4
= (int) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9817 PyObject
* obj2
= 0 ;
9818 PyObject
* obj3
= 0 ;
9819 char * kwnames
[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res1
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9830 if (!SWIG_IsOK(res2
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9834 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9835 if (!SWIG_IsOK(res3
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9838 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9841 if (!SWIG_IsOK(ecode4
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9844 arg4
= static_cast< int >(val4
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9861 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9864 wxWindow
*arg2
= (wxWindow
*) NULL
;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "self",(char *) "toRemove", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9881 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9884 if (!SWIG_IsOK(res2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)(arg1
)->Unsplit(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9904 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9907 wxWindow
*arg2
= (wxWindow
*) 0 ;
9908 wxWindow
*arg3
= (wxWindow
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 PyObject
* obj2
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9928 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9930 if (!SWIG_IsOK(res2
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9934 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9935 if (!SWIG_IsOK(res3
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9938 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9954 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 PyObject
*resultobj
= 0;
9956 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9959 PyObject
*swig_obj
[1] ;
9961 if (!args
) SWIG_fail
;
9963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9964 if (!SWIG_IsOK(res1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9967 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 (arg1
)->UpdateSize();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_Py_Void();
9981 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9982 PyObject
*resultobj
= 0;
9983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9987 PyObject
*swig_obj
[1] ;
9989 if (!args
) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9995 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10011 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
= 0;
10013 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "width", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10030 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10032 if (!SWIG_IsOK(ecode2
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10035 arg2
= static_cast< int >(val2
);
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 (arg1
)->SetSashSize(arg2
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_Py_Void();
10049 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
= 0;
10051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 char * kwnames
[] = {
10060 (char *) "self",(char *) "width", NULL
10063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10068 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10070 if (!SWIG_IsOK(ecode2
)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10073 arg2
= static_cast< int >(val2
);
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 (arg1
)->SetBorderSize(arg2
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_Py_Void();
10087 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10088 PyObject
*resultobj
= 0;
10089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10093 PyObject
*swig_obj
[1] ;
10095 if (!args
) SWIG_fail
;
10096 swig_obj
[0] = args
;
10097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_From_int(static_cast< int >(result
));
10115 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10129 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int(static_cast< int >(result
));
10143 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
= 0;
10145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 bool arg3
= (bool) true ;
10154 PyObject
* obj0
= 0 ;
10155 PyObject
* obj1
= 0 ;
10156 PyObject
* obj2
= 0 ;
10157 char * kwnames
[] = {
10158 (char *) "self",(char *) "position",(char *) "redraw", NULL
10161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10163 if (!SWIG_IsOK(res1
)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10166 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10168 if (!SWIG_IsOK(ecode2
)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10171 arg2
= static_cast< int >(val2
);
10173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10174 if (!SWIG_IsOK(ecode3
)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10177 arg3
= static_cast< bool >(val3
);
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 (arg1
)->SetSashPosition(arg2
,arg3
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_Py_Void();
10192 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10193 PyObject
*resultobj
= 0;
10194 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10198 PyObject
*swig_obj
[1] ;
10200 if (!args
) SWIG_fail
;
10201 swig_obj
[0] = args
;
10202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10203 if (!SWIG_IsOK(res1
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10206 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_From_int(static_cast< int >(result
));
10220 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "gravity", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10239 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10244 arg2
= static_cast< double >(val2
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->SetSashGravity(arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_Py_Void();
10258 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10259 PyObject
*resultobj
= 0;
10260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10264 PyObject
*swig_obj
[1] ;
10266 if (!args
) SWIG_fail
;
10267 swig_obj
[0] = args
;
10268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10272 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_From_double(static_cast< double >(result
));
10286 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
= 0;
10288 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 char * kwnames
[] = {
10297 (char *) "self",(char *) "min", NULL
10300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10302 if (!SWIG_IsOK(res1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10305 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10307 if (!SWIG_IsOK(ecode2
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10310 arg2
= static_cast< int >(val2
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetMinimumPaneSize(arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10324 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10338 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int(static_cast< int >(result
));
10352 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= 0;
10354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10357 int arg4
= (int) 5 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 PyObject
* obj3
= 0 ;
10371 char * kwnames
[] = {
10372 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10377 if (!SWIG_IsOK(res1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10380 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10382 if (!SWIG_IsOK(ecode2
)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10385 arg2
= static_cast< int >(val2
);
10386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10387 if (!SWIG_IsOK(ecode3
)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10390 arg3
= static_cast< int >(val3
);
10392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10393 if (!SWIG_IsOK(ecode4
)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10396 arg4
= static_cast< int >(val4
);
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10413 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10414 PyObject
*resultobj
= 0;
10415 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10418 PyObject
*swig_obj
[1] ;
10420 if (!args
) SWIG_fail
;
10421 swig_obj
[0] = args
;
10422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10426 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->SizeWindows();
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_Py_Void();
10440 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
= 0;
10442 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char * kwnames
[] = {
10451 (char *) "self",(char *) "needUpdating", NULL
10454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10459 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10460 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10461 if (!SWIG_IsOK(ecode2
)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10464 arg2
= static_cast< bool >(val2
);
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetNeedUpdating(arg2
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= SWIG_Py_Void();
10478 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10479 PyObject
*resultobj
= 0;
10480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10484 PyObject
*swig_obj
[1] ;
10486 if (!args
) SWIG_fail
;
10487 swig_obj
[0] = args
;
10488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10489 if (!SWIG_IsOK(res1
)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10492 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10508 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
= 0;
10510 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10511 SwigValueWrapper
<wxVisualAttributes
> result
;
10514 PyObject
* obj0
= 0 ;
10515 char * kwnames
[] = {
10516 (char *) "variant", NULL
10519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10522 if (!SWIG_IsOK(ecode1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10525 arg1
= static_cast< wxWindowVariant
>(val1
);
10528 if (!wxPyCheckForApp()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10541 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10545 return SWIG_Py_Void();
10548 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 return SWIG_Python_InitShadowInstance(args
);
10552 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= 0;
10554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10555 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10556 wxSplitterEvent
*result
= 0 ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "type",(char *) "splitter", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10570 if (!SWIG_IsOK(ecode1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10573 arg1
= static_cast< wxEventType
>(val1
);
10576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10577 if (!SWIG_IsOK(res2
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10580 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10595 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 char * kwnames
[] = {
10606 (char *) "self",(char *) "pos", NULL
10609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10611 if (!SWIG_IsOK(res1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10614 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10616 if (!SWIG_IsOK(ecode2
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10619 arg2
= static_cast< int >(val2
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 (arg1
)->SetSashPosition(arg2
);
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= SWIG_Py_Void();
10633 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10634 PyObject
*resultobj
= 0;
10635 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10639 PyObject
*swig_obj
[1] ;
10641 if (!args
) SWIG_fail
;
10642 swig_obj
[0] = args
;
10643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10644 if (!SWIG_IsOK(res1
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10647 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= SWIG_From_int(static_cast< int >(result
));
10661 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10662 PyObject
*resultobj
= 0;
10663 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10664 wxWindow
*result
= 0 ;
10667 PyObject
*swig_obj
[1] ;
10669 if (!args
) SWIG_fail
;
10670 swig_obj
[0] = args
;
10671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10672 if (!SWIG_IsOK(res1
)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10675 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= wxPyMake_wxObject(result
, 0);
10691 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10692 PyObject
*resultobj
= 0;
10693 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10697 PyObject
*swig_obj
[1] ;
10699 if (!args
) SWIG_fail
;
10700 swig_obj
[0] = args
;
10701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10705 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10720 PyObject
*resultobj
= 0;
10721 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10725 PyObject
*swig_obj
[1] ;
10727 if (!args
) SWIG_fail
;
10728 swig_obj
[0] = args
;
10729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10733 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_From_int(static_cast< int >(result
));
10747 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10751 return SWIG_Py_Void();
10754 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 return SWIG_Python_InitShadowInstance(args
);
10758 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10759 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10764 SWIGINTERN PyObject
*SashNameStr_get(void) {
10765 PyObject
*pyobj
= 0;
10769 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10771 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10778 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10779 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10784 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10785 PyObject
*pyobj
= 0;
10789 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10791 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10798 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= 0;
10800 wxWindow
*arg1
= (wxWindow
*) 0 ;
10801 int arg2
= (int) -1 ;
10802 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10803 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10804 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10805 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10806 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10807 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10808 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10809 wxSashWindow
*result
= 0 ;
10818 bool temp6
= false ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 PyObject
* obj3
= 0 ;
10823 PyObject
* obj4
= 0 ;
10824 PyObject
* obj5
= 0 ;
10825 char * kwnames
[] = {
10826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10831 if (!SWIG_IsOK(res1
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10837 if (!SWIG_IsOK(ecode2
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10840 arg2
= static_cast< int >(val2
);
10845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10855 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10856 if (!SWIG_IsOK(ecode5
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10859 arg5
= static_cast< long >(val5
);
10863 arg6
= wxString_in_helper(obj5
);
10864 if (arg6
== NULL
) SWIG_fail
;
10869 if (!wxPyCheckForApp()) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10890 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10891 PyObject
*resultobj
= 0;
10892 wxSashWindow
*result
= 0 ;
10894 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10896 if (!wxPyCheckForApp()) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxSashWindow
*)new wxSashWindow();
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10909 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= 0;
10911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10912 wxWindow
*arg2
= (wxWindow
*) 0 ;
10913 int arg3
= (int) -1 ;
10914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10918 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10919 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10920 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10932 bool temp7
= false ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 PyObject
* obj3
= 0 ;
10937 PyObject
* obj4
= 0 ;
10938 PyObject
* obj5
= 0 ;
10939 PyObject
* obj6
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10949 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10951 if (!SWIG_IsOK(res2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10957 if (!SWIG_IsOK(ecode3
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10960 arg3
= static_cast< int >(val3
);
10965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10975 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10976 if (!SWIG_IsOK(ecode6
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10979 arg6
= static_cast< long >(val6
);
10983 arg7
= wxString_in_helper(obj6
);
10984 if (arg7
== NULL
) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11014 wxSashEdgePosition arg2
;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "edge",(char *) "sash", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11034 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11036 if (!SWIG_IsOK(ecode2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11039 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11040 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11041 if (!SWIG_IsOK(ecode3
)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11044 arg3
= static_cast< bool >(val3
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->SetSashVisible(arg2
,arg3
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= SWIG_Py_Void();
11058 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11061 wxSashEdgePosition arg2
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char * kwnames
[] = {
11070 (char *) "self",(char *) "edge", NULL
11073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11078 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11080 if (!SWIG_IsOK(ecode2
)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11083 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
= 0;
11101 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11102 wxSashEdgePosition arg2
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 char * kwnames
[] = {
11114 (char *) "self",(char *) "edge",(char *) "border", NULL
11117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11122 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11124 if (!SWIG_IsOK(ecode2
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11127 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11128 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11129 if (!SWIG_IsOK(ecode3
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11132 arg3
= static_cast< bool >(val3
);
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->SetSashBorder(arg2
,arg3
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_Py_Void();
11146 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11149 wxSashEdgePosition arg2
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "edge", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11171 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11187 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
= 0;
11189 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11190 wxSashEdgePosition arg2
;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 char * kwnames
[] = {
11199 (char *) "self",(char *) "edge", NULL
11202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11207 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11209 if (!SWIG_IsOK(ecode2
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11212 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= SWIG_From_int(static_cast< int >(result
));
11226 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char * kwnames
[] = {
11237 (char *) "self",(char *) "width", NULL
11240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11245 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11247 if (!SWIG_IsOK(ecode2
)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11250 arg2
= static_cast< int >(val2
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->SetDefaultBorderSize(arg2
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= SWIG_Py_Void();
11264 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11265 PyObject
*resultobj
= 0;
11266 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11270 PyObject
*swig_obj
[1] ;
11272 if (!args
) SWIG_fail
;
11273 swig_obj
[0] = args
;
11274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11275 if (!SWIG_IsOK(res1
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11278 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_From_int(static_cast< int >(result
));
11292 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
= 0;
11294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "self",(char *) "width", NULL
11306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11311 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11313 if (!SWIG_IsOK(ecode2
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11316 arg2
= static_cast< int >(val2
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetExtraBorderSize(arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_Py_Void();
11330 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11344 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_int(static_cast< int >(result
));
11358 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= 0;
11360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char * kwnames
[] = {
11369 (char *) "self",(char *) "min", NULL
11372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11374 if (!SWIG_IsOK(res1
)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11377 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11379 if (!SWIG_IsOK(ecode2
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11382 arg2
= static_cast< int >(val2
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetMinimumSizeX(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_Py_Void();
11396 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
= 0;
11398 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char * kwnames
[] = {
11407 (char *) "self",(char *) "min", NULL
11410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11415 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11417 if (!SWIG_IsOK(ecode2
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11420 arg2
= static_cast< int >(val2
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 (arg1
)->SetMinimumSizeY(arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_Py_Void();
11434 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 PyObject
*resultobj
= 0;
11436 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_From_int(static_cast< int >(result
));
11462 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11476 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_From_int(static_cast< int >(result
));
11490 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char * kwnames
[] = {
11501 (char *) "self",(char *) "max", NULL
11504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11511 if (!SWIG_IsOK(ecode2
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11514 arg2
= static_cast< int >(val2
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetMaximumSizeX(arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_Py_Void();
11528 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 char * kwnames
[] = {
11539 (char *) "self",(char *) "max", NULL
11542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11549 if (!SWIG_IsOK(ecode2
)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11552 arg2
= static_cast< int >(val2
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->SetMaximumSizeY(arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_Py_Void();
11566 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 PyObject
*resultobj
= 0;
11568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11572 PyObject
*swig_obj
[1] ;
11574 if (!args
) SWIG_fail
;
11575 swig_obj
[0] = args
;
11576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_From_int(static_cast< int >(result
));
11594 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 PyObject
*resultobj
= 0;
11596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11608 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int(static_cast< int >(result
));
11622 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= 0;
11624 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11627 int arg4
= (int) 2 ;
11628 wxSashEdgePosition result
;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 PyObject
* obj3
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11650 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11652 if (!SWIG_IsOK(ecode2
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11655 arg2
= static_cast< int >(val2
);
11656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11657 if (!SWIG_IsOK(ecode3
)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11660 arg3
= static_cast< int >(val3
);
11662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11663 if (!SWIG_IsOK(ecode4
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11666 arg4
= static_cast< int >(val4
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_int(static_cast< int >(result
));
11681 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11694 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SizeWindows();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_Py_Void();
11708 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11711 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11712 return SWIG_Py_Void();
11715 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 return SWIG_Python_InitShadowInstance(args
);
11719 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= 0;
11721 int arg1
= (int) 0 ;
11722 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11723 wxSashEvent
*result
= 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char * kwnames
[] = {
11731 (char *) "id",(char *) "edge", NULL
11734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11737 if (!SWIG_IsOK(ecode1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11740 arg1
= static_cast< int >(val1
);
11743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11744 if (!SWIG_IsOK(ecode2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11747 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11762 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
= 0;
11764 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11765 wxSashEdgePosition arg2
;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj1
= 0 ;
11772 char * kwnames
[] = {
11773 (char *) "self",(char *) "edge", NULL
11776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11781 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11783 if (!SWIG_IsOK(ecode2
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11786 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 (arg1
)->SetEdge(arg2
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_Py_Void();
11800 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11801 PyObject
*resultobj
= 0;
11802 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11803 wxSashEdgePosition result
;
11806 PyObject
*swig_obj
[1] ;
11808 if (!args
) SWIG_fail
;
11809 swig_obj
[0] = args
;
11810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11811 if (!SWIG_IsOK(res1
)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11814 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_From_int(static_cast< int >(result
));
11828 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= 0;
11830 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 char * kwnames
[] = {
11838 (char *) "self",(char *) "rect", NULL
11841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11846 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_Py_Void();
11864 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11878 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11892 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11895 wxSashDragStatus arg2
;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "status", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11911 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11913 if (!SWIG_IsOK(ecode2
)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11916 arg2
= static_cast< wxSashDragStatus
>(val2
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->SetDragStatus(arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_Py_Void();
11930 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 PyObject
*resultobj
= 0;
11932 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11933 wxSashDragStatus result
;
11936 PyObject
*swig_obj
[1] ;
11938 if (!args
) SWIG_fail
;
11939 swig_obj
[0] = args
;
11940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11944 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_From_int(static_cast< int >(result
));
11958 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11962 return SWIG_Py_Void();
11965 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 return SWIG_Python_InitShadowInstance(args
);
11969 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
= 0;
11971 int arg1
= (int) 0 ;
11972 wxQueryLayoutInfoEvent
*result
= 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char * kwnames
[] = {
11977 (char *) "id", NULL
11980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11983 if (!SWIG_IsOK(ecode1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11986 arg1
= static_cast< int >(val1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12001 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
= 0;
12003 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char * kwnames
[] = {
12012 (char *) "self",(char *) "length", NULL
12015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12020 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12022 if (!SWIG_IsOK(ecode2
)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12025 arg2
= static_cast< int >(val2
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetRequestedLength(arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_Py_Void();
12039 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 PyObject
*resultobj
= 0;
12041 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12045 PyObject
*swig_obj
[1] ;
12047 if (!args
) SWIG_fail
;
12048 swig_obj
[0] = args
;
12049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12053 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= SWIG_From_int(static_cast< int >(result
));
12067 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
= 0;
12069 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 char * kwnames
[] = {
12078 (char *) "self",(char *) "flags", NULL
12081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12083 if (!SWIG_IsOK(res1
)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12086 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12088 if (!SWIG_IsOK(ecode2
)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12091 arg2
= static_cast< int >(val2
);
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->SetFlags(arg2
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_Py_Void();
12105 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12111 PyObject
*swig_obj
[1] ;
12113 if (!args
) SWIG_fail
;
12114 swig_obj
[0] = args
;
12115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12119 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_From_int(static_cast< int >(result
));
12133 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "size", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12151 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetSize((wxSize
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_Py_Void();
12169 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12183 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12197 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
= 0;
12199 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12200 wxLayoutOrientation arg2
;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "orient", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12216 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12218 if (!SWIG_IsOK(ecode2
)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12221 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 (arg1
)->SetOrientation(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= SWIG_Py_Void();
12235 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12236 PyObject
*resultobj
= 0;
12237 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12238 wxLayoutOrientation result
;
12241 PyObject
*swig_obj
[1] ;
12243 if (!args
) SWIG_fail
;
12244 swig_obj
[0] = args
;
12245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12249 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_From_int(static_cast< int >(result
));
12263 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
= 0;
12265 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12266 wxLayoutAlignment arg2
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char * kwnames
[] = {
12274 (char *) "self",(char *) "align", NULL
12277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12279 if (!SWIG_IsOK(res1
)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12282 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12284 if (!SWIG_IsOK(ecode2
)) {
12285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12287 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->SetAlignment(arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_Py_Void();
12301 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 PyObject
*resultobj
= 0;
12303 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12304 wxLayoutAlignment result
;
12307 PyObject
*swig_obj
[1] ;
12309 if (!args
) SWIG_fail
;
12310 swig_obj
[0] = args
;
12311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12315 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_From_int(static_cast< int >(result
));
12329 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12332 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12333 return SWIG_Py_Void();
12336 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 return SWIG_Python_InitShadowInstance(args
);
12340 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
*resultobj
= 0;
12342 int arg1
= (int) 0 ;
12343 wxCalculateLayoutEvent
*result
= 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "id", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12354 if (!SWIG_IsOK(ecode1
)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12357 arg1
= static_cast< int >(val1
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12372 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 char * kwnames
[] = {
12383 (char *) "self",(char *) "flags", NULL
12386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12391 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12393 if (!SWIG_IsOK(ecode2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12396 arg2
= static_cast< int >(val2
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetFlags(arg2
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12416 PyObject
*swig_obj
[1] ;
12418 if (!args
) SWIG_fail
;
12419 swig_obj
[0] = args
;
12420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12421 if (!SWIG_IsOK(res1
)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12424 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_From_int(static_cast< int >(result
));
12438 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
= 0;
12440 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "rect", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12456 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetRect((wxRect
const &)*arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12488 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12502 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12505 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12506 return SWIG_Py_Void();
12509 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 return SWIG_Python_InitShadowInstance(args
);
12513 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
= 0;
12515 wxWindow
*arg1
= (wxWindow
*) 0 ;
12516 int arg2
= (int) -1 ;
12517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12521 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12522 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12523 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12524 wxSashLayoutWindow
*result
= 0 ;
12533 bool temp6
= false ;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 PyObject
* obj2
= 0 ;
12537 PyObject
* obj3
= 0 ;
12538 PyObject
* obj4
= 0 ;
12539 PyObject
* obj5
= 0 ;
12540 char * kwnames
[] = {
12541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12552 if (!SWIG_IsOK(ecode2
)) {
12553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12555 arg2
= static_cast< int >(val2
);
12560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12570 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12571 if (!SWIG_IsOK(ecode5
)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12574 arg5
= static_cast< long >(val5
);
12578 arg6
= wxString_in_helper(obj5
);
12579 if (arg6
== NULL
) SWIG_fail
;
12584 if (!wxPyCheckForApp()) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12605 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 PyObject
*resultobj
= 0;
12607 wxSashLayoutWindow
*result
= 0 ;
12609 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12611 if (!wxPyCheckForApp()) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12624 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
= 0;
12626 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12627 wxWindow
*arg2
= (wxWindow
*) 0 ;
12628 int arg3
= (int) -1 ;
12629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12633 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12634 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12647 bool temp7
= false ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 PyObject
* obj3
= 0 ;
12652 PyObject
* obj4
= 0 ;
12653 PyObject
* obj5
= 0 ;
12654 PyObject
* obj6
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12666 if (!SWIG_IsOK(res2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12672 if (!SWIG_IsOK(ecode3
)) {
12673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12675 arg3
= static_cast< int >(val3
);
12680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12690 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12691 if (!SWIG_IsOK(ecode6
)) {
12692 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12694 arg6
= static_cast< long >(val6
);
12698 arg7
= wxString_in_helper(obj6
);
12699 if (arg7
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 PyObject
*resultobj
= 0;
12728 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12729 wxLayoutAlignment result
;
12732 PyObject
*swig_obj
[1] ;
12734 if (!args
) SWIG_fail
;
12735 swig_obj
[0] = args
;
12736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12740 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= SWIG_From_int(static_cast< int >(result
));
12754 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12757 wxLayoutOrientation result
;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12768 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_From_int(static_cast< int >(result
));
12782 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12785 wxLayoutAlignment arg2
;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "alignment", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12803 if (!SWIG_IsOK(ecode2
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12806 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetAlignment(arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12820 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= 0;
12822 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 char * kwnames
[] = {
12830 (char *) "self",(char *) "size", NULL
12833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12838 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_Py_Void();
12856 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= 0;
12858 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12859 wxLayoutOrientation arg2
;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char * kwnames
[] = {
12867 (char *) "self",(char *) "orientation", NULL
12870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12872 if (!SWIG_IsOK(res1
)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12875 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12877 if (!SWIG_IsOK(ecode2
)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12880 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 (arg1
)->SetOrientation(arg2
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_Py_Void();
12894 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12898 return SWIG_Py_Void();
12901 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12902 return SWIG_Python_InitShadowInstance(args
);
12905 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxLayoutAlgorithm
*result
= 0 ;
12909 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12923 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12924 PyObject
*resultobj
= 0;
12925 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12928 PyObject
*swig_obj
[1] ;
12930 if (!args
) SWIG_fail
;
12931 swig_obj
[0] = args
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12936 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_Py_Void();
12951 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
= 0;
12953 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12954 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12955 wxRect
*arg3
= (wxRect
*) NULL
;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 char * kwnames
[] = {
12967 (char *) "self",(char *) "frame",(char *) "rect", NULL
12970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12972 if (!SWIG_IsOK(res1
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12975 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12977 if (!SWIG_IsOK(res2
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12980 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12982 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12983 if (!SWIG_IsOK(res3
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12986 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13003 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
= 0;
13005 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13006 wxFrame
*arg2
= (wxFrame
*) 0 ;
13007 wxWindow
*arg3
= (wxWindow
*) NULL
;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 char * kwnames
[] = {
13019 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13024 if (!SWIG_IsOK(res1
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13027 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13029 if (!SWIG_IsOK(res2
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13032 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13034 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13035 if (!SWIG_IsOK(res3
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13038 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13055 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13058 wxWindow
*arg2
= (wxWindow
*) 0 ;
13059 wxWindow
*arg3
= (wxWindow
*) NULL
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 PyObject
* obj2
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13079 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13081 if (!SWIG_IsOK(res2
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13086 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13087 if (!SWIG_IsOK(res3
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13090 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13110 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13111 return SWIG_Py_Void();
13114 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13115 return SWIG_Python_InitShadowInstance(args
);
13118 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxWindow
*arg1
= (wxWindow
*) 0 ;
13121 int arg2
= (int) wxBORDER_NONE
;
13122 wxPopupWindow
*result
= 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char * kwnames
[] = {
13130 (char *) "parent",(char *) "flags", NULL
13133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13135 if (!SWIG_IsOK(res1
)) {
13136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13141 if (!SWIG_IsOK(ecode2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13144 arg2
= static_cast< int >(val2
);
13147 if (!wxPyCheckForApp()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13160 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 PyObject
*resultobj
= 0;
13162 wxPopupWindow
*result
= 0 ;
13164 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13166 if (!wxPyCheckForApp()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (wxPopupWindow
*)new wxPopupWindow();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13179 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13182 wxWindow
*arg2
= (wxWindow
*) 0 ;
13183 int arg3
= (int) wxBORDER_NONE
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "parent",(char *) "flags", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13203 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13205 if (!SWIG_IsOK(res2
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13211 if (!SWIG_IsOK(ecode3
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13214 arg3
= static_cast< int >(val3
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= 0;
13233 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13234 wxPoint
*arg2
= 0 ;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 PyObject
* obj2
= 0 ;
13243 char * kwnames
[] = {
13244 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13249 if (!SWIG_IsOK(res1
)) {
13250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13252 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13259 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_Py_Void();
13274 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13278 return SWIG_Py_Void();
13281 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13282 return SWIG_Python_InitShadowInstance(args
);
13285 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
= 0;
13287 wxWindow
*arg1
= (wxWindow
*) 0 ;
13288 int arg2
= (int) wxBORDER_NONE
;
13289 wxPyPopupTransientWindow
*result
= 0 ;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char * kwnames
[] = {
13297 (char *) "parent",(char *) "style", NULL
13300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13308 if (!SWIG_IsOK(ecode2
)) {
13309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13311 arg2
= static_cast< int >(val2
);
13314 if (!wxPyCheckForApp()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13327 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13329 wxPyPopupTransientWindow
*result
= 0 ;
13331 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13333 if (!wxPyCheckForApp()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13346 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13349 PyObject
*arg2
= (PyObject
*) 0 ;
13350 PyObject
*arg3
= (PyObject
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 PyObject
* obj2
= 0 ;
13356 char * kwnames
[] = {
13357 (char *) "self",(char *) "self",(char *) "_class", NULL
13360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13365 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13384 wxWindow
*arg2
= (wxWindow
*) NULL
;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 char * kwnames
[] = {
13392 (char *) "self",(char *) "focus", NULL
13395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13400 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13403 if (!SWIG_IsOK(res2
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->Popup(arg2
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13426 PyObject
*swig_obj
[1] ;
13428 if (!args
) SWIG_fail
;
13429 swig_obj
[0] = args
;
13430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13431 if (!SWIG_IsOK(res1
)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13434 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_Py_Void();
13448 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13452 return SWIG_Py_Void();
13455 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13456 return SWIG_Python_InitShadowInstance(args
);
13459 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxWindow
*arg1
= (wxWindow
*) 0 ;
13462 wxString
*arg2
= 0 ;
13463 int arg3
= (int) 100 ;
13464 wxRect
*arg4
= (wxRect
*) NULL
;
13465 wxTipWindow
*result
= 0 ;
13468 bool temp2
= false ;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 PyObject
* obj2
= 0 ;
13476 PyObject
* obj3
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13483 if (!SWIG_IsOK(res1
)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13494 if (!SWIG_IsOK(ecode3
)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13497 arg3
= static_cast< int >(val3
);
13500 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13501 if (!SWIG_IsOK(res4
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13504 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13507 if (!wxPyCheckForApp()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13528 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
= 0;
13530 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char * kwnames
[] = {
13538 (char *) "self",(char *) "rectBound", NULL
13541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13546 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13549 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_Py_Void();
13564 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13565 PyObject
*resultobj
= 0;
13566 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13569 PyObject
*swig_obj
[1] ;
13571 if (!args
) SWIG_fail
;
13572 swig_obj
[0] = args
;
13573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13574 if (!SWIG_IsOK(res1
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13577 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_Py_Void();
13591 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13595 return SWIG_Py_Void();
13598 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 return SWIG_Python_InitShadowInstance(args
);
13602 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxWindow
*arg1
= (wxWindow
*) 0 ;
13605 int arg2
= (int) wxID_ANY
;
13606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13610 long arg5
= (long) 0 ;
13611 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13613 wxPyVScrolledWindow
*result
= 0 ;
13622 bool temp6
= false ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 PyObject
* obj3
= 0 ;
13627 PyObject
* obj4
= 0 ;
13628 PyObject
* obj5
= 0 ;
13629 char * kwnames
[] = {
13630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13635 if (!SWIG_IsOK(res1
)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13641 if (!SWIG_IsOK(ecode2
)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13644 arg2
= static_cast< int >(val2
);
13649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13655 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13659 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13660 if (!SWIG_IsOK(ecode5
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13663 arg5
= static_cast< long >(val5
);
13667 arg6
= wxString_in_helper(obj5
);
13668 if (arg6
== NULL
) SWIG_fail
;
13673 if (!wxPyCheckForApp()) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13694 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13695 PyObject
*resultobj
= 0;
13696 wxPyVScrolledWindow
*result
= 0 ;
13698 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13700 if (!wxPyCheckForApp()) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13713 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
= 0;
13715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13716 PyObject
*arg2
= (PyObject
*) 0 ;
13717 PyObject
*arg3
= (PyObject
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "self",(char *) "_class", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13732 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13751 wxWindow
*arg2
= (wxWindow
*) 0 ;
13752 int arg3
= (int) wxID_ANY
;
13753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13757 long arg6
= (long) 0 ;
13758 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13771 bool temp7
= false ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 PyObject
* obj3
= 0 ;
13776 PyObject
* obj4
= 0 ;
13777 PyObject
* obj5
= 0 ;
13778 PyObject
* obj6
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13788 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13789 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13790 if (!SWIG_IsOK(res2
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13793 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13796 if (!SWIG_IsOK(ecode3
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13799 arg3
= static_cast< int >(val3
);
13804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13814 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13815 if (!SWIG_IsOK(ecode6
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13818 arg6
= static_cast< long >(val6
);
13822 arg7
= wxString_in_helper(obj6
);
13823 if (arg7
== NULL
) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13850 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char * kwnames
[] = {
13861 (char *) "self",(char *) "count", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13869 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13871 if (!SWIG_IsOK(ecode2
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13874 arg2
= static_cast< size_t >(val2
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetLineCount(arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
= 0;
13890 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "self",(char *) "line", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13905 if (!SWIG_IsOK(res1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13908 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13909 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13910 if (!SWIG_IsOK(ecode2
)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13913 arg2
= static_cast< size_t >(val2
);
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13929 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "self",(char *) "line", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13945 if (!SWIG_IsOK(res1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13948 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13949 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13950 if (!SWIG_IsOK(ecode2
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13953 arg2
= static_cast< size_t >(val2
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->RefreshLine(arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_Py_Void();
13967 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
= 0;
13969 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 char * kwnames
[] = {
13982 (char *) "self",(char *) "from",(char *) "to", NULL
13985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13990 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13991 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13992 if (!SWIG_IsOK(ecode2
)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13995 arg2
= static_cast< size_t >(val2
);
13996 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13997 if (!SWIG_IsOK(ecode3
)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14000 arg3
= static_cast< size_t >(val3
);
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 (arg1
)->RefreshLines(arg2
,arg3
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14016 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "self",(char *) "x",(char *) "y", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14038 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14040 if (!SWIG_IsOK(ecode2
)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14043 arg2
= static_cast< int >(val2
);
14044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14045 if (!SWIG_IsOK(ecode3
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14048 arg3
= static_cast< int >(val3
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_int(static_cast< int >(result
));
14062 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
= 0;
14064 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14065 wxPoint
*arg2
= 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "self",(char *) "pt", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14081 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_From_int(static_cast< int >(result
));
14099 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14112 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 (arg1
)->RefreshAll();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_Py_Void();
14126 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14140 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14154 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14168 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14182 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14188 PyObject
*swig_obj
[1] ;
14190 if (!args
) SWIG_fail
;
14191 swig_obj
[0] = args
;
14192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14193 if (!SWIG_IsOK(res1
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14196 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14210 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14219 PyObject
* obj0
= 0 ;
14220 PyObject
* obj1
= 0 ;
14221 char * kwnames
[] = {
14222 (char *) "self",(char *) "line", NULL
14225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14230 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14232 if (!SWIG_IsOK(ecode2
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14235 arg2
= static_cast< size_t >(val2
);
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 PyObject
*resultobj
= 0;
14253 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14257 PyObject
*swig_obj
[1] ;
14259 if (!args
) SWIG_fail
;
14260 swig_obj
[0] = args
;
14261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14262 if (!SWIG_IsOK(res1
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14265 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14279 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14280 PyObject
*resultobj
= 0;
14281 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14285 PyObject
*swig_obj
[1] ;
14287 if (!args
) SWIG_fail
;
14288 swig_obj
[0] = args
;
14289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14293 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14307 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
= 0;
14309 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14311 bool arg3
= (bool) false ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 PyObject
* obj2
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14331 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14332 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14333 if (!SWIG_IsOK(ecode2
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14336 arg2
= static_cast< size_t >(val2
);
14338 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14339 if (!SWIG_IsOK(ecode3
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14342 arg3
= static_cast< bool >(val3
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14357 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 PyObject
* obj2
= 0 ;
14372 char * kwnames
[] = {
14373 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14378 if (!SWIG_IsOK(res1
)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14381 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14383 if (!SWIG_IsOK(ecode2
)) {
14384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14386 arg2
= static_cast< size_t >(val2
);
14387 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14388 if (!SWIG_IsOK(ecode3
)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14391 arg3
= static_cast< size_t >(val3
);
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_From_int(static_cast< int >(result
));
14405 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14409 return SWIG_Py_Void();
14412 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 return SWIG_Python_InitShadowInstance(args
);
14416 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14417 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14422 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14423 PyObject
*pyobj
= 0;
14427 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14429 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14436 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= 0;
14438 wxWindow
*arg1
= (wxWindow
*) 0 ;
14439 int arg2
= (int) wxID_ANY
;
14440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14444 long arg5
= (long) 0 ;
14445 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14447 wxPyVListBox
*result
= 0 ;
14456 bool temp6
= false ;
14457 PyObject
* obj0
= 0 ;
14458 PyObject
* obj1
= 0 ;
14459 PyObject
* obj2
= 0 ;
14460 PyObject
* obj3
= 0 ;
14461 PyObject
* obj4
= 0 ;
14462 PyObject
* obj5
= 0 ;
14463 char * kwnames
[] = {
14464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14472 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14475 if (!SWIG_IsOK(ecode2
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14478 arg2
= static_cast< int >(val2
);
14483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14493 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14494 if (!SWIG_IsOK(ecode5
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14497 arg5
= static_cast< long >(val5
);
14501 arg6
= wxString_in_helper(obj5
);
14502 if (arg6
== NULL
) SWIG_fail
;
14507 if (!wxPyCheckForApp()) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14528 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxPyVListBox
*result
= 0 ;
14532 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14534 if (!wxPyCheckForApp()) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxPyVListBox
*)new wxPyVListBox();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14547 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
= 0;
14549 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14550 PyObject
*arg2
= (PyObject
*) 0 ;
14551 PyObject
*arg3
= (PyObject
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 PyObject
* obj1
= 0 ;
14556 PyObject
* obj2
= 0 ;
14557 char * kwnames
[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14566 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_Py_Void();
14582 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
= 0;
14584 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14585 wxWindow
*arg2
= (wxWindow
*) 0 ;
14586 int arg3
= (int) wxID_ANY
;
14587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14591 long arg6
= (long) 0 ;
14592 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14605 bool temp7
= false ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 PyObject
* obj2
= 0 ;
14609 PyObject
* obj3
= 0 ;
14610 PyObject
* obj4
= 0 ;
14611 PyObject
* obj5
= 0 ;
14612 PyObject
* obj6
= 0 ;
14613 char * kwnames
[] = {
14614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14622 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14624 if (!SWIG_IsOK(res2
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14630 if (!SWIG_IsOK(ecode3
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14633 arg3
= static_cast< int >(val3
);
14638 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14644 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14648 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14649 if (!SWIG_IsOK(ecode6
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14652 arg6
= static_cast< long >(val6
);
14656 arg7
= wxString_in_helper(obj6
);
14657 if (arg7
== NULL
) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14684 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14698 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14712 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 PyObject
*resultobj
= 0;
14714 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14718 PyObject
*swig_obj
[1] ;
14720 if (!args
) SWIG_fail
;
14721 swig_obj
[0] = args
;
14722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14726 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14742 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14743 PyObject
*resultobj
= 0;
14744 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14748 PyObject
*swig_obj
[1] ;
14750 if (!args
) SWIG_fail
;
14751 swig_obj
[0] = args
;
14752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14753 if (!SWIG_IsOK(res1
)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14756 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= SWIG_From_int(static_cast< int >(result
));
14770 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
= 0;
14772 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "self",(char *) "item", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14790 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14791 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14792 if (!SWIG_IsOK(ecode2
)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14795 arg2
= static_cast< size_t >(val2
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14811 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
= 0;
14813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char * kwnames
[] = {
14823 (char *) "self",(char *) "item", NULL
14826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14831 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14832 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14833 if (!SWIG_IsOK(ecode2
)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14836 arg2
= static_cast< size_t >(val2
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14866 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14880 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14883 PyObject
*result
= 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= result
;
14908 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 unsigned long arg2
;
14912 PyObject
*result
= 0 ;
14915 unsigned long val2
;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "cookie", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14928 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14929 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14933 arg2
= static_cast< unsigned long >(val2
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
;
14947 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14961 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14975 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14976 PyObject
*resultobj
= 0;
14977 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14978 wxColour
*result
= 0 ;
14981 PyObject
*swig_obj
[1] ;
14983 if (!args
) SWIG_fail
;
14984 swig_obj
[0] = args
;
14985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14986 if (!SWIG_IsOK(res1
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14989 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14994 result
= (wxColour
*) &_result_ref
;
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15006 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
= 0;
15008 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char * kwnames
[] = {
15017 (char *) "self",(char *) "count", NULL
15020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15025 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15027 if (!SWIG_IsOK(ecode2
)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15030 arg2
= static_cast< size_t >(val2
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->SetItemCount(arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_Py_Void();
15044 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 PyObject
*resultobj
= 0;
15046 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 PyObject
*swig_obj
[1] ;
15051 if (!args
) SWIG_fail
;
15052 swig_obj
[0] = args
;
15053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15057 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "selection", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15090 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15092 if (!SWIG_IsOK(ecode2
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15095 arg2
= static_cast< int >(val2
);
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->SetSelection(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_Py_Void();
15109 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15113 bool arg3
= (bool) true ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "self",(char *) "item",(char *) "select", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15133 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15134 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15135 if (!SWIG_IsOK(ecode2
)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15138 arg2
= static_cast< size_t >(val2
);
15140 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15141 if (!SWIG_IsOK(ecode3
)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15144 arg3
= static_cast< bool >(val3
);
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15161 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
= 0;
15163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 PyObject
* obj2
= 0 ;
15176 char * kwnames
[] = {
15177 (char *) "self",(char *) "from",(char *) "to", NULL
15180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15182 if (!SWIG_IsOK(res1
)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15185 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15186 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15190 arg2
= static_cast< size_t >(val2
);
15191 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15192 if (!SWIG_IsOK(ecode3
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15195 arg3
= static_cast< size_t >(val3
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "self",(char *) "item", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15230 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15231 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15232 if (!SWIG_IsOK(ecode2
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15235 arg2
= static_cast< size_t >(val2
);
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->Toggle(arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_Py_Void();
15249 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 PyObject
*resultobj
= 0;
15251 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15255 PyObject
*swig_obj
[1] ;
15257 if (!args
) SWIG_fail
;
15258 swig_obj
[0] = args
;
15259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15263 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)(arg1
)->SelectAll();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15279 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15285 PyObject
*swig_obj
[1] ;
15287 if (!args
) SWIG_fail
;
15288 swig_obj
[0] = args
;
15289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15293 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (bool)(arg1
)->DeselectAll();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
= 0;
15311 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15312 wxPoint
*arg2
= 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 char * kwnames
[] = {
15319 (char *) "self",(char *) "pt", NULL
15322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15327 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_Py_Void();
15345 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
= 0;
15347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 char * kwnames
[] = {
15360 (char *) "self",(char *) "x",(char *) "y", NULL
15363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15368 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15370 if (!SWIG_IsOK(ecode2
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15373 arg2
= static_cast< int >(val2
);
15374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15375 if (!SWIG_IsOK(ecode3
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15378 arg3
= static_cast< int >(val3
);
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 (arg1
)->SetMargins(arg2
,arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15392 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15395 wxColour
*arg2
= 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char * kwnames
[] = {
15402 (char *) "self",(char *) "col", NULL
15405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15407 if (!SWIG_IsOK(res1
)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15410 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_Py_Void();
15428 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15429 PyObject
*resultobj
= 0;
15430 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 PyObject
* obj3
= 0 ;
15445 char * kwnames
[] = {
15446 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15454 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15456 if (!SWIG_IsOK(res2
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15462 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15465 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15467 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15468 if (!SWIG_IsOK(ecode4
)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15471 arg4
= static_cast< size_t >(val4
);
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_Py_Void();
15485 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
= 0;
15487 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 PyObject
* obj2
= 0 ;
15501 PyObject
* obj3
= 0 ;
15502 char * kwnames
[] = {
15503 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15511 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15513 if (!SWIG_IsOK(res2
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15519 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15522 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15524 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15525 if (!SWIG_IsOK(ecode4
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15528 arg4
= static_cast< size_t >(val4
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_Py_Void();
15542 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15546 return SWIG_Py_Void();
15549 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15550 return SWIG_Python_InitShadowInstance(args
);
15553 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= 0;
15555 wxWindow
*arg1
= (wxWindow
*) 0 ;
15556 int arg2
= (int) wxID_ANY
;
15557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15561 long arg5
= (long) 0 ;
15562 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15564 wxPyHtmlListBox
*result
= 0 ;
15573 bool temp6
= false ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 PyObject
* obj4
= 0 ;
15579 PyObject
* obj5
= 0 ;
15580 char * kwnames
[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15586 if (!SWIG_IsOK(res1
)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15592 if (!SWIG_IsOK(ecode2
)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15595 arg2
= static_cast< int >(val2
);
15600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15611 if (!SWIG_IsOK(ecode5
)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15614 arg5
= static_cast< long >(val5
);
15618 arg6
= wxString_in_helper(obj5
);
15619 if (arg6
== NULL
) SWIG_fail
;
15624 if (!wxPyCheckForApp()) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15645 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15646 PyObject
*resultobj
= 0;
15647 wxPyHtmlListBox
*result
= 0 ;
15649 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15651 if (!wxPyCheckForApp()) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15664 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15667 PyObject
*arg2
= (PyObject
*) 0 ;
15668 PyObject
*arg3
= (PyObject
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15683 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= SWIG_Py_Void();
15699 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= 0;
15701 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15702 wxWindow
*arg2
= (wxWindow
*) 0 ;
15703 int arg3
= (int) wxID_ANY
;
15704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15708 long arg6
= (long) 0 ;
15709 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15722 bool temp7
= false ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 PyObject
* obj3
= 0 ;
15727 PyObject
* obj4
= 0 ;
15728 PyObject
* obj5
= 0 ;
15729 PyObject
* obj6
= 0 ;
15730 char * kwnames
[] = {
15731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15739 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15741 if (!SWIG_IsOK(res2
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15747 if (!SWIG_IsOK(ecode3
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15750 arg3
= static_cast< int >(val3
);
15755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15766 if (!SWIG_IsOK(ecode6
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15769 arg6
= static_cast< long >(val6
);
15773 arg7
= wxString_in_helper(obj6
);
15774 if (arg7
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
= 0;
15803 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 char * kwnames
[] = {
15812 (char *) "self",(char *) "count", NULL
15815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15817 if (!SWIG_IsOK(res1
)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15820 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15821 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15822 if (!SWIG_IsOK(ecode2
)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15825 arg2
= static_cast< size_t >(val2
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 (arg1
)->SetItemCount(arg2
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15842 wxFileSystem
*result
= 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15853 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15858 result
= (wxFileSystem
*) &_result_ref
;
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15870 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
= 0;
15872 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15874 wxHtmlLinkInfo
*arg3
= 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 PyObject
* obj2
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "n",(char *) "link", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15893 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15894 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15895 if (!SWIG_IsOK(ecode2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15898 arg2
= static_cast< size_t >(val2
);
15899 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15900 if (!SWIG_IsOK(res3
)) {
15901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15906 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_Py_Void();
15920 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15924 return SWIG_Py_Void();
15927 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15928 return SWIG_Python_InitShadowInstance(args
);
15931 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 PyObject
*resultobj
= 0;
15933 wxPyTaskBarIcon
*result
= 0 ;
15935 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15937 if (!wxPyCheckForApp()) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15950 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15952 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15955 PyObject
*swig_obj
[1] ;
15957 if (!args
) SWIG_fail
;
15958 swig_obj
[0] = args
;
15959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15963 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= SWIG_Py_Void();
15978 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
= 0;
15980 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15981 PyObject
*arg2
= (PyObject
*) 0 ;
15982 PyObject
*arg3
= (PyObject
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 PyObject
* obj2
= 0 ;
15991 PyObject
* obj3
= 0 ;
15992 char * kwnames
[] = {
15993 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15998 if (!SWIG_IsOK(res1
)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16001 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16005 if (!SWIG_IsOK(ecode4
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16008 arg4
= static_cast< int >(val4
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_Py_Void();
16022 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16023 PyObject
*resultobj
= 0;
16024 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16027 PyObject
*swig_obj
[1] ;
16029 if (!args
) SWIG_fail
;
16030 swig_obj
[0] = args
;
16031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16035 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 wxPyTaskBarIcon_Destroy(arg1
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_Py_Void();
16049 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16055 PyObject
*swig_obj
[1] ;
16057 if (!args
) SWIG_fail
;
16058 swig_obj
[0] = args
;
16059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16063 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 PyObject
*resultobj
= 0;
16081 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16085 PyObject
*swig_obj
[1] ;
16087 if (!args
) SWIG_fail
;
16088 swig_obj
[0] = args
;
16089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16093 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16111 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16120 bool temp3
= false ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 PyObject
* obj2
= 0 ;
16124 char * kwnames
[] = {
16125 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16130 if (!SWIG_IsOK(res1
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16133 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16135 if (!SWIG_IsOK(res2
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16141 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16144 arg3
= wxString_in_helper(obj2
);
16145 if (arg3
== NULL
) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16173 PyObject
*resultobj
= 0;
16174 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16178 PyObject
*swig_obj
[1] ;
16180 if (!args
) SWIG_fail
;
16181 swig_obj
[0] = args
;
16182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16183 if (!SWIG_IsOK(res1
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16186 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (bool)(arg1
)->RemoveIcon();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16205 wxMenu
*arg2
= (wxMenu
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char * kwnames
[] = {
16214 (char *) "self",(char *) "menu", NULL
16217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16219 if (!SWIG_IsOK(res1
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16222 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16224 if (!SWIG_IsOK(res2
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16227 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (bool)(arg1
)->PopupMenu(arg2
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16243 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16247 return SWIG_Py_Void();
16250 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16251 return SWIG_Python_InitShadowInstance(args
);
16254 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
= 0;
16257 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16258 wxTaskBarIconEvent
*result
= 0 ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 char * kwnames
[] = {
16266 (char *) "evtType",(char *) "tbIcon", NULL
16269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16271 if (!SWIG_IsOK(ecode1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16274 arg1
= static_cast< wxEventType
>(val1
);
16275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16276 if (!SWIG_IsOK(res2
)) {
16277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16279 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16293 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16297 return SWIG_Py_Void();
16300 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 return SWIG_Python_InitShadowInstance(args
);
16304 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16305 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16310 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16311 PyObject
*pyobj
= 0;
16315 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16317 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16324 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16325 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16330 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16331 PyObject
*pyobj
= 0;
16335 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16337 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16344 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16345 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16350 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16351 PyObject
*pyobj
= 0;
16355 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16357 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16364 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16365 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16370 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16371 PyObject
*pyobj
= 0;
16375 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16377 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16384 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16385 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16390 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16391 PyObject
*pyobj
= 0;
16395 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16397 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16404 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16405 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16410 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16411 PyObject
*pyobj
= 0;
16415 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16417 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16424 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16425 PyObject
*resultobj
= 0;
16426 wxColourData
*result
= 0 ;
16428 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (wxColourData
*)new wxColourData();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16442 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16443 PyObject
*resultobj
= 0;
16444 wxColourData
*arg1
= (wxColourData
*) 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16455 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_Py_Void();
16470 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxColourData
*arg1
= (wxColourData
*) 0 ;
16476 PyObject
*swig_obj
[1] ;
16478 if (!args
) SWIG_fail
;
16479 swig_obj
[0] = args
;
16480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16484 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 result
= (bool)(arg1
)->GetChooseFull();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16501 PyObject
*resultobj
= 0;
16502 wxColourData
*arg1
= (wxColourData
*) 0 ;
16506 PyObject
*swig_obj
[1] ;
16508 if (!args
) SWIG_fail
;
16509 swig_obj
[0] = args
;
16510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16511 if (!SWIG_IsOK(res1
)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16514 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (arg1
)->GetColour();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16528 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
= 0;
16530 wxColourData
*arg1
= (wxColourData
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "self",(char *) "i", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16548 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16550 if (!SWIG_IsOK(ecode2
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16553 arg2
= static_cast< int >(val2
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (arg1
)->GetCustomColour(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16567 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
= 0;
16569 wxColourData
*arg1
= (wxColourData
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char * kwnames
[] = {
16578 (char *) "self",(char *) "flag", NULL
16581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16583 if (!SWIG_IsOK(res1
)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16586 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16588 if (!SWIG_IsOK(ecode2
)) {
16589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16591 arg2
= static_cast< int >(val2
);
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 (arg1
)->SetChooseFull(arg2
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_Py_Void();
16605 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxColourData
*arg1
= (wxColourData
*) 0 ;
16608 wxColour
*arg2
= 0 ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "colour", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16623 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 (arg1
)->SetColour((wxColour
const &)*arg2
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_Py_Void();
16641 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxColourData
*arg1
= (wxColourData
*) 0 ;
16645 wxColour
*arg3
= 0 ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 PyObject
* obj2
= 0 ;
16654 char * kwnames
[] = {
16655 (char *) "self",(char *) "i",(char *) "colour", NULL
16658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16663 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16665 if (!SWIG_IsOK(ecode2
)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16668 arg2
= static_cast< int >(val2
);
16671 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_Py_Void();
16686 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16690 return SWIG_Py_Void();
16693 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 return SWIG_Python_InitShadowInstance(args
);
16697 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= 0;
16699 wxWindow
*arg1
= (wxWindow
*) 0 ;
16700 wxColourData
*arg2
= (wxColourData
*) NULL
;
16701 wxColourDialog
*result
= 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char * kwnames
[] = {
16709 (char *) "parent",(char *) "data", NULL
16712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16714 if (!SWIG_IsOK(res1
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16720 if (!SWIG_IsOK(res2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16723 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16726 if (!wxPyCheckForApp()) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16739 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16740 PyObject
*resultobj
= 0;
16741 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16742 wxColourData
*result
= 0 ;
16745 PyObject
*swig_obj
[1] ;
16747 if (!args
) SWIG_fail
;
16748 swig_obj
[0] = args
;
16749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16753 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16758 result
= (wxColourData
*) &_result_ref
;
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16770 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16774 return SWIG_Py_Void();
16777 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16778 return SWIG_Python_InitShadowInstance(args
);
16781 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
= 0;
16783 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16784 wxColour
const &arg2_defvalue
= wxNullColour
;
16785 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16792 bool temp3
= false ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 PyObject
* obj2
= 0 ;
16796 char * kwnames
[] = {
16797 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16803 if (!SWIG_IsOK(res1
)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16816 arg3
= wxString_in_helper(obj2
);
16817 if (arg3
== NULL
) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16842 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxWindow
*arg1
= (wxWindow
*) 0 ;
16845 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16849 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16852 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16853 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16854 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16856 wxDirDialog
*result
= 0 ;
16859 bool temp2
= false ;
16860 bool temp3
= false ;
16865 bool temp7
= false ;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 PyObject
* obj2
= 0 ;
16869 PyObject
* obj3
= 0 ;
16870 PyObject
* obj4
= 0 ;
16871 PyObject
* obj5
= 0 ;
16872 PyObject
* obj6
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16885 arg2
= wxString_in_helper(obj1
);
16886 if (arg2
== NULL
) SWIG_fail
;
16892 arg3
= wxString_in_helper(obj2
);
16893 if (arg3
== NULL
) SWIG_fail
;
16898 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16899 if (!SWIG_IsOK(ecode4
)) {
16900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16902 arg4
= static_cast< long >(val4
);
16907 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16913 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16918 arg7
= wxString_in_helper(obj6
);
16919 if (arg7
== NULL
) SWIG_fail
;
16924 if (!wxPyCheckForApp()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16961 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16962 PyObject
*resultobj
= 0;
16963 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16967 PyObject
*swig_obj
[1] ;
16969 if (!args
) SWIG_fail
;
16970 swig_obj
[0] = args
;
16971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16975 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (arg1
)->GetPath();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16995 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16996 PyObject
*resultobj
= 0;
16997 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17001 PyObject
*swig_obj
[1] ;
17003 if (!args
) SWIG_fail
;
17004 swig_obj
[0] = args
;
17005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17006 if (!SWIG_IsOK(res1
)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17009 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (arg1
)->GetMessage();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17029 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
= 0;
17031 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17032 wxString
*arg2
= 0 ;
17035 bool temp2
= false ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char * kwnames
[] = {
17039 (char *) "self",(char *) "message", NULL
17042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17044 if (!SWIG_IsOK(res1
)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17047 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17049 arg2
= wxString_in_helper(obj1
);
17050 if (arg2
== NULL
) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17055 (arg1
)->SetMessage((wxString
const &)*arg2
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= SWIG_Py_Void();
17074 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
= 0;
17076 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17077 wxString
*arg2
= 0 ;
17080 bool temp2
= false ;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 char * kwnames
[] = {
17084 (char *) "self",(char *) "path", NULL
17087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17089 if (!SWIG_IsOK(res1
)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17092 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17094 arg2
= wxString_in_helper(obj1
);
17095 if (arg2
== NULL
) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 (arg1
)->SetPath((wxString
const &)*arg2
);
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_Py_Void();
17119 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17122 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17123 return SWIG_Py_Void();
17126 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17127 return SWIG_Python_InitShadowInstance(args
);
17130 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxWindow
*arg1
= (wxWindow
*) 0 ;
17133 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17134 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17137 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17138 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17139 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17140 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17141 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17142 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17143 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17144 wxFileDialog
*result
= 0 ;
17147 bool temp2
= false ;
17148 bool temp3
= false ;
17149 bool temp4
= false ;
17150 bool temp5
= false ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 PyObject
* obj3
= 0 ;
17158 PyObject
* obj4
= 0 ;
17159 PyObject
* obj5
= 0 ;
17160 PyObject
* obj6
= 0 ;
17161 char * kwnames
[] = {
17162 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17167 if (!SWIG_IsOK(res1
)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17173 arg2
= wxString_in_helper(obj1
);
17174 if (arg2
== NULL
) SWIG_fail
;
17180 arg3
= wxString_in_helper(obj2
);
17181 if (arg3
== NULL
) SWIG_fail
;
17187 arg4
= wxString_in_helper(obj3
);
17188 if (arg4
== NULL
) SWIG_fail
;
17194 arg5
= wxString_in_helper(obj4
);
17195 if (arg5
== NULL
) SWIG_fail
;
17200 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17201 if (!SWIG_IsOK(ecode6
)) {
17202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17204 arg6
= static_cast< long >(val6
);
17209 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17213 if (!wxPyCheckForApp()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17258 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
= 0;
17260 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17261 wxString
*arg2
= 0 ;
17264 bool temp2
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 char * kwnames
[] = {
17268 (char *) "self",(char *) "message", NULL
17271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17273 if (!SWIG_IsOK(res1
)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17276 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17278 arg2
= wxString_in_helper(obj1
);
17279 if (arg2
== NULL
) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 (arg1
)->SetMessage((wxString
const &)*arg2
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17306 wxString
*arg2
= 0 ;
17309 bool temp2
= false ;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char * kwnames
[] = {
17313 (char *) "self",(char *) "path", NULL
17316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17318 if (!SWIG_IsOK(res1
)) {
17319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17321 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17323 arg2
= wxString_in_helper(obj1
);
17324 if (arg2
== NULL
) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 (arg1
)->SetPath((wxString
const &)*arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_Py_Void();
17348 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
= 0;
17350 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17351 wxString
*arg2
= 0 ;
17354 bool temp2
= false ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char * kwnames
[] = {
17358 (char *) "self",(char *) "dir", NULL
17361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17363 if (!SWIG_IsOK(res1
)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17366 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17368 arg2
= wxString_in_helper(obj1
);
17369 if (arg2
== NULL
) SWIG_fail
;
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_Py_Void();
17393 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17396 wxString
*arg2
= 0 ;
17399 bool temp2
= false ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 char * kwnames
[] = {
17403 (char *) "self",(char *) "name", NULL
17406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17408 if (!SWIG_IsOK(res1
)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17411 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17413 arg2
= wxString_in_helper(obj1
);
17414 if (arg2
== NULL
) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->SetFilename((wxString
const &)*arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_Py_Void();
17438 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
= 0;
17440 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17441 wxString
*arg2
= 0 ;
17444 bool temp2
= false ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "wildCard", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17456 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17458 arg2
= wxString_in_helper(obj1
);
17459 if (arg2
== NULL
) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_Py_Void();
17483 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
= 0;
17485 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "self",(char *) "filterIndex", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17502 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17504 if (!SWIG_IsOK(ecode2
)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17507 arg2
= static_cast< int >(val2
);
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 (arg1
)->SetFilterIndex(arg2
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_Py_Void();
17521 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 PyObject
*resultobj
= 0;
17523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17527 PyObject
*swig_obj
[1] ;
17529 if (!args
) SWIG_fail
;
17530 swig_obj
[0] = args
;
17531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17535 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17555 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17556 PyObject
*resultobj
= 0;
17557 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17561 PyObject
*swig_obj
[1] ;
17563 if (!args
) SWIG_fail
;
17564 swig_obj
[0] = args
;
17565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17569 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17589 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 PyObject
*resultobj
= 0;
17591 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17595 PyObject
*swig_obj
[1] ;
17597 if (!args
) SWIG_fail
;
17598 swig_obj
[0] = args
;
17599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17600 if (!SWIG_IsOK(res1
)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17603 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17623 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17629 PyObject
*swig_obj
[1] ;
17631 if (!args
) SWIG_fail
;
17632 swig_obj
[0] = args
;
17633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17634 if (!SWIG_IsOK(res1
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17637 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17657 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17658 PyObject
*resultobj
= 0;
17659 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17663 PyObject
*swig_obj
[1] ;
17665 if (!args
) SWIG_fail
;
17666 swig_obj
[0] = args
;
17667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17671 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17691 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17692 PyObject
*resultobj
= 0;
17693 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17697 PyObject
*swig_obj
[1] ;
17699 if (!args
) SWIG_fail
;
17700 swig_obj
[0] = args
;
17701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17705 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_From_int(static_cast< int >(result
));
17719 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17720 PyObject
*resultobj
= 0;
17721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17722 PyObject
*result
= 0 ;
17725 PyObject
*swig_obj
[1] ;
17727 if (!args
) SWIG_fail
;
17728 swig_obj
[0] = args
;
17729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17733 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
;
17747 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17748 PyObject
*resultobj
= 0;
17749 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17750 PyObject
*result
= 0 ;
17753 PyObject
*swig_obj
[1] ;
17755 if (!args
) SWIG_fail
;
17756 swig_obj
[0] = args
;
17757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17758 if (!SWIG_IsOK(res1
)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17761 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
;
17775 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17778 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17779 return SWIG_Py_Void();
17782 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17783 return SWIG_Python_InitShadowInstance(args
);
17786 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
= 0;
17788 wxWindow
*arg1
= (wxWindow
*) 0 ;
17789 wxString
*arg2
= 0 ;
17790 wxString
*arg3
= 0 ;
17791 int arg4
= (int) 0 ;
17792 wxString
*arg5
= (wxString
*) NULL
;
17793 long arg6
= (long) wxCHOICEDLG_STYLE
;
17794 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17795 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17796 wxMultiChoiceDialog
*result
= 0 ;
17799 bool temp2
= false ;
17800 bool temp3
= false ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 PyObject
* obj2
= 0 ;
17807 PyObject
* obj3
= 0 ;
17808 PyObject
* obj4
= 0 ;
17809 PyObject
* obj5
= 0 ;
17810 char * kwnames
[] = {
17811 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17821 arg2
= wxString_in_helper(obj1
);
17822 if (arg2
== NULL
) SWIG_fail
;
17826 arg3
= wxString_in_helper(obj2
);
17827 if (arg3
== NULL
) SWIG_fail
;
17832 arg4
= PyList_Size(obj3
);
17833 arg5
= wxString_LIST_helper(obj3
);
17834 if (arg5
== NULL
) SWIG_fail
;
17838 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17839 if (!SWIG_IsOK(ecode6
)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17842 arg6
= static_cast< long >(val6
);
17847 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17851 if (!wxPyCheckForApp()) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17867 if (arg5
) delete [] arg5
;
17880 if (arg5
) delete [] arg5
;
17886 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17889 wxArrayInt
*arg2
= 0 ;
17892 bool temp2
= false ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "selections", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17904 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17906 if (! PySequence_Check(obj1
)) {
17907 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17910 arg2
= new wxArrayInt
;
17912 int i
, len
=PySequence_Length(obj1
);
17913 for (i
=0; i
<len
; i
++) {
17914 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17915 PyObject
* number
= PyNumber_Int(item
);
17916 arg2
->Add(PyInt_AS_LONG(number
));
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_Py_Void();
17929 if (temp2
) delete arg2
;
17934 if (temp2
) delete arg2
;
17940 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17941 PyObject
*resultobj
= 0;
17942 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17943 PyObject
*result
= 0 ;
17946 PyObject
*swig_obj
[1] ;
17948 if (!args
) SWIG_fail
;
17949 swig_obj
[0] = args
;
17950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17951 if (!SWIG_IsOK(res1
)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17954 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= result
;
17968 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17971 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17972 return SWIG_Py_Void();
17975 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17976 return SWIG_Python_InitShadowInstance(args
);
17979 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxWindow
*arg1
= (wxWindow
*) 0 ;
17982 wxString
*arg2
= 0 ;
17983 wxString
*arg3
= 0 ;
17985 wxString
*arg5
= (wxString
*) 0 ;
17986 long arg6
= (long) wxCHOICEDLG_STYLE
;
17987 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17988 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17989 wxSingleChoiceDialog
*result
= 0 ;
17992 bool temp2
= false ;
17993 bool temp3
= false ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 PyObject
* obj3
= 0 ;
18001 PyObject
* obj4
= 0 ;
18002 PyObject
* obj5
= 0 ;
18003 char * kwnames
[] = {
18004 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18014 arg2
= wxString_in_helper(obj1
);
18015 if (arg2
== NULL
) SWIG_fail
;
18019 arg3
= wxString_in_helper(obj2
);
18020 if (arg3
== NULL
) SWIG_fail
;
18024 arg4
= PyList_Size(obj3
);
18025 arg5
= wxString_LIST_helper(obj3
);
18026 if (arg5
== NULL
) SWIG_fail
;
18029 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18030 if (!SWIG_IsOK(ecode6
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18033 arg6
= static_cast< long >(val6
);
18038 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18042 if (!wxPyCheckForApp()) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18058 if (arg5
) delete [] arg5
;
18071 if (arg5
) delete [] arg5
;
18077 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18078 PyObject
*resultobj
= 0;
18079 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18083 PyObject
*swig_obj
[1] ;
18085 if (!args
) SWIG_fail
;
18086 swig_obj
[0] = args
;
18087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18091 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 result
= (int)(arg1
)->GetSelection();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= SWIG_From_int(static_cast< int >(result
));
18105 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18106 PyObject
*resultobj
= 0;
18107 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18111 PyObject
*swig_obj
[1] ;
18113 if (!args
) SWIG_fail
;
18114 swig_obj
[0] = args
;
18115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18116 if (!SWIG_IsOK(res1
)) {
18117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18119 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (arg1
)->GetStringSelection();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18139 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 char * kwnames
[] = {
18150 (char *) "self",(char *) "sel", NULL
18153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18158 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18160 if (!SWIG_IsOK(ecode2
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18163 arg2
= static_cast< int >(val2
);
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetSelection(arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_Py_Void();
18177 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18180 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18181 return SWIG_Py_Void();
18184 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18185 return SWIG_Python_InitShadowInstance(args
);
18188 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
= 0;
18190 wxWindow
*arg1
= (wxWindow
*) 0 ;
18191 wxString
*arg2
= 0 ;
18192 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18193 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18194 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18195 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18196 long arg5
= (long) wxTextEntryDialogStyle
;
18197 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18198 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18199 wxTextEntryDialog
*result
= 0 ;
18202 bool temp2
= false ;
18203 bool temp3
= false ;
18204 bool temp4
= false ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 PyObject
* obj3
= 0 ;
18212 PyObject
* obj4
= 0 ;
18213 PyObject
* obj5
= 0 ;
18214 char * kwnames
[] = {
18215 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18225 arg2
= wxString_in_helper(obj1
);
18226 if (arg2
== NULL
) SWIG_fail
;
18231 arg3
= wxString_in_helper(obj2
);
18232 if (arg3
== NULL
) SWIG_fail
;
18238 arg4
= wxString_in_helper(obj3
);
18239 if (arg4
== NULL
) SWIG_fail
;
18244 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18245 if (!SWIG_IsOK(ecode5
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18248 arg5
= static_cast< long >(val5
);
18253 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18257 if (!wxPyCheckForApp()) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18294 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18295 PyObject
*resultobj
= 0;
18296 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18300 PyObject
*swig_obj
[1] ;
18302 if (!args
) SWIG_fail
;
18303 swig_obj
[0] = args
;
18304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18308 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (arg1
)->GetValue();
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18328 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
= 0;
18330 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18331 wxString
*arg2
= 0 ;
18334 bool temp2
= false ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char * kwnames
[] = {
18338 (char *) "self",(char *) "value", NULL
18341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18346 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18348 arg2
= wxString_in_helper(obj1
);
18349 if (arg2
== NULL
) SWIG_fail
;
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 (arg1
)->SetValue((wxString
const &)*arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= SWIG_Py_Void();
18373 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18376 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18377 return SWIG_Py_Void();
18380 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18381 return SWIG_Python_InitShadowInstance(args
);
18384 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18385 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18390 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18391 PyObject
*pyobj
= 0;
18395 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18397 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18404 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
= 0;
18406 wxWindow
*arg1
= (wxWindow
*) 0 ;
18407 wxString
*arg2
= 0 ;
18408 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18410 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18411 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18412 long arg5
= (long) wxTextEntryDialogStyle
;
18413 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18414 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18415 wxPasswordEntryDialog
*result
= 0 ;
18418 bool temp2
= false ;
18419 bool temp3
= false ;
18420 bool temp4
= false ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 PyObject
* obj3
= 0 ;
18428 PyObject
* obj4
= 0 ;
18429 PyObject
* obj5
= 0 ;
18430 char * kwnames
[] = {
18431 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18436 if (!SWIG_IsOK(res1
)) {
18437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18441 arg2
= wxString_in_helper(obj1
);
18442 if (arg2
== NULL
) SWIG_fail
;
18447 arg3
= wxString_in_helper(obj2
);
18448 if (arg3
== NULL
) SWIG_fail
;
18454 arg4
= wxString_in_helper(obj3
);
18455 if (arg4
== NULL
) SWIG_fail
;
18460 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18461 if (!SWIG_IsOK(ecode5
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18464 arg5
= static_cast< long >(val5
);
18469 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18509 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18513 return SWIG_Py_Void();
18516 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18517 return SWIG_Python_InitShadowInstance(args
);
18520 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
= 0;
18522 wxWindow
*arg1
= (wxWindow
*) 0 ;
18523 wxString
*arg2
= 0 ;
18524 wxString
*arg3
= 0 ;
18525 wxString
*arg4
= 0 ;
18529 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18530 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18531 wxNumberEntryDialog
*result
= 0 ;
18534 bool temp2
= false ;
18535 bool temp3
= false ;
18536 bool temp4
= false ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 PyObject
* obj3
= 0 ;
18548 PyObject
* obj4
= 0 ;
18549 PyObject
* obj5
= 0 ;
18550 PyObject
* obj6
= 0 ;
18551 PyObject
* obj7
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18563 arg2
= wxString_in_helper(obj1
);
18564 if (arg2
== NULL
) SWIG_fail
;
18568 arg3
= wxString_in_helper(obj2
);
18569 if (arg3
== NULL
) SWIG_fail
;
18573 arg4
= wxString_in_helper(obj3
);
18574 if (arg4
== NULL
) SWIG_fail
;
18577 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18578 if (!SWIG_IsOK(ecode5
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18581 arg5
= static_cast< long >(val5
);
18582 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18583 if (!SWIG_IsOK(ecode6
)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18586 arg6
= static_cast< long >(val6
);
18587 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18588 if (!SWIG_IsOK(ecode7
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18591 arg7
= static_cast< long >(val7
);
18595 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18599 if (!wxPyCheckForApp()) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18636 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18637 PyObject
*resultobj
= 0;
18638 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18642 PyObject
*swig_obj
[1] ;
18644 if (!args
) SWIG_fail
;
18645 swig_obj
[0] = args
;
18646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18647 if (!SWIG_IsOK(res1
)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18650 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (long)(arg1
)->GetValue();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_From_long(static_cast< long >(result
));
18664 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18667 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18668 return SWIG_Py_Void();
18671 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18672 return SWIG_Python_InitShadowInstance(args
);
18675 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 PyObject
*resultobj
= 0;
18677 wxFontData
*result
= 0 ;
18679 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 result
= (wxFontData
*)new wxFontData();
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18693 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18694 PyObject
*resultobj
= 0;
18695 wxFontData
*arg1
= (wxFontData
*) 0 ;
18698 PyObject
*swig_obj
[1] ;
18700 if (!args
) SWIG_fail
;
18701 swig_obj
[0] = args
;
18702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18703 if (!SWIG_IsOK(res1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_Py_Void();
18721 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
= 0;
18723 wxFontData
*arg1
= (wxFontData
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 PyObject
* obj1
= 0 ;
18731 char * kwnames
[] = {
18732 (char *) "self",(char *) "enable", NULL
18735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18737 if (!SWIG_IsOK(res1
)) {
18738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18740 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18742 if (!SWIG_IsOK(ecode2
)) {
18743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18745 arg2
= static_cast< bool >(val2
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->EnableEffects(arg2
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_Py_Void();
18759 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18760 PyObject
*resultobj
= 0;
18761 wxFontData
*arg1
= (wxFontData
*) 0 ;
18765 PyObject
*swig_obj
[1] ;
18767 if (!args
) SWIG_fail
;
18768 swig_obj
[0] = args
;
18769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18770 if (!SWIG_IsOK(res1
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18773 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)(arg1
)->GetAllowSymbols();
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18789 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18790 PyObject
*resultobj
= 0;
18791 wxFontData
*arg1
= (wxFontData
*) 0 ;
18795 PyObject
*swig_obj
[1] ;
18797 if (!args
) SWIG_fail
;
18798 swig_obj
[0] = args
;
18799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18803 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (arg1
)->GetColour();
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18817 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18818 PyObject
*resultobj
= 0;
18819 wxFontData
*arg1
= (wxFontData
*) 0 ;
18823 PyObject
*swig_obj
[1] ;
18825 if (!args
) SWIG_fail
;
18826 swig_obj
[0] = args
;
18827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18828 if (!SWIG_IsOK(res1
)) {
18829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18831 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 result
= (arg1
)->GetChosenFont();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18845 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18846 PyObject
*resultobj
= 0;
18847 wxFontData
*arg1
= (wxFontData
*) 0 ;
18851 PyObject
*swig_obj
[1] ;
18853 if (!args
) SWIG_fail
;
18854 swig_obj
[0] = args
;
18855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18856 if (!SWIG_IsOK(res1
)) {
18857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18859 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (bool)(arg1
)->GetEnableEffects();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18875 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 PyObject
*resultobj
= 0;
18877 wxFontData
*arg1
= (wxFontData
*) 0 ;
18881 PyObject
*swig_obj
[1] ;
18883 if (!args
) SWIG_fail
;
18884 swig_obj
[0] = args
;
18885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18889 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (arg1
)->GetInitialFont();
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18903 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18904 PyObject
*resultobj
= 0;
18905 wxFontData
*arg1
= (wxFontData
*) 0 ;
18909 PyObject
*swig_obj
[1] ;
18911 if (!args
) SWIG_fail
;
18912 swig_obj
[0] = args
;
18913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18917 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (bool)(arg1
)->GetShowHelp();
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18933 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= 0;
18935 wxFontData
*arg1
= (wxFontData
*) 0 ;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 char * kwnames
[] = {
18944 (char *) "self",(char *) "allowSymbols", NULL
18947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18952 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18954 if (!SWIG_IsOK(ecode2
)) {
18955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18957 arg2
= static_cast< bool >(val2
);
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 (arg1
)->SetAllowSymbols(arg2
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_Py_Void();
18971 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxFontData
*arg1
= (wxFontData
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "font", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18990 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18992 if (!SWIG_IsOK(res2
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18998 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_Py_Void();
19012 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
= 0;
19014 wxFontData
*arg1
= (wxFontData
*) 0 ;
19015 wxColour
*arg2
= 0 ;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char * kwnames
[] = {
19022 (char *) "self",(char *) "colour", NULL
19025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19027 if (!SWIG_IsOK(res1
)) {
19028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19030 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 (arg1
)->SetColour((wxColour
const &)*arg2
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_Py_Void();
19048 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
= 0;
19050 wxFontData
*arg1
= (wxFontData
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 char * kwnames
[] = {
19059 (char *) "self",(char *) "font", NULL
19062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19064 if (!SWIG_IsOK(res1
)) {
19065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19067 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19069 if (!SWIG_IsOK(res2
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19075 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
= 0;
19091 wxFontData
*arg1
= (wxFontData
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 PyObject
* obj2
= 0 ;
19103 char * kwnames
[] = {
19104 (char *) "self",(char *) "min",(char *) "max", NULL
19107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19109 if (!SWIG_IsOK(res1
)) {
19110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19112 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19114 if (!SWIG_IsOK(ecode2
)) {
19115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19117 arg2
= static_cast< int >(val2
);
19118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19119 if (!SWIG_IsOK(ecode3
)) {
19120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19122 arg3
= static_cast< int >(val3
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->SetRange(arg2
,arg3
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_Py_Void();
19136 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxFontData
*arg1
= (wxFontData
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char * kwnames
[] = {
19147 (char *) "self",(char *) "showHelp", NULL
19150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19152 if (!SWIG_IsOK(res1
)) {
19153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19155 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19156 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19157 if (!SWIG_IsOK(ecode2
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19160 arg2
= static_cast< bool >(val2
);
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 (arg1
)->SetShowHelp(arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_Py_Void();
19174 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19177 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19178 return SWIG_Py_Void();
19181 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19182 return SWIG_Python_InitShadowInstance(args
);
19185 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxWindow
*arg1
= (wxWindow
*) 0 ;
19188 wxFontData
*arg2
= 0 ;
19189 wxFontDialog
*result
= 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "parent",(char *) "data", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19207 if (!SWIG_IsOK(res2
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19213 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19215 if (!wxPyCheckForApp()) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19228 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19229 PyObject
*resultobj
= 0;
19230 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19231 wxFontData
*result
= 0 ;
19234 PyObject
*swig_obj
[1] ;
19236 if (!args
) SWIG_fail
;
19237 swig_obj
[0] = args
;
19238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19242 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19247 result
= (wxFontData
*) &_result_ref
;
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19259 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19262 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19263 return SWIG_Py_Void();
19266 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19267 return SWIG_Python_InitShadowInstance(args
);
19270 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxWindow
*arg1
= (wxWindow
*) NULL
;
19273 wxFont
const &arg2_defvalue
= wxNullFont
;
19274 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19282 bool temp3
= false ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 PyObject
* obj2
= 0 ;
19286 char * kwnames
[] = {
19287 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19296 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19300 if (!SWIG_IsOK(res2
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19306 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19310 arg3
= wxString_in_helper(obj2
);
19311 if (arg3
== NULL
) SWIG_fail
;
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19336 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxWindow
*arg1
= (wxWindow
*) 0 ;
19339 wxString
*arg2
= 0 ;
19340 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19341 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19342 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19343 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19344 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19345 wxMessageDialog
*result
= 0 ;
19348 bool temp2
= false ;
19349 bool temp3
= false ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 PyObject
* obj2
= 0 ;
19356 PyObject
* obj3
= 0 ;
19357 PyObject
* obj4
= 0 ;
19358 char * kwnames
[] = {
19359 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19367 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19369 arg2
= wxString_in_helper(obj1
);
19370 if (arg2
== NULL
) SWIG_fail
;
19375 arg3
= wxString_in_helper(obj2
);
19376 if (arg3
== NULL
) SWIG_fail
;
19381 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19382 if (!SWIG_IsOK(ecode4
)) {
19383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19385 arg4
= static_cast< long >(val4
);
19390 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19394 if (!wxPyCheckForApp()) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19423 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19426 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19427 return SWIG_Py_Void();
19430 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19431 return SWIG_Python_InitShadowInstance(args
);
19434 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxString
*arg1
= 0 ;
19437 wxString
*arg2
= 0 ;
19438 int arg3
= (int) 100 ;
19439 wxWindow
*arg4
= (wxWindow
*) NULL
;
19440 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19441 wxProgressDialog
*result
= 0 ;
19442 bool temp1
= false ;
19443 bool temp2
= false ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 PyObject
* obj2
= 0 ;
19453 PyObject
* obj3
= 0 ;
19454 PyObject
* obj4
= 0 ;
19455 char * kwnames
[] = {
19456 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19461 arg1
= wxString_in_helper(obj0
);
19462 if (arg1
== NULL
) SWIG_fail
;
19466 arg2
= wxString_in_helper(obj1
);
19467 if (arg2
== NULL
) SWIG_fail
;
19471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19472 if (!SWIG_IsOK(ecode3
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19475 arg3
= static_cast< int >(val3
);
19478 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19479 if (!SWIG_IsOK(res4
)) {
19480 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19482 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19486 if (!SWIG_IsOK(ecode5
)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19489 arg5
= static_cast< int >(val5
);
19492 if (!wxPyCheckForApp()) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19521 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
= 0;
19523 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19525 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19526 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19527 bool *arg4
= (bool *) 0 ;
19533 bool temp3
= false ;
19535 int res4
= SWIG_TMPOBJ
;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 PyObject
* obj2
= 0 ;
19539 char * kwnames
[] = {
19540 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19546 if (!SWIG_IsOK(res1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19549 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19551 if (!SWIG_IsOK(ecode2
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19554 arg2
= static_cast< int >(val2
);
19557 arg3
= wxString_in_helper(obj2
);
19558 if (arg3
== NULL
) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19571 if (SWIG_IsTmpObj(res4
)) {
19572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19574 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19591 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
= 0;
19593 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19594 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19595 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19596 bool *arg3
= (bool *) 0 ;
19600 bool temp2
= false ;
19602 int res3
= SWIG_TMPOBJ
;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char * kwnames
[] = {
19606 (char *) "self",(char *) "newmsg", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19615 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19618 arg2
= wxString_in_helper(obj1
);
19619 if (arg2
== NULL
) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19632 if (SWIG_IsTmpObj(res3
)) {
19633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19635 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19652 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19653 PyObject
*resultobj
= 0;
19654 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19657 PyObject
*swig_obj
[1] ;
19659 if (!args
) SWIG_fail
;
19660 swig_obj
[0] = args
;
19661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19665 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_Py_Void();
19679 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19682 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19683 return SWIG_Py_Void();
19686 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19687 return SWIG_Python_InitShadowInstance(args
);
19690 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= 0;
19692 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19693 int arg2
= (int) 0 ;
19694 wxFindDialogEvent
*result
= 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char * kwnames
[] = {
19702 (char *) "commandType",(char *) "id", NULL
19705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19708 if (!SWIG_IsOK(ecode1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19711 arg1
= static_cast< wxEventType
>(val1
);
19714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19715 if (!SWIG_IsOK(ecode2
)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19718 arg2
= static_cast< int >(val2
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19733 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19734 PyObject
*resultobj
= 0;
19735 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19739 PyObject
*swig_obj
[1] ;
19741 if (!args
) SWIG_fail
;
19742 swig_obj
[0] = args
;
19743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19744 if (!SWIG_IsOK(res1
)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19747 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (int)(arg1
)->GetFlags();
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_From_int(static_cast< int >(result
));
19761 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19762 PyObject
*resultobj
= 0;
19763 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19764 wxString
*result
= 0 ;
19767 PyObject
*swig_obj
[1] ;
19769 if (!args
) SWIG_fail
;
19770 swig_obj
[0] = args
;
19771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19772 if (!SWIG_IsOK(res1
)) {
19773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19775 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 wxString
const &_result_ref
= (arg1
)->GetFindString();
19780 result
= (wxString
*) &_result_ref
;
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19789 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19798 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19799 PyObject
*resultobj
= 0;
19800 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19801 wxString
*result
= 0 ;
19804 PyObject
*swig_obj
[1] ;
19806 if (!args
) SWIG_fail
;
19807 swig_obj
[0] = args
;
19808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19809 if (!SWIG_IsOK(res1
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19812 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19817 result
= (wxString
*) &_result_ref
;
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19826 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19835 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19836 PyObject
*resultobj
= 0;
19837 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19838 wxFindReplaceDialog
*result
= 0 ;
19841 PyObject
*swig_obj
[1] ;
19843 if (!args
) SWIG_fail
;
19844 swig_obj
[0] = args
;
19845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19846 if (!SWIG_IsOK(res1
)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19849 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19863 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
= 0;
19865 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "self",(char *) "flags", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19882 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19884 if (!SWIG_IsOK(ecode2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19887 arg2
= static_cast< int >(val2
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->SetFlags(arg2
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_Py_Void();
19901 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19904 wxString
*arg2
= 0 ;
19907 bool temp2
= false ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 char * kwnames
[] = {
19911 (char *) "self",(char *) "str", NULL
19914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19916 if (!SWIG_IsOK(res1
)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19919 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19921 arg2
= wxString_in_helper(obj1
);
19922 if (arg2
== NULL
) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->SetFindString((wxString
const &)*arg2
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_Py_Void();
19946 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
= 0;
19948 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19949 wxString
*arg2
= 0 ;
19952 bool temp2
= false ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char * kwnames
[] = {
19956 (char *) "self",(char *) "str", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19964 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19966 arg2
= wxString_in_helper(obj1
);
19967 if (arg2
== NULL
) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= SWIG_Py_Void();
19991 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19994 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19995 return SWIG_Py_Void();
19998 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19999 return SWIG_Python_InitShadowInstance(args
);
20002 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
= 0;
20004 int arg1
= (int) 0 ;
20005 wxFindReplaceData
*result
= 0 ;
20008 PyObject
* obj0
= 0 ;
20009 char * kwnames
[] = {
20010 (char *) "flags", NULL
20013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20016 if (!SWIG_IsOK(ecode1
)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20019 arg1
= static_cast< int >(val1
);
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20034 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20035 PyObject
*resultobj
= 0;
20036 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20039 PyObject
*swig_obj
[1] ;
20041 if (!args
) SWIG_fail
;
20042 swig_obj
[0] = args
;
20043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20047 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_Py_Void();
20062 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20063 PyObject
*resultobj
= 0;
20064 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20065 wxString
*result
= 0 ;
20068 PyObject
*swig_obj
[1] ;
20070 if (!args
) SWIG_fail
;
20071 swig_obj
[0] = args
;
20072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20073 if (!SWIG_IsOK(res1
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20076 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 wxString
const &_result_ref
= (arg1
)->GetFindString();
20081 result
= (wxString
*) &_result_ref
;
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20099 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20100 PyObject
*resultobj
= 0;
20101 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20102 wxString
*result
= 0 ;
20105 PyObject
*swig_obj
[1] ;
20107 if (!args
) SWIG_fail
;
20108 swig_obj
[0] = args
;
20109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20113 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20118 result
= (wxString
*) &_result_ref
;
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20127 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20136 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20137 PyObject
*resultobj
= 0;
20138 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20142 PyObject
*swig_obj
[1] ;
20144 if (!args
) SWIG_fail
;
20145 swig_obj
[0] = args
;
20146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20147 if (!SWIG_IsOK(res1
)) {
20148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20150 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (int)(arg1
)->GetFlags();
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= SWIG_From_int(static_cast< int >(result
));
20164 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
= 0;
20166 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 char * kwnames
[] = {
20175 (char *) "self",(char *) "flags", NULL
20178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20180 if (!SWIG_IsOK(res1
)) {
20181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20183 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20185 if (!SWIG_IsOK(ecode2
)) {
20186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20188 arg2
= static_cast< int >(val2
);
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 (arg1
)->SetFlags(arg2
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_Py_Void();
20202 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
= 0;
20204 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20205 wxString
*arg2
= 0 ;
20208 bool temp2
= false ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 char * kwnames
[] = {
20212 (char *) "self",(char *) "str", NULL
20215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20220 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20222 arg2
= wxString_in_helper(obj1
);
20223 if (arg2
== NULL
) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 (arg1
)->SetFindString((wxString
const &)*arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_Py_Void();
20247 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
= 0;
20249 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20250 wxString
*arg2
= 0 ;
20253 bool temp2
= false ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20256 char * kwnames
[] = {
20257 (char *) "self",(char *) "str", NULL
20260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20262 if (!SWIG_IsOK(res1
)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20265 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20267 arg2
= wxString_in_helper(obj1
);
20268 if (arg2
== NULL
) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_Py_Void();
20292 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20295 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20296 return SWIG_Py_Void();
20299 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20300 return SWIG_Python_InitShadowInstance(args
);
20303 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
= 0;
20305 wxWindow
*arg1
= (wxWindow
*) 0 ;
20306 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20307 wxString
*arg3
= 0 ;
20308 int arg4
= (int) 0 ;
20309 wxFindReplaceDialog
*result
= 0 ;
20314 bool temp3
= false ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 PyObject
* obj2
= 0 ;
20320 PyObject
* obj3
= 0 ;
20321 char * kwnames
[] = {
20322 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20327 if (!SWIG_IsOK(res1
)) {
20328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20330 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20332 if (!SWIG_IsOK(res2
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20335 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20337 arg3
= wxString_in_helper(obj2
);
20338 if (arg3
== NULL
) SWIG_fail
;
20342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20343 if (!SWIG_IsOK(ecode4
)) {
20344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20346 arg4
= static_cast< int >(val4
);
20349 if (!wxPyCheckForApp()) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20370 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20371 PyObject
*resultobj
= 0;
20372 wxFindReplaceDialog
*result
= 0 ;
20374 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20376 if (!wxPyCheckForApp()) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20389 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
= 0;
20391 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20392 wxWindow
*arg2
= (wxWindow
*) 0 ;
20393 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20394 wxString
*arg4
= 0 ;
20395 int arg5
= (int) 0 ;
20403 bool temp4
= false ;
20406 PyObject
* obj0
= 0 ;
20407 PyObject
* obj1
= 0 ;
20408 PyObject
* obj2
= 0 ;
20409 PyObject
* obj3
= 0 ;
20410 PyObject
* obj4
= 0 ;
20411 char * kwnames
[] = {
20412 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20417 if (!SWIG_IsOK(res1
)) {
20418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20420 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20422 if (!SWIG_IsOK(res2
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20426 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20427 if (!SWIG_IsOK(res3
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20430 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20432 arg4
= wxString_in_helper(obj3
);
20433 if (arg4
== NULL
) SWIG_fail
;
20437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20438 if (!SWIG_IsOK(ecode5
)) {
20439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20441 arg5
= static_cast< int >(val5
);
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20466 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20467 PyObject
*resultobj
= 0;
20468 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20469 wxFindReplaceData
*result
= 0 ;
20472 PyObject
*swig_obj
[1] ;
20474 if (!args
) SWIG_fail
;
20475 swig_obj
[0] = args
;
20476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20480 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20494 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= 0;
20496 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20497 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 PyObject
* obj1
= 0 ;
20504 char * kwnames
[] = {
20505 (char *) "self",(char *) "data", NULL
20508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20513 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20515 if (!SWIG_IsOK(res2
)) {
20516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20518 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->SetData(arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_Py_Void();
20532 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20535 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20536 return SWIG_Py_Void();
20539 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 return SWIG_Python_InitShadowInstance(args
);
20543 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= 0;
20545 wxWindow
*arg1
= (wxWindow
*) 0 ;
20546 int arg2
= (int) (int)-1 ;
20547 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20548 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20553 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20554 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20556 wxMDIParentFrame
*result
= 0 ;
20561 bool temp3
= false ;
20566 bool temp7
= false ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 PyObject
* obj2
= 0 ;
20570 PyObject
* obj3
= 0 ;
20571 PyObject
* obj4
= 0 ;
20572 PyObject
* obj5
= 0 ;
20573 PyObject
* obj6
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20586 if (!SWIG_IsOK(ecode2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20589 arg2
= static_cast< int >(val2
);
20593 arg3
= wxString_in_helper(obj2
);
20594 if (arg3
== NULL
) SWIG_fail
;
20601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20611 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20612 if (!SWIG_IsOK(ecode6
)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20615 arg6
= static_cast< long >(val6
);
20619 arg7
= wxString_in_helper(obj6
);
20620 if (arg7
== NULL
) SWIG_fail
;
20625 if (!wxPyCheckForApp()) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20654 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20655 PyObject
*resultobj
= 0;
20656 wxMDIParentFrame
*result
= 0 ;
20658 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20660 if (!wxPyCheckForApp()) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20673 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
= 0;
20675 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20676 wxWindow
*arg2
= (wxWindow
*) 0 ;
20677 int arg3
= (int) (int)-1 ;
20678 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20679 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20680 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20681 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20682 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20683 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20684 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20685 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20686 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20694 bool temp4
= false ;
20699 bool temp8
= false ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 PyObject
* obj2
= 0 ;
20703 PyObject
* obj3
= 0 ;
20704 PyObject
* obj4
= 0 ;
20705 PyObject
* obj5
= 0 ;
20706 PyObject
* obj6
= 0 ;
20707 PyObject
* obj7
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20717 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20719 if (!SWIG_IsOK(res2
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20725 if (!SWIG_IsOK(ecode3
)) {
20726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20728 arg3
= static_cast< int >(val3
);
20732 arg4
= wxString_in_helper(obj3
);
20733 if (arg4
== NULL
) SWIG_fail
;
20740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20750 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20751 if (!SWIG_IsOK(ecode7
)) {
20752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20754 arg7
= static_cast< long >(val7
);
20758 arg8
= wxString_in_helper(obj7
);
20759 if (arg8
== NULL
) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20794 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20795 PyObject
*resultobj
= 0;
20796 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20799 PyObject
*swig_obj
[1] ;
20801 if (!args
) SWIG_fail
;
20802 swig_obj
[0] = args
;
20803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20807 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 (arg1
)->ActivateNext();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_Py_Void();
20821 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 PyObject
*resultobj
= 0;
20823 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20826 PyObject
*swig_obj
[1] ;
20828 if (!args
) SWIG_fail
;
20829 swig_obj
[0] = args
;
20830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20831 if (!SWIG_IsOK(res1
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20834 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->ActivatePrevious();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_Py_Void();
20848 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20849 PyObject
*resultobj
= 0;
20850 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20853 PyObject
*swig_obj
[1] ;
20855 if (!args
) SWIG_fail
;
20856 swig_obj
[0] = args
;
20857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20861 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 (arg1
)->ArrangeIcons();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20875 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 PyObject
*resultobj
= 0;
20877 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20880 PyObject
*swig_obj
[1] ;
20882 if (!args
) SWIG_fail
;
20883 swig_obj
[0] = args
;
20884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20885 if (!SWIG_IsOK(res1
)) {
20886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20888 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_Py_Void();
20902 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20903 PyObject
*resultobj
= 0;
20904 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20905 wxMDIChildFrame
*result
= 0 ;
20908 PyObject
*swig_obj
[1] ;
20910 if (!args
) SWIG_fail
;
20911 swig_obj
[0] = args
;
20912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20913 if (!SWIG_IsOK(res1
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20916 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20932 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20933 PyObject
*resultobj
= 0;
20934 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20935 wxMDIClientWindow
*result
= 0 ;
20938 PyObject
*swig_obj
[1] ;
20940 if (!args
) SWIG_fail
;
20941 swig_obj
[0] = args
;
20942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20943 if (!SWIG_IsOK(res1
)) {
20944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20946 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20962 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
= 0;
20964 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20965 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 char * kwnames
[] = {
20973 (char *) "self",(char *) "orient", NULL
20976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20981 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20984 if (!SWIG_IsOK(ecode2
)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20987 arg2
= static_cast< wxOrientation
>(val2
);
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 (arg1
)->Tile(arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= SWIG_Py_Void();
21002 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21005 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21006 return SWIG_Py_Void();
21009 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21010 return SWIG_Python_InitShadowInstance(args
);
21013 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
= 0;
21015 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21016 int arg2
= (int) (int)-1 ;
21017 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21018 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21023 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21024 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21025 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21026 wxMDIChildFrame
*result
= 0 ;
21031 bool temp3
= false ;
21036 bool temp7
= false ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 PyObject
* obj2
= 0 ;
21040 PyObject
* obj3
= 0 ;
21041 PyObject
* obj4
= 0 ;
21042 PyObject
* obj5
= 0 ;
21043 PyObject
* obj6
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21053 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21056 if (!SWIG_IsOK(ecode2
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21059 arg2
= static_cast< int >(val2
);
21063 arg3
= wxString_in_helper(obj2
);
21064 if (arg3
== NULL
) SWIG_fail
;
21071 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21077 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21081 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21082 if (!SWIG_IsOK(ecode6
)) {
21083 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21085 arg6
= static_cast< long >(val6
);
21089 arg7
= wxString_in_helper(obj6
);
21090 if (arg7
== NULL
) SWIG_fail
;
21095 if (!wxPyCheckForApp()) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21124 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21125 PyObject
*resultobj
= 0;
21126 wxMDIChildFrame
*result
= 0 ;
21128 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21130 if (!wxPyCheckForApp()) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21143 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
= 0;
21145 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21146 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21147 int arg3
= (int) (int)-1 ;
21148 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21149 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21150 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21151 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21152 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21153 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21154 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21155 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21164 bool temp4
= false ;
21169 bool temp8
= false ;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 PyObject
* obj2
= 0 ;
21173 PyObject
* obj3
= 0 ;
21174 PyObject
* obj4
= 0 ;
21175 PyObject
* obj5
= 0 ;
21176 PyObject
* obj6
= 0 ;
21177 PyObject
* obj7
= 0 ;
21178 char * kwnames
[] = {
21179 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21184 if (!SWIG_IsOK(res1
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21187 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21189 if (!SWIG_IsOK(res2
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21192 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21195 if (!SWIG_IsOK(ecode3
)) {
21196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21198 arg3
= static_cast< int >(val3
);
21202 arg4
= wxString_in_helper(obj3
);
21203 if (arg4
== NULL
) SWIG_fail
;
21210 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21216 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21220 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21221 if (!SWIG_IsOK(ecode7
)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21224 arg7
= static_cast< long >(val7
);
21228 arg8
= wxString_in_helper(obj7
);
21229 if (arg8
== NULL
) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21264 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21265 PyObject
*resultobj
= 0;
21266 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21269 PyObject
*swig_obj
[1] ;
21271 if (!args
) SWIG_fail
;
21272 swig_obj
[0] = args
;
21273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21274 if (!SWIG_IsOK(res1
)) {
21275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21277 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 (arg1
)->Activate();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= SWIG_Py_Void();
21291 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21294 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21295 return SWIG_Py_Void();
21298 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21299 return SWIG_Python_InitShadowInstance(args
);
21302 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
= 0;
21304 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21305 long arg2
= (long) 0 ;
21306 wxMDIClientWindow
*result
= 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 char * kwnames
[] = {
21314 (char *) "parent",(char *) "style", NULL
21317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21319 if (!SWIG_IsOK(res1
)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21322 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21324 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21325 if (!SWIG_IsOK(ecode2
)) {
21326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21328 arg2
= static_cast< long >(val2
);
21331 if (!wxPyCheckForApp()) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21344 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21345 PyObject
*resultobj
= 0;
21346 wxMDIClientWindow
*result
= 0 ;
21348 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21350 if (!wxPyCheckForApp()) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21363 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= 0;
21365 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21366 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21367 long arg3
= (long) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 PyObject
* obj2
= 0 ;
21378 char * kwnames
[] = {
21379 (char *) "self",(char *) "parent",(char *) "style", NULL
21382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21387 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21389 if (!SWIG_IsOK(res2
)) {
21390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21392 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21394 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21395 if (!SWIG_IsOK(ecode3
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21398 arg3
= static_cast< long >(val3
);
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21415 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21418 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21419 return SWIG_Py_Void();
21422 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 return SWIG_Python_InitShadowInstance(args
);
21426 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
= 0;
21428 wxWindow
*arg1
= (wxWindow
*) 0 ;
21429 int arg2
= (int) (int)-1 ;
21430 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21431 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21432 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21433 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21434 long arg5
= (long) 0 ;
21435 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21436 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21437 wxPyWindow
*result
= 0 ;
21446 bool temp6
= false ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 PyObject
* obj2
= 0 ;
21450 PyObject
* obj3
= 0 ;
21451 PyObject
* obj4
= 0 ;
21452 PyObject
* obj5
= 0 ;
21453 char * kwnames
[] = {
21454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21459 if (!SWIG_IsOK(res1
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21465 if (!SWIG_IsOK(ecode2
)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21468 arg2
= static_cast< int >(val2
);
21473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21483 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21484 if (!SWIG_IsOK(ecode5
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21487 arg5
= static_cast< long >(val5
);
21491 arg6
= wxString_in_helper(obj5
);
21492 if (arg6
== NULL
) SWIG_fail
;
21497 if (!wxPyCheckForApp()) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21518 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21519 PyObject
*resultobj
= 0;
21520 wxPyWindow
*result
= 0 ;
21522 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21524 if (!wxPyCheckForApp()) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (wxPyWindow
*)new wxPyWindow();
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21537 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
= 0;
21539 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21540 PyObject
*arg2
= (PyObject
*) 0 ;
21541 PyObject
*arg3
= (PyObject
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 char * kwnames
[] = {
21548 (char *) "self",(char *) "self",(char *) "_class", NULL
21551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21553 if (!SWIG_IsOK(res1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21556 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_Py_Void();
21572 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
= 0;
21574 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21575 wxDC
*arg2
= (wxDC
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char * kwnames
[] = {
21584 (char *) "self",(char *) "dc", NULL
21587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21589 if (!SWIG_IsOK(res1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21592 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21594 if (!SWIG_IsOK(res2
)) {
21595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21597 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21613 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
= 0;
21615 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 PyObject
* obj3
= 0 ;
21634 PyObject
* obj4
= 0 ;
21635 char * kwnames
[] = {
21636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21641 if (!SWIG_IsOK(res1
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21644 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21646 if (!SWIG_IsOK(ecode2
)) {
21647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21649 arg2
= static_cast< int >(val2
);
21650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21651 if (!SWIG_IsOK(ecode3
)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21654 arg3
= static_cast< int >(val3
);
21655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21656 if (!SWIG_IsOK(ecode4
)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21659 arg4
= static_cast< int >(val4
);
21660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21661 if (!SWIG_IsOK(ecode5
)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21664 arg5
= static_cast< int >(val5
);
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= SWIG_Py_Void();
21678 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
= 0;
21680 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21685 int arg6
= (int) wxSIZE_AUTO
;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 PyObject
* obj3
= 0 ;
21702 PyObject
* obj4
= 0 ;
21703 PyObject
* obj5
= 0 ;
21704 char * kwnames
[] = {
21705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21710 if (!SWIG_IsOK(res1
)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21713 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21715 if (!SWIG_IsOK(ecode2
)) {
21716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21718 arg2
= static_cast< int >(val2
);
21719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21720 if (!SWIG_IsOK(ecode3
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21723 arg3
= static_cast< int >(val3
);
21724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21725 if (!SWIG_IsOK(ecode4
)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21728 arg4
= static_cast< int >(val4
);
21729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21730 if (!SWIG_IsOK(ecode5
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21733 arg5
= static_cast< int >(val5
);
21735 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21736 if (!SWIG_IsOK(ecode6
)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21739 arg6
= static_cast< int >(val6
);
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_Py_Void();
21754 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
= 0;
21756 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 PyObject
* obj2
= 0 ;
21768 char * kwnames
[] = {
21769 (char *) "self",(char *) "width",(char *) "height", NULL
21772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21774 if (!SWIG_IsOK(res1
)) {
21775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21777 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21779 if (!SWIG_IsOK(ecode2
)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21782 arg2
= static_cast< int >(val2
);
21783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21784 if (!SWIG_IsOK(ecode3
)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21787 arg3
= static_cast< int >(val3
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->DoSetClientSize(arg2
,arg3
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_Py_Void();
21801 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
= 0;
21803 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 PyObject
* obj1
= 0 ;
21814 PyObject
* obj2
= 0 ;
21815 char * kwnames
[] = {
21816 (char *) "self",(char *) "x",(char *) "y", NULL
21819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21821 if (!SWIG_IsOK(res1
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21824 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21826 if (!SWIG_IsOK(ecode2
)) {
21827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21829 arg2
= static_cast< int >(val2
);
21830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21831 if (!SWIG_IsOK(ecode3
)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21834 arg3
= static_cast< int >(val3
);
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_Py_Void();
21848 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21849 PyObject
*resultobj
= 0;
21850 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21851 int *arg2
= (int *) 0 ;
21852 int *arg3
= (int *) 0 ;
21856 int res2
= SWIG_TMPOBJ
;
21858 int res3
= SWIG_TMPOBJ
;
21859 PyObject
*swig_obj
[1] ;
21863 if (!args
) SWIG_fail
;
21864 swig_obj
[0] = args
;
21865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21869 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_Py_Void();
21877 if (SWIG_IsTmpObj(res2
)) {
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21880 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21883 if (SWIG_IsTmpObj(res3
)) {
21884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21886 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21895 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21896 PyObject
*resultobj
= 0;
21897 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21898 int *arg2
= (int *) 0 ;
21899 int *arg3
= (int *) 0 ;
21903 int res2
= SWIG_TMPOBJ
;
21905 int res3
= SWIG_TMPOBJ
;
21906 PyObject
*swig_obj
[1] ;
21910 if (!args
) SWIG_fail
;
21911 swig_obj
[0] = args
;
21912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21916 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= SWIG_Py_Void();
21924 if (SWIG_IsTmpObj(res2
)) {
21925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21927 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21930 if (SWIG_IsTmpObj(res3
)) {
21931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21933 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21942 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21943 PyObject
*resultobj
= 0;
21944 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21945 int *arg2
= (int *) 0 ;
21946 int *arg3
= (int *) 0 ;
21950 int res2
= SWIG_TMPOBJ
;
21952 int res3
= SWIG_TMPOBJ
;
21953 PyObject
*swig_obj
[1] ;
21957 if (!args
) SWIG_fail
;
21958 swig_obj
[0] = args
;
21959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21960 if (!SWIG_IsOK(res1
)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21963 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= SWIG_Py_Void();
21971 if (SWIG_IsTmpObj(res2
)) {
21972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21974 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21977 if (SWIG_IsTmpObj(res3
)) {
21978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21980 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21989 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21990 PyObject
*resultobj
= 0;
21991 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21995 PyObject
*swig_obj
[1] ;
21997 if (!args
) SWIG_fail
;
21998 swig_obj
[0] = args
;
21999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22000 if (!SWIG_IsOK(res1
)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22003 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22017 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22018 PyObject
*resultobj
= 0;
22019 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22023 PyObject
*swig_obj
[1] ;
22025 if (!args
) SWIG_fail
;
22026 swig_obj
[0] = args
;
22027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22031 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22045 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22046 PyObject
*resultobj
= 0;
22047 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22048 SwigValueWrapper
<wxVisualAttributes
> result
;
22051 PyObject
*swig_obj
[1] ;
22053 if (!args
) SWIG_fail
;
22054 swig_obj
[0] = args
;
22055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22056 if (!SWIG_IsOK(res1
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22059 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (arg1
)->GetDefaultAttributes();
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22073 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22074 PyObject
*resultobj
= 0;
22075 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22078 PyObject
*swig_obj
[1] ;
22080 if (!args
) SWIG_fail
;
22081 swig_obj
[0] = args
;
22082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22083 if (!SWIG_IsOK(res1
)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22086 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->OnInternalIdle();
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_Py_Void();
22100 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22103 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22104 return SWIG_Py_Void();
22107 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22108 return SWIG_Python_InitShadowInstance(args
);
22111 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
= 0;
22113 wxWindow
*arg1
= (wxWindow
*) 0 ;
22114 int arg2
= (int) (int)-1 ;
22115 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22116 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22117 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22118 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22119 long arg5
= (long) 0 ;
22120 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22121 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22122 wxPyPanel
*result
= 0 ;
22131 bool temp6
= false ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 PyObject
* obj2
= 0 ;
22135 PyObject
* obj3
= 0 ;
22136 PyObject
* obj4
= 0 ;
22137 PyObject
* obj5
= 0 ;
22138 char * kwnames
[] = {
22139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22150 if (!SWIG_IsOK(ecode2
)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22153 arg2
= static_cast< int >(val2
);
22158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22164 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22168 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22169 if (!SWIG_IsOK(ecode5
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22172 arg5
= static_cast< long >(val5
);
22176 arg6
= wxString_in_helper(obj5
);
22177 if (arg6
== NULL
) SWIG_fail
;
22182 if (!wxPyCheckForApp()) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22203 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 PyObject
*resultobj
= 0;
22205 wxPyPanel
*result
= 0 ;
22207 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22209 if (!wxPyCheckForApp()) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= (wxPyPanel
*)new wxPyPanel();
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22222 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
= 0;
22224 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22225 PyObject
*arg2
= (PyObject
*) 0 ;
22226 PyObject
*arg3
= (PyObject
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 char * kwnames
[] = {
22233 (char *) "self",(char *) "self",(char *) "_class", NULL
22236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22241 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_Py_Void();
22257 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
= 0;
22259 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22260 wxDC
*arg2
= (wxDC
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char * kwnames
[] = {
22269 (char *) "self",(char *) "dc", NULL
22272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22277 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22279 if (!SWIG_IsOK(res2
)) {
22280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22282 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22298 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
= 0;
22300 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 PyObject
* obj2
= 0 ;
22318 PyObject
* obj3
= 0 ;
22319 PyObject
* obj4
= 0 ;
22320 char * kwnames
[] = {
22321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22326 if (!SWIG_IsOK(res1
)) {
22327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22329 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22331 if (!SWIG_IsOK(ecode2
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22334 arg2
= static_cast< int >(val2
);
22335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22336 if (!SWIG_IsOK(ecode3
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22339 arg3
= static_cast< int >(val3
);
22340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22341 if (!SWIG_IsOK(ecode4
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22344 arg4
= static_cast< int >(val4
);
22345 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22346 if (!SWIG_IsOK(ecode5
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22349 arg5
= static_cast< int >(val5
);
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= SWIG_Py_Void();
22363 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
= 0;
22365 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22370 int arg6
= (int) wxSIZE_AUTO
;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 PyObject
* obj2
= 0 ;
22386 PyObject
* obj3
= 0 ;
22387 PyObject
* obj4
= 0 ;
22388 PyObject
* obj5
= 0 ;
22389 char * kwnames
[] = {
22390 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22395 if (!SWIG_IsOK(res1
)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22398 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22400 if (!SWIG_IsOK(ecode2
)) {
22401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22403 arg2
= static_cast< int >(val2
);
22404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22405 if (!SWIG_IsOK(ecode3
)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22408 arg3
= static_cast< int >(val3
);
22409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22410 if (!SWIG_IsOK(ecode4
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22413 arg4
= static_cast< int >(val4
);
22414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22415 if (!SWIG_IsOK(ecode5
)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22418 arg5
= static_cast< int >(val5
);
22420 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22421 if (!SWIG_IsOK(ecode6
)) {
22422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22424 arg6
= static_cast< int >(val6
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_Py_Void();
22439 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
= 0;
22441 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 PyObject
* obj2
= 0 ;
22453 char * kwnames
[] = {
22454 (char *) "self",(char *) "width",(char *) "height", NULL
22457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22462 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22464 if (!SWIG_IsOK(ecode2
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22467 arg2
= static_cast< int >(val2
);
22468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22469 if (!SWIG_IsOK(ecode3
)) {
22470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22472 arg3
= static_cast< int >(val3
);
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->DoSetClientSize(arg2
,arg3
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_Py_Void();
22486 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22488 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 PyObject
* obj2
= 0 ;
22500 char * kwnames
[] = {
22501 (char *) "self",(char *) "x",(char *) "y", NULL
22504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22509 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22511 if (!SWIG_IsOK(ecode2
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22514 arg2
= static_cast< int >(val2
);
22515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22516 if (!SWIG_IsOK(ecode3
)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22519 arg3
= static_cast< int >(val3
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_Py_Void();
22533 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22534 PyObject
*resultobj
= 0;
22535 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22536 int *arg2
= (int *) 0 ;
22537 int *arg3
= (int *) 0 ;
22541 int res2
= SWIG_TMPOBJ
;
22543 int res3
= SWIG_TMPOBJ
;
22544 PyObject
*swig_obj
[1] ;
22548 if (!args
) SWIG_fail
;
22549 swig_obj
[0] = args
;
22550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22551 if (!SWIG_IsOK(res1
)) {
22552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22554 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_Py_Void();
22562 if (SWIG_IsTmpObj(res2
)) {
22563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22565 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22568 if (SWIG_IsTmpObj(res3
)) {
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22580 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22581 PyObject
*resultobj
= 0;
22582 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22583 int *arg2
= (int *) 0 ;
22584 int *arg3
= (int *) 0 ;
22588 int res2
= SWIG_TMPOBJ
;
22590 int res3
= SWIG_TMPOBJ
;
22591 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22601 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22609 if (SWIG_IsTmpObj(res2
)) {
22610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22612 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22615 if (SWIG_IsTmpObj(res3
)) {
22616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22618 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22627 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22628 PyObject
*resultobj
= 0;
22629 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22630 int *arg2
= (int *) 0 ;
22631 int *arg3
= (int *) 0 ;
22635 int res2
= SWIG_TMPOBJ
;
22637 int res3
= SWIG_TMPOBJ
;
22638 PyObject
*swig_obj
[1] ;
22642 if (!args
) SWIG_fail
;
22643 swig_obj
[0] = args
;
22644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22648 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_Py_Void();
22656 if (SWIG_IsTmpObj(res2
)) {
22657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22659 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22662 if (SWIG_IsTmpObj(res3
)) {
22663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22665 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22674 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22675 PyObject
*resultobj
= 0;
22676 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22680 PyObject
*swig_obj
[1] ;
22682 if (!args
) SWIG_fail
;
22683 swig_obj
[0] = args
;
22684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22688 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22702 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22703 PyObject
*resultobj
= 0;
22704 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22708 PyObject
*swig_obj
[1] ;
22710 if (!args
) SWIG_fail
;
22711 swig_obj
[0] = args
;
22712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22713 if (!SWIG_IsOK(res1
)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22716 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22730 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22733 SwigValueWrapper
<wxVisualAttributes
> result
;
22736 PyObject
*swig_obj
[1] ;
22738 if (!args
) SWIG_fail
;
22739 swig_obj
[0] = args
;
22740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22744 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (arg1
)->GetDefaultAttributes();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22758 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22763 PyObject
*swig_obj
[1] ;
22765 if (!args
) SWIG_fail
;
22766 swig_obj
[0] = args
;
22767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22771 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 (arg1
)->OnInternalIdle();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= SWIG_Py_Void();
22785 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22788 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22789 return SWIG_Py_Void();
22792 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22793 return SWIG_Python_InitShadowInstance(args
);
22796 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
= 0;
22798 wxWindow
*arg1
= (wxWindow
*) 0 ;
22799 int arg2
= (int) (int)-1 ;
22800 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22801 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22802 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22803 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22804 long arg5
= (long) 0 ;
22805 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22806 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22807 wxPyScrolledWindow
*result
= 0 ;
22816 bool temp6
= false ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 PyObject
* obj2
= 0 ;
22820 PyObject
* obj3
= 0 ;
22821 PyObject
* obj4
= 0 ;
22822 PyObject
* obj5
= 0 ;
22823 char * kwnames
[] = {
22824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22832 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22835 if (!SWIG_IsOK(ecode2
)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22838 arg2
= static_cast< int >(val2
);
22843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22849 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22853 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22854 if (!SWIG_IsOK(ecode5
)) {
22855 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22857 arg5
= static_cast< long >(val5
);
22861 arg6
= wxString_in_helper(obj5
);
22862 if (arg6
== NULL
) SWIG_fail
;
22867 if (!wxPyCheckForApp()) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22888 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22889 PyObject
*resultobj
= 0;
22890 wxPyScrolledWindow
*result
= 0 ;
22892 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22894 if (!wxPyCheckForApp()) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22907 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
= 0;
22909 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22910 PyObject
*arg2
= (PyObject
*) 0 ;
22911 PyObject
*arg3
= (PyObject
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 PyObject
* obj2
= 0 ;
22917 char * kwnames
[] = {
22918 (char *) "self",(char *) "self",(char *) "_class", NULL
22921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22926 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= SWIG_Py_Void();
22942 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
= 0;
22944 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22945 wxDC
*arg2
= (wxDC
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char * kwnames
[] = {
22954 (char *) "self",(char *) "dc", NULL
22957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22962 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22964 if (!SWIG_IsOK(res2
)) {
22965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22967 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22983 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
= 0;
22985 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 PyObject
* obj2
= 0 ;
23003 PyObject
* obj3
= 0 ;
23004 PyObject
* obj4
= 0 ;
23005 char * kwnames
[] = {
23006 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23014 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23016 if (!SWIG_IsOK(ecode2
)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23019 arg2
= static_cast< int >(val2
);
23020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23021 if (!SWIG_IsOK(ecode3
)) {
23022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23024 arg3
= static_cast< int >(val3
);
23025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23026 if (!SWIG_IsOK(ecode4
)) {
23027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23029 arg4
= static_cast< int >(val4
);
23030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23031 if (!SWIG_IsOK(ecode5
)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23034 arg5
= static_cast< int >(val5
);
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_Py_Void();
23048 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
= 0;
23050 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23055 int arg6
= (int) wxSIZE_AUTO
;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 PyObject
* obj2
= 0 ;
23071 PyObject
* obj3
= 0 ;
23072 PyObject
* obj4
= 0 ;
23073 PyObject
* obj5
= 0 ;
23074 char * kwnames
[] = {
23075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23083 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23085 if (!SWIG_IsOK(ecode2
)) {
23086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23088 arg2
= static_cast< int >(val2
);
23089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23090 if (!SWIG_IsOK(ecode3
)) {
23091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23093 arg3
= static_cast< int >(val3
);
23094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23095 if (!SWIG_IsOK(ecode4
)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23098 arg4
= static_cast< int >(val4
);
23099 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23100 if (!SWIG_IsOK(ecode5
)) {
23101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23103 arg5
= static_cast< int >(val5
);
23105 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23106 if (!SWIG_IsOK(ecode6
)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23109 arg6
= static_cast< int >(val6
);
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_Py_Void();
23124 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
= 0;
23126 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 PyObject
* obj2
= 0 ;
23138 char * kwnames
[] = {
23139 (char *) "self",(char *) "width",(char *) "height", NULL
23142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23147 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23149 if (!SWIG_IsOK(ecode2
)) {
23150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23152 arg2
= static_cast< int >(val2
);
23153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23154 if (!SWIG_IsOK(ecode3
)) {
23155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23157 arg3
= static_cast< int >(val3
);
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 (arg1
)->DoSetClientSize(arg2
,arg3
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_Py_Void();
23171 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
= 0;
23173 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 PyObject
* obj2
= 0 ;
23185 char * kwnames
[] = {
23186 (char *) "self",(char *) "x",(char *) "y", NULL
23189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23194 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23196 if (!SWIG_IsOK(ecode2
)) {
23197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23199 arg2
= static_cast< int >(val2
);
23200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23201 if (!SWIG_IsOK(ecode3
)) {
23202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23204 arg3
= static_cast< int >(val3
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_Py_Void();
23218 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23219 PyObject
*resultobj
= 0;
23220 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23221 int *arg2
= (int *) 0 ;
23222 int *arg3
= (int *) 0 ;
23226 int res2
= SWIG_TMPOBJ
;
23228 int res3
= SWIG_TMPOBJ
;
23229 PyObject
*swig_obj
[1] ;
23233 if (!args
) SWIG_fail
;
23234 swig_obj
[0] = args
;
23235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23236 if (!SWIG_IsOK(res1
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23239 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_Py_Void();
23247 if (SWIG_IsTmpObj(res2
)) {
23248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23250 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23253 if (SWIG_IsTmpObj(res3
)) {
23254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23256 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23265 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23266 PyObject
*resultobj
= 0;
23267 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23268 int *arg2
= (int *) 0 ;
23269 int *arg3
= (int *) 0 ;
23273 int res2
= SWIG_TMPOBJ
;
23275 int res3
= SWIG_TMPOBJ
;
23276 PyObject
*swig_obj
[1] ;
23280 if (!args
) SWIG_fail
;
23281 swig_obj
[0] = args
;
23282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23283 if (!SWIG_IsOK(res1
)) {
23284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23286 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_Py_Void();
23294 if (SWIG_IsTmpObj(res2
)) {
23295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23297 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23300 if (SWIG_IsTmpObj(res3
)) {
23301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23312 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23313 PyObject
*resultobj
= 0;
23314 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23315 int *arg2
= (int *) 0 ;
23316 int *arg3
= (int *) 0 ;
23320 int res2
= SWIG_TMPOBJ
;
23322 int res3
= SWIG_TMPOBJ
;
23323 PyObject
*swig_obj
[1] ;
23327 if (!args
) SWIG_fail
;
23328 swig_obj
[0] = args
;
23329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23330 if (!SWIG_IsOK(res1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23333 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_Py_Void();
23341 if (SWIG_IsTmpObj(res2
)) {
23342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23344 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23347 if (SWIG_IsTmpObj(res3
)) {
23348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23350 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23359 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 PyObject
*resultobj
= 0;
23361 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23365 PyObject
*swig_obj
[1] ;
23367 if (!args
) SWIG_fail
;
23368 swig_obj
[0] = args
;
23369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23370 if (!SWIG_IsOK(res1
)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23373 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23387 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23388 PyObject
*resultobj
= 0;
23389 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23393 PyObject
*swig_obj
[1] ;
23395 if (!args
) SWIG_fail
;
23396 swig_obj
[0] = args
;
23397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23401 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23415 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23416 PyObject
*resultobj
= 0;
23417 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23418 SwigValueWrapper
<wxVisualAttributes
> result
;
23421 PyObject
*swig_obj
[1] ;
23423 if (!args
) SWIG_fail
;
23424 swig_obj
[0] = args
;
23425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23429 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (arg1
)->GetDefaultAttributes();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23443 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23444 PyObject
*resultobj
= 0;
23445 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23448 PyObject
*swig_obj
[1] ;
23450 if (!args
) SWIG_fail
;
23451 swig_obj
[0] = args
;
23452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23456 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 (arg1
)->OnInternalIdle();
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_Py_Void();
23470 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23474 return SWIG_Py_Void();
23477 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23478 return SWIG_Python_InitShadowInstance(args
);
23481 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23482 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23487 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23488 PyObject
*pyobj
= 0;
23492 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23494 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23501 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23502 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23507 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23508 PyObject
*pyobj
= 0;
23512 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23514 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23521 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23522 PyObject
*resultobj
= 0;
23523 wxPrintData
*result
= 0 ;
23525 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (wxPrintData
*)new wxPrintData();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23539 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23540 PyObject
*resultobj
= 0;
23541 wxPrintData
*arg1
= 0 ;
23542 wxPrintData
*result
= 0 ;
23546 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23554 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23568 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23572 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23575 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23578 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23582 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23587 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23588 PyObject
*resultobj
= 0;
23589 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23592 PyObject
*swig_obj
[1] ;
23594 if (!args
) SWIG_fail
;
23595 swig_obj
[0] = args
;
23596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23597 if (!SWIG_IsOK(res1
)) {
23598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23600 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_Py_Void();
23615 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23616 PyObject
*resultobj
= 0;
23617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23621 PyObject
*swig_obj
[1] ;
23623 if (!args
) SWIG_fail
;
23624 swig_obj
[0] = args
;
23625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23626 if (!SWIG_IsOK(res1
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23629 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 result
= (int)(arg1
)->GetNoCopies();
23633 wxPyEndAllowThreads(__tstate
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= SWIG_From_int(static_cast< int >(result
));
23643 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23644 PyObject
*resultobj
= 0;
23645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23649 PyObject
*swig_obj
[1] ;
23651 if (!args
) SWIG_fail
;
23652 swig_obj
[0] = args
;
23653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23657 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (bool)(arg1
)->GetCollate();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23673 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23675 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23679 PyObject
*swig_obj
[1] ;
23681 if (!args
) SWIG_fail
;
23682 swig_obj
[0] = args
;
23683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23687 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (int)(arg1
)->GetOrientation();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_From_int(static_cast< int >(result
));
23701 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 PyObject
*resultobj
= 0;
23703 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23707 PyObject
*swig_obj
[1] ;
23709 if (!args
) SWIG_fail
;
23710 swig_obj
[0] = args
;
23711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23715 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (bool)(arg1
)->IsOk();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23731 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23732 PyObject
*resultobj
= 0;
23733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23734 wxString
*result
= 0 ;
23737 PyObject
*swig_obj
[1] ;
23739 if (!args
) SWIG_fail
;
23740 swig_obj
[0] = args
;
23741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23742 if (!SWIG_IsOK(res1
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23745 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23750 result
= (wxString
*) &_result_ref
;
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23768 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23769 PyObject
*resultobj
= 0;
23770 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23774 PyObject
*swig_obj
[1] ;
23776 if (!args
) SWIG_fail
;
23777 swig_obj
[0] = args
;
23778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23782 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (bool)(arg1
)->GetColour();
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23798 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23799 PyObject
*resultobj
= 0;
23800 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23801 wxDuplexMode result
;
23804 PyObject
*swig_obj
[1] ;
23806 if (!args
) SWIG_fail
;
23807 swig_obj
[0] = args
;
23808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23812 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_From_int(static_cast< int >(result
));
23826 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23827 PyObject
*resultobj
= 0;
23828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23829 wxPaperSize result
;
23832 PyObject
*swig_obj
[1] ;
23834 if (!args
) SWIG_fail
;
23835 swig_obj
[0] = args
;
23836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23840 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_From_int(static_cast< int >(result
));
23854 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23855 PyObject
*resultobj
= 0;
23856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23857 wxSize
*result
= 0 ;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23868 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23873 result
= (wxSize
*) &_result_ref
;
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23885 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23886 PyObject
*resultobj
= 0;
23887 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23891 PyObject
*swig_obj
[1] ;
23893 if (!args
) SWIG_fail
;
23894 swig_obj
[0] = args
;
23895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23896 if (!SWIG_IsOK(res1
)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23899 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (int)(arg1
)->GetQuality();
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= SWIG_From_int(static_cast< int >(result
));
23913 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23914 PyObject
*resultobj
= 0;
23915 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23919 PyObject
*swig_obj
[1] ;
23921 if (!args
) SWIG_fail
;
23922 swig_obj
[0] = args
;
23923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23924 if (!SWIG_IsOK(res1
)) {
23925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23927 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 result
= (wxPrintBin
)(arg1
)->GetBin();
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= SWIG_From_int(static_cast< int >(result
));
23941 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23942 PyObject
*resultobj
= 0;
23943 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23944 wxPrintMode result
;
23947 PyObject
*swig_obj
[1] ;
23949 if (!args
) SWIG_fail
;
23950 swig_obj
[0] = args
;
23951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23955 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_From_int(static_cast< int >(result
));
23969 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23970 PyObject
*resultobj
= 0;
23971 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23975 PyObject
*swig_obj
[1] ;
23977 if (!args
) SWIG_fail
;
23978 swig_obj
[0] = args
;
23979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23983 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_From_int(static_cast< int >(result
));
23997 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
= 0;
23999 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char * kwnames
[] = {
24008 (char *) "self",(char *) "v", NULL
24011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24013 if (!SWIG_IsOK(res1
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24016 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24018 if (!SWIG_IsOK(ecode2
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24021 arg2
= static_cast< int >(val2
);
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->SetNoCopies(arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= SWIG_Py_Void();
24035 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
= 0;
24037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char * kwnames
[] = {
24046 (char *) "self",(char *) "flag", NULL
24049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24051 if (!SWIG_IsOK(res1
)) {
24052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24054 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24055 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24056 if (!SWIG_IsOK(ecode2
)) {
24057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24059 arg2
= static_cast< bool >(val2
);
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 (arg1
)->SetCollate(arg2
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 resultobj
= SWIG_Py_Void();
24073 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
= 0;
24075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 char * kwnames
[] = {
24084 (char *) "self",(char *) "orient", NULL
24087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24089 if (!SWIG_IsOK(res1
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24092 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24094 if (!SWIG_IsOK(ecode2
)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24097 arg2
= static_cast< int >(val2
);
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 (arg1
)->SetOrientation(arg2
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_Py_Void();
24111 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
= 0;
24113 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24114 wxString
*arg2
= 0 ;
24117 bool temp2
= false ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 char * kwnames
[] = {
24121 (char *) "self",(char *) "name", NULL
24124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24129 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24131 arg2
= wxString_in_helper(obj1
);
24132 if (arg2
== NULL
) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_Py_Void();
24156 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
= 0;
24158 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 char * kwnames
[] = {
24167 (char *) "self",(char *) "colour", NULL
24170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24172 if (!SWIG_IsOK(res1
)) {
24173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24175 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24176 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24177 if (!SWIG_IsOK(ecode2
)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24180 arg2
= static_cast< bool >(val2
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->SetColour(arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= SWIG_Py_Void();
24194 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
= 0;
24196 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24197 wxDuplexMode arg2
;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char * kwnames
[] = {
24205 (char *) "self",(char *) "duplex", NULL
24208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24210 if (!SWIG_IsOK(res1
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24213 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24215 if (!SWIG_IsOK(ecode2
)) {
24216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24218 arg2
= static_cast< wxDuplexMode
>(val2
);
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 (arg1
)->SetDuplex(arg2
);
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_Py_Void();
24232 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24234 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 char * kwnames
[] = {
24243 (char *) "self",(char *) "sizeId", NULL
24246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24251 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24253 if (!SWIG_IsOK(ecode2
)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24256 arg2
= static_cast< wxPaperSize
>(val2
);
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 (arg1
)->SetPaperId(arg2
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_Py_Void();
24270 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
= 0;
24272 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 char * kwnames
[] = {
24280 (char *) "self",(char *) "sz", NULL
24283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24288 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_Py_Void();
24306 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 char * kwnames
[] = {
24317 (char *) "self",(char *) "quality", NULL
24320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24322 if (!SWIG_IsOK(res1
)) {
24323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24325 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24327 if (!SWIG_IsOK(ecode2
)) {
24328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24330 arg2
= static_cast< int >(val2
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 (arg1
)->SetQuality(arg2
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_Py_Void();
24344 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
= 0;
24346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 char * kwnames
[] = {
24355 (char *) "self",(char *) "bin", NULL
24358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24360 if (!SWIG_IsOK(res1
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24363 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24365 if (!SWIG_IsOK(ecode2
)) {
24366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24368 arg2
= static_cast< wxPrintBin
>(val2
);
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 (arg1
)->SetBin(arg2
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= SWIG_Py_Void();
24382 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
= 0;
24384 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 char * kwnames
[] = {
24393 (char *) "self",(char *) "printMode", NULL
24396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24398 if (!SWIG_IsOK(res1
)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24401 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24403 if (!SWIG_IsOK(ecode2
)) {
24404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24406 arg2
= static_cast< wxPrintMode
>(val2
);
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 (arg1
)->SetPrintMode(arg2
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= SWIG_Py_Void();
24420 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
= 0;
24422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 char * kwnames
[] = {
24431 (char *) "self",(char *) "media", NULL
24434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24436 if (!SWIG_IsOK(res1
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24439 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24441 if (!SWIG_IsOK(ecode2
)) {
24442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24444 arg2
= static_cast< int >(val2
);
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 (arg1
)->SetMedia(arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_Py_Void();
24458 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24459 PyObject
*resultobj
= 0;
24460 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24464 PyObject
*swig_obj
[1] ;
24466 if (!args
) SWIG_fail
;
24467 swig_obj
[0] = args
;
24468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24469 if (!SWIG_IsOK(res1
)) {
24470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24472 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24492 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24495 wxString
*arg2
= 0 ;
24498 bool temp2
= false ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 char * kwnames
[] = {
24502 (char *) "self",(char *) "filename", NULL
24505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24507 if (!SWIG_IsOK(res1
)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24510 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24512 arg2
= wxString_in_helper(obj1
);
24513 if (arg2
== NULL
) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 (arg1
)->SetFilename((wxString
const &)*arg2
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_Py_Void();
24537 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24538 PyObject
*resultobj
= 0;
24539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24540 PyObject
*result
= 0 ;
24543 PyObject
*swig_obj
[1] ;
24545 if (!args
) SWIG_fail
;
24546 swig_obj
[0] = args
;
24547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24548 if (!SWIG_IsOK(res1
)) {
24549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24551 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
;
24565 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= 0;
24567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24568 PyObject
*arg2
= (PyObject
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "data", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24582 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 wxPrintData_SetPrivData(arg1
,arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_Py_Void();
24597 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24601 return SWIG_Py_Void();
24604 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24605 return SWIG_Python_InitShadowInstance(args
);
24608 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24609 PyObject
*resultobj
= 0;
24610 wxPageSetupDialogData
*result
= 0 ;
24612 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24626 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24627 PyObject
*resultobj
= 0;
24628 wxPageSetupDialogData
*arg1
= 0 ;
24629 wxPageSetupDialogData
*result
= 0 ;
24633 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24641 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24655 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24656 PyObject
*resultobj
= 0;
24657 wxPrintData
*arg1
= 0 ;
24658 wxPageSetupDialogData
*result
= 0 ;
24662 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24670 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24684 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24688 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24691 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24696 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24697 _v
= SWIG_CheckState(res
);
24699 if (!_v
) goto check_2
;
24700 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24705 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24709 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24714 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24715 PyObject
*resultobj
= 0;
24716 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24719 PyObject
*swig_obj
[1] ;
24721 if (!args
) SWIG_fail
;
24722 swig_obj
[0] = args
;
24723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24727 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_Py_Void();
24742 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= 0;
24744 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char * kwnames
[] = {
24753 (char *) "self",(char *) "flag", NULL
24756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24758 if (!SWIG_IsOK(res1
)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24761 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24762 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24763 if (!SWIG_IsOK(ecode2
)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24766 arg2
= static_cast< bool >(val2
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 (arg1
)->EnableHelp(arg2
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_Py_Void();
24780 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
= 0;
24782 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 char * kwnames
[] = {
24791 (char *) "self",(char *) "flag", NULL
24794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24799 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24801 if (!SWIG_IsOK(ecode2
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24804 arg2
= static_cast< bool >(val2
);
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 (arg1
)->EnableMargins(arg2
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= SWIG_Py_Void();
24818 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
= 0;
24820 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 PyObject
* obj1
= 0 ;
24828 char * kwnames
[] = {
24829 (char *) "self",(char *) "flag", NULL
24832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24834 if (!SWIG_IsOK(res1
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24837 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24838 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24839 if (!SWIG_IsOK(ecode2
)) {
24840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24842 arg2
= static_cast< bool >(val2
);
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 (arg1
)->EnableOrientation(arg2
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_Py_Void();
24856 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
= 0;
24858 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char * kwnames
[] = {
24867 (char *) "self",(char *) "flag", NULL
24870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24872 if (!SWIG_IsOK(res1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24875 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24876 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24877 if (!SWIG_IsOK(ecode2
)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24880 arg2
= static_cast< bool >(val2
);
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->EnablePaper(arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_Py_Void();
24894 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= 0;
24896 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 PyObject
* obj1
= 0 ;
24904 char * kwnames
[] = {
24905 (char *) "self",(char *) "flag", NULL
24908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24910 if (!SWIG_IsOK(res1
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24913 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24914 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24915 if (!SWIG_IsOK(ecode2
)) {
24916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24918 arg2
= static_cast< bool >(val2
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->EnablePrinter(arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= SWIG_Py_Void();
24932 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24933 PyObject
*resultobj
= 0;
24934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24938 PyObject
*swig_obj
[1] ;
24940 if (!args
) SWIG_fail
;
24941 swig_obj
[0] = args
;
24942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24943 if (!SWIG_IsOK(res1
)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24946 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (bool)(arg1
)->GetDefaultMinMargins();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24962 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24963 PyObject
*resultobj
= 0;
24964 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24968 PyObject
*swig_obj
[1] ;
24970 if (!args
) SWIG_fail
;
24971 swig_obj
[0] = args
;
24972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24973 if (!SWIG_IsOK(res1
)) {
24974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24976 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= (bool)(arg1
)->GetEnableMargins();
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24992 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24993 PyObject
*resultobj
= 0;
24994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24998 PyObject
*swig_obj
[1] ;
25000 if (!args
) SWIG_fail
;
25001 swig_obj
[0] = args
;
25002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25003 if (!SWIG_IsOK(res1
)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25006 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 result
= (bool)(arg1
)->GetEnableOrientation();
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25022 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25023 PyObject
*resultobj
= 0;
25024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25028 PyObject
*swig_obj
[1] ;
25030 if (!args
) SWIG_fail
;
25031 swig_obj
[0] = args
;
25032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25036 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (bool)(arg1
)->GetEnablePaper();
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25052 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25053 PyObject
*resultobj
= 0;
25054 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25058 PyObject
*swig_obj
[1] ;
25060 if (!args
) SWIG_fail
;
25061 swig_obj
[0] = args
;
25062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25063 if (!SWIG_IsOK(res1
)) {
25064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25066 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (bool)(arg1
)->GetEnablePrinter();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25082 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25083 PyObject
*resultobj
= 0;
25084 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25088 PyObject
*swig_obj
[1] ;
25090 if (!args
) SWIG_fail
;
25091 swig_obj
[0] = args
;
25092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25096 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (bool)(arg1
)->GetEnableHelp();
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25112 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25113 PyObject
*resultobj
= 0;
25114 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25118 PyObject
*swig_obj
[1] ;
25120 if (!args
) SWIG_fail
;
25121 swig_obj
[0] = args
;
25122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25126 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (bool)(arg1
)->GetDefaultInfo();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25142 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25143 PyObject
*resultobj
= 0;
25144 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25148 PyObject
*swig_obj
[1] ;
25150 if (!args
) SWIG_fail
;
25151 swig_obj
[0] = args
;
25152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (arg1
)->GetMarginTopLeft();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25170 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 PyObject
*resultobj
= 0;
25172 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25176 PyObject
*swig_obj
[1] ;
25178 if (!args
) SWIG_fail
;
25179 swig_obj
[0] = args
;
25180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25181 if (!SWIG_IsOK(res1
)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25184 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (arg1
)->GetMarginBottomRight();
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25198 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25199 PyObject
*resultobj
= 0;
25200 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (arg1
)->GetMinMarginTopLeft();
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25226 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 PyObject
*resultobj
= 0;
25228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25232 PyObject
*swig_obj
[1] ;
25234 if (!args
) SWIG_fail
;
25235 swig_obj
[0] = args
;
25236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25240 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (arg1
)->GetMinMarginBottomRight();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25254 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25255 PyObject
*resultobj
= 0;
25256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25257 wxPaperSize result
;
25260 PyObject
*swig_obj
[1] ;
25262 if (!args
) SWIG_fail
;
25263 swig_obj
[0] = args
;
25264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25265 if (!SWIG_IsOK(res1
)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25268 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_From_int(static_cast< int >(result
));
25282 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25283 PyObject
*resultobj
= 0;
25284 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25288 PyObject
*swig_obj
[1] ;
25290 if (!args
) SWIG_fail
;
25291 swig_obj
[0] = args
;
25292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25293 if (!SWIG_IsOK(res1
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25296 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (arg1
)->GetPaperSize();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25310 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25311 PyObject
*resultobj
= 0;
25312 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25313 wxPrintData
*result
= 0 ;
25316 PyObject
*swig_obj
[1] ;
25318 if (!args
) SWIG_fail
;
25319 swig_obj
[0] = args
;
25320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25321 if (!SWIG_IsOK(res1
)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25324 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25329 result
= (wxPrintData
*) &_result_ref
;
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25341 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25342 PyObject
*resultobj
= 0;
25343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25347 PyObject
*swig_obj
[1] ;
25349 if (!args
) SWIG_fail
;
25350 swig_obj
[0] = args
;
25351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25352 if (!SWIG_IsOK(res1
)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25355 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (bool)(arg1
)->IsOk();
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25371 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
= 0;
25373 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 char * kwnames
[] = {
25382 (char *) "self",(char *) "flag", NULL
25385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25390 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25392 if (!SWIG_IsOK(ecode2
)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25395 arg2
= static_cast< bool >(val2
);
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 (arg1
)->SetDefaultInfo(arg2
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_Py_Void();
25409 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
= 0;
25411 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char * kwnames
[] = {
25420 (char *) "self",(char *) "flag", NULL
25423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25425 if (!SWIG_IsOK(res1
)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25428 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25429 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25430 if (!SWIG_IsOK(ecode2
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25433 arg2
= static_cast< bool >(val2
);
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->SetDefaultMinMargins(arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_Py_Void();
25447 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= 0;
25449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25450 wxPoint
*arg2
= 0 ;
25454 PyObject
* obj0
= 0 ;
25455 PyObject
* obj1
= 0 ;
25456 char * kwnames
[] = {
25457 (char *) "self",(char *) "pt", NULL
25460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25465 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= SWIG_Py_Void();
25483 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= 0;
25485 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25486 wxPoint
*arg2
= 0 ;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25492 char * kwnames
[] = {
25493 (char *) "self",(char *) "pt", NULL
25496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25501 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_Py_Void();
25519 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
= 0;
25521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25522 wxPoint
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char * kwnames
[] = {
25529 (char *) "self",(char *) "pt", NULL
25532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25534 if (!SWIG_IsOK(res1
)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_Py_Void();
25555 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
= 0;
25557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25558 wxPoint
*arg2
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "self",(char *) "pt", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25573 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25581 wxPyEndAllowThreads(__tstate
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_Py_Void();
25591 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
= 0;
25593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char * kwnames
[] = {
25602 (char *) "self",(char *) "id", NULL
25605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25607 if (!SWIG_IsOK(res1
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25610 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25612 if (!SWIG_IsOK(ecode2
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25615 arg2
= static_cast< wxPaperSize
>(val2
);
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 (arg1
)->SetPaperId(arg2
);
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= SWIG_Py_Void();
25629 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
= 0;
25631 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25636 PyObject
* obj0
= 0 ;
25637 PyObject
* obj1
= 0 ;
25638 char * kwnames
[] = {
25639 (char *) "self",(char *) "size", NULL
25642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25644 if (!SWIG_IsOK(res1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25647 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25650 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_Py_Void();
25665 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
= 0;
25667 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25668 wxPrintData
*arg2
= 0 ;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char * kwnames
[] = {
25676 (char *) "self",(char *) "printData", NULL
25679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25684 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25686 if (!SWIG_IsOK(res2
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25692 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= SWIG_Py_Void();
25706 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 PyObject
*resultobj
= 0;
25708 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25711 PyObject
*swig_obj
[1] ;
25713 if (!args
) SWIG_fail
;
25714 swig_obj
[0] = args
;
25715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25719 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 (arg1
)->CalculateIdFromPaperSize();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_Py_Void();
25733 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25738 PyObject
*swig_obj
[1] ;
25740 if (!args
) SWIG_fail
;
25741 swig_obj
[0] = args
;
25742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25743 if (!SWIG_IsOK(res1
)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25746 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 (arg1
)->CalculatePaperSizeFromId();
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_Py_Void();
25760 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25764 return SWIG_Py_Void();
25767 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 return SWIG_Python_InitShadowInstance(args
);
25771 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxWindow
*arg1
= (wxWindow
*) 0 ;
25774 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25775 wxPageSetupDialog
*result
= 0 ;
25780 PyObject
* obj0
= 0 ;
25781 PyObject
* obj1
= 0 ;
25782 char * kwnames
[] = {
25783 (char *) "parent",(char *) "data", NULL
25786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25788 if (!SWIG_IsOK(res1
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25794 if (!SWIG_IsOK(res2
)) {
25795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25797 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25800 if (!wxPyCheckForApp()) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25813 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 PyObject
*resultobj
= 0;
25815 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25818 PyObject
*swig_obj
[1] ;
25820 if (!args
) SWIG_fail
;
25821 swig_obj
[0] = args
;
25822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25826 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_Py_Void();
25841 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25842 PyObject
*resultobj
= 0;
25843 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25844 wxPageSetupDialogData
*result
= 0 ;
25847 PyObject
*swig_obj
[1] ;
25849 if (!args
) SWIG_fail
;
25850 swig_obj
[0] = args
;
25851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25855 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25860 result
= (wxPageSetupDialogData
*) &_result_ref
;
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25872 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25873 PyObject
*resultobj
= 0;
25874 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25875 wxPageSetupDialogData
*result
= 0 ;
25878 PyObject
*swig_obj
[1] ;
25880 if (!args
) SWIG_fail
;
25881 swig_obj
[0] = args
;
25882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25883 if (!SWIG_IsOK(res1
)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25886 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25891 result
= (wxPageSetupDialogData
*) &_result_ref
;
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25903 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25904 PyObject
*resultobj
= 0;
25905 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25909 PyObject
*swig_obj
[1] ;
25911 if (!args
) SWIG_fail
;
25912 swig_obj
[0] = args
;
25913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25914 if (!SWIG_IsOK(res1
)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25917 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (int)(arg1
)->ShowModal();
25921 wxPyEndAllowThreads(__tstate
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 resultobj
= SWIG_From_int(static_cast< int >(result
));
25931 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25934 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25935 return SWIG_Py_Void();
25938 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25939 return SWIG_Python_InitShadowInstance(args
);
25942 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25943 PyObject
*resultobj
= 0;
25944 wxPrintDialogData
*result
= 0 ;
25946 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25960 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25961 PyObject
*resultobj
= 0;
25962 wxPrintData
*arg1
= 0 ;
25963 wxPrintDialogData
*result
= 0 ;
25967 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25969 if (!SWIG_IsOK(res1
)) {
25970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25975 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25989 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25990 PyObject
*resultobj
= 0;
25991 wxPrintDialogData
*arg1
= 0 ;
25992 wxPrintDialogData
*result
= 0 ;
25996 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25998 if (!SWIG_IsOK(res1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26004 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26018 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26022 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26025 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26030 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26031 _v
= SWIG_CheckState(res
);
26033 if (!_v
) goto check_2
;
26034 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26039 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26043 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26048 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 PyObject
*resultobj
= 0;
26050 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26053 PyObject
*swig_obj
[1] ;
26055 if (!args
) SWIG_fail
;
26056 swig_obj
[0] = args
;
26057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26061 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26082 PyObject
*swig_obj
[1] ;
26084 if (!args
) SWIG_fail
;
26085 swig_obj
[0] = args
;
26086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26090 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_From_int(static_cast< int >(result
));
26104 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26105 PyObject
*resultobj
= 0;
26106 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26110 PyObject
*swig_obj
[1] ;
26112 if (!args
) SWIG_fail
;
26113 swig_obj
[0] = args
;
26114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26118 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_From_int(static_cast< int >(result
));
26132 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26133 PyObject
*resultobj
= 0;
26134 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26138 PyObject
*swig_obj
[1] ;
26140 if (!args
) SWIG_fail
;
26141 swig_obj
[0] = args
;
26142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26143 if (!SWIG_IsOK(res1
)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26146 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_From_int(static_cast< int >(result
));
26160 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26161 PyObject
*resultobj
= 0;
26162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26166 PyObject
*swig_obj
[1] ;
26168 if (!args
) SWIG_fail
;
26169 swig_obj
[0] = args
;
26170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26171 if (!SWIG_IsOK(res1
)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26174 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_From_int(static_cast< int >(result
));
26188 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26189 PyObject
*resultobj
= 0;
26190 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26194 PyObject
*swig_obj
[1] ;
26196 if (!args
) SWIG_fail
;
26197 swig_obj
[0] = args
;
26198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26202 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= SWIG_From_int(static_cast< int >(result
));
26216 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26217 PyObject
*resultobj
= 0;
26218 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26222 PyObject
*swig_obj
[1] ;
26224 if (!args
) SWIG_fail
;
26225 swig_obj
[0] = args
;
26226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26227 if (!SWIG_IsOK(res1
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26230 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26246 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26247 PyObject
*resultobj
= 0;
26248 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26252 PyObject
*swig_obj
[1] ;
26254 if (!args
) SWIG_fail
;
26255 swig_obj
[0] = args
;
26256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26257 if (!SWIG_IsOK(res1
)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26260 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26276 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26277 PyObject
*resultobj
= 0;
26278 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26282 PyObject
*swig_obj
[1] ;
26284 if (!args
) SWIG_fail
;
26285 swig_obj
[0] = args
;
26286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26287 if (!SWIG_IsOK(res1
)) {
26288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26290 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26306 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26307 PyObject
*resultobj
= 0;
26308 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26312 PyObject
*swig_obj
[1] ;
26314 if (!args
) SWIG_fail
;
26315 swig_obj
[0] = args
;
26316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26320 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26336 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char * kwnames
[] = {
26347 (char *) "self",(char *) "v", NULL
26350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26355 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26357 if (!SWIG_IsOK(ecode2
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26360 arg2
= static_cast< int >(val2
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetFromPage(arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char * kwnames
[] = {
26385 (char *) "self",(char *) "v", NULL
26388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26393 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26395 if (!SWIG_IsOK(ecode2
)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26398 arg2
= static_cast< int >(val2
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->SetToPage(arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char * kwnames
[] = {
26423 (char *) "self",(char *) "v", NULL
26426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26431 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26433 if (!SWIG_IsOK(ecode2
)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26436 arg2
= static_cast< int >(val2
);
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->SetMinPage(arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_Py_Void();
26450 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
= 0;
26452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char * kwnames
[] = {
26461 (char *) "self",(char *) "v", NULL
26464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26469 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26471 if (!SWIG_IsOK(ecode2
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26474 arg2
= static_cast< int >(val2
);
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->SetMaxPage(arg2
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_Py_Void();
26488 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
= 0;
26490 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 char * kwnames
[] = {
26499 (char *) "self",(char *) "v", NULL
26502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26507 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26509 if (!SWIG_IsOK(ecode2
)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26512 arg2
= static_cast< int >(val2
);
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->SetNoCopies(arg2
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_Py_Void();
26526 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
= 0;
26528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char * kwnames
[] = {
26537 (char *) "self",(char *) "flag", NULL
26540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26545 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26546 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26547 if (!SWIG_IsOK(ecode2
)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26550 arg2
= static_cast< bool >(val2
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 (arg1
)->SetAllPages(arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26564 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
= 0;
26566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "self",(char *) "flag", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26583 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26584 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26585 if (!SWIG_IsOK(ecode2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26588 arg2
= static_cast< bool >(val2
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->SetSelection(arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_Py_Void();
26602 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
= 0;
26604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "flag", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26621 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26622 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26623 if (!SWIG_IsOK(ecode2
)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26626 arg2
= static_cast< bool >(val2
);
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->SetCollate(arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_Py_Void();
26640 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "flag", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26659 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26661 if (!SWIG_IsOK(ecode2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26664 arg2
= static_cast< bool >(val2
);
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 (arg1
)->SetPrintToFile(arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= 0;
26680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26686 PyObject
* obj0
= 0 ;
26687 PyObject
* obj1
= 0 ;
26688 char * kwnames
[] = {
26689 (char *) "self",(char *) "flag", NULL
26692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26697 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26698 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26699 if (!SWIG_IsOK(ecode2
)) {
26700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26702 arg2
= static_cast< bool >(val2
);
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->EnablePrintToFile(arg2
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= 0;
26718 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 char * kwnames
[] = {
26727 (char *) "self",(char *) "flag", NULL
26730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26735 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26736 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26737 if (!SWIG_IsOK(ecode2
)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26740 arg2
= static_cast< bool >(val2
);
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 (arg1
)->EnableSelection(arg2
);
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_Py_Void();
26754 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
= 0;
26756 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 char * kwnames
[] = {
26765 (char *) "self",(char *) "flag", NULL
26768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26773 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26774 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26775 if (!SWIG_IsOK(ecode2
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26778 arg2
= static_cast< bool >(val2
);
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->EnablePageNumbers(arg2
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_Py_Void();
26792 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
= 0;
26794 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char * kwnames
[] = {
26803 (char *) "self",(char *) "flag", NULL
26806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26808 if (!SWIG_IsOK(res1
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26811 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26813 if (!SWIG_IsOK(ecode2
)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26816 arg2
= static_cast< bool >(val2
);
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 (arg1
)->EnableHelp(arg2
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_Py_Void();
26830 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26831 PyObject
*resultobj
= 0;
26832 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26836 PyObject
*swig_obj
[1] ;
26838 if (!args
) SWIG_fail
;
26839 swig_obj
[0] = args
;
26840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26844 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26860 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26861 PyObject
*resultobj
= 0;
26862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26866 PyObject
*swig_obj
[1] ;
26868 if (!args
) SWIG_fail
;
26869 swig_obj
[0] = args
;
26870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26871 if (!SWIG_IsOK(res1
)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26874 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26890 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26891 PyObject
*resultobj
= 0;
26892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26896 PyObject
*swig_obj
[1] ;
26898 if (!args
) SWIG_fail
;
26899 swig_obj
[0] = args
;
26900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26904 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26920 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26921 PyObject
*resultobj
= 0;
26922 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26926 PyObject
*swig_obj
[1] ;
26928 if (!args
) SWIG_fail
;
26929 swig_obj
[0] = args
;
26930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26934 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26950 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26951 PyObject
*resultobj
= 0;
26952 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26956 PyObject
*swig_obj
[1] ;
26958 if (!args
) SWIG_fail
;
26959 swig_obj
[0] = args
;
26960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26964 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26980 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26981 PyObject
*resultobj
= 0;
26982 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26983 wxPrintData
*result
= 0 ;
26986 PyObject
*swig_obj
[1] ;
26988 if (!args
) SWIG_fail
;
26989 swig_obj
[0] = args
;
26990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26994 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26999 result
= (wxPrintData
*) &_result_ref
;
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27011 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= 0;
27013 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27014 wxPrintData
*arg2
= 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "printData", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27030 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27032 if (!SWIG_IsOK(res2
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27038 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27056 return SWIG_Py_Void();
27059 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27060 return SWIG_Python_InitShadowInstance(args
);
27063 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27064 PyObject
*resultobj
= 0;
27065 wxWindow
*arg1
= (wxWindow
*) 0 ;
27066 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27067 wxPrintDialog
*result
= 0 ;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char * kwnames
[] = {
27075 (char *) "parent",(char *) "data", NULL
27078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27083 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27086 if (!SWIG_IsOK(res2
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27089 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27092 if (!wxPyCheckForApp()) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27105 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27106 PyObject
*resultobj
= 0;
27107 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27110 PyObject
*swig_obj
[1] ;
27112 if (!args
) SWIG_fail
;
27113 swig_obj
[0] = args
;
27114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27115 if (!SWIG_IsOK(res1
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27118 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= SWIG_Py_Void();
27133 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27134 PyObject
*resultobj
= 0;
27135 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27139 PyObject
*swig_obj
[1] ;
27141 if (!args
) SWIG_fail
;
27142 swig_obj
[0] = args
;
27143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27144 if (!SWIG_IsOK(res1
)) {
27145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27147 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 result
= (int)(arg1
)->ShowModal();
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_From_int(static_cast< int >(result
));
27161 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27162 PyObject
*resultobj
= 0;
27163 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27164 wxPrintDialogData
*result
= 0 ;
27167 PyObject
*swig_obj
[1] ;
27169 if (!args
) SWIG_fail
;
27170 swig_obj
[0] = args
;
27171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27172 if (!SWIG_IsOK(res1
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27175 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27180 result
= (wxPrintDialogData
*) &_result_ref
;
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27192 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27193 PyObject
*resultobj
= 0;
27194 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27195 wxPrintData
*result
= 0 ;
27198 PyObject
*swig_obj
[1] ;
27200 if (!args
) SWIG_fail
;
27201 swig_obj
[0] = args
;
27202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27206 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27210 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27211 result
= (wxPrintData
*) &_result_ref
;
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27223 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27224 PyObject
*resultobj
= 0;
27225 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27229 PyObject
*swig_obj
[1] ;
27231 if (!args
) SWIG_fail
;
27232 swig_obj
[0] = args
;
27233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27237 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 result
= (wxDC
*)(arg1
)->GetPrintDC();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27253 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27257 return SWIG_Py_Void();
27260 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27261 return SWIG_Python_InitShadowInstance(args
);
27264 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
= 0;
27266 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27267 wxPrinter
*result
= 0 ;
27270 PyObject
* obj0
= 0 ;
27271 char * kwnames
[] = {
27272 (char *) "data", NULL
27275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27281 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27284 if (!wxPyCheckForApp()) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (wxPrinter
*)new wxPrinter(arg1
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27297 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27298 PyObject
*resultobj
= 0;
27299 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27302 PyObject
*swig_obj
[1] ;
27304 if (!args
) SWIG_fail
;
27305 swig_obj
[0] = args
;
27306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27310 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= SWIG_Py_Void();
27325 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
= 0;
27327 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27328 wxWindow
*arg2
= (wxWindow
*) 0 ;
27329 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27330 wxWindow
*result
= 0 ;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 PyObject
* obj2
= 0 ;
27340 char * kwnames
[] = {
27341 (char *) "self",(char *) "parent",(char *) "printout", NULL
27344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27346 if (!SWIG_IsOK(res1
)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27349 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27351 if (!SWIG_IsOK(res2
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27355 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27356 if (!SWIG_IsOK(res3
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27359 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= wxPyMake_wxObject(result
, 0);
27375 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
= 0;
27377 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27378 wxWindow
*arg2
= (wxWindow
*) 0 ;
27379 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27380 wxString
*arg4
= 0 ;
27387 bool temp4
= false ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 PyObject
* obj2
= 0 ;
27391 PyObject
* obj3
= 0 ;
27392 char * kwnames
[] = {
27393 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27398 if (!SWIG_IsOK(res1
)) {
27399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27401 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27403 if (!SWIG_IsOK(res2
)) {
27404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27407 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27408 if (!SWIG_IsOK(res3
)) {
27409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27411 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27413 arg4
= wxString_in_helper(obj3
);
27414 if (arg4
== NULL
) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_Py_Void();
27438 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
= 0;
27440 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27441 wxWindow
*arg2
= (wxWindow
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 char * kwnames
[] = {
27450 (char *) "self",(char *) "parent", NULL
27453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27455 if (!SWIG_IsOK(res1
)) {
27456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27458 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27460 if (!SWIG_IsOK(res2
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27463 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= (bool)(arg1
)->Setup(arg2
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27479 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
= 0;
27481 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27482 wxWindow
*arg2
= (wxWindow
*) 0 ;
27483 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27484 bool arg4
= (bool) true ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 PyObject
* obj2
= 0 ;
27497 PyObject
* obj3
= 0 ;
27498 char * kwnames
[] = {
27499 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27507 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27509 if (!SWIG_IsOK(res2
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27513 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27514 if (!SWIG_IsOK(res3
)) {
27515 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27517 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27519 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27520 if (!SWIG_IsOK(ecode4
)) {
27521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27523 arg4
= static_cast< bool >(val4
);
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27540 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
= 0;
27542 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27543 wxWindow
*arg2
= (wxWindow
*) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 char * kwnames
[] = {
27552 (char *) "self",(char *) "parent", NULL
27555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27560 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27562 if (!SWIG_IsOK(res2
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27581 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 PyObject
*resultobj
= 0;
27583 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27584 wxPrintDialogData
*result
= 0 ;
27587 PyObject
*swig_obj
[1] ;
27589 if (!args
) SWIG_fail
;
27590 swig_obj
[0] = args
;
27591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27595 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27600 result
= (wxPrintDialogData
*) &_result_ref
;
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27612 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27613 PyObject
*resultobj
= 0;
27614 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27618 PyObject
*swig_obj
[1] ;
27620 if (!args
) SWIG_fail
;
27621 swig_obj
[0] = args
;
27622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27623 if (!SWIG_IsOK(res1
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27626 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 result
= (bool)(arg1
)->GetAbort();
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27642 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27643 PyObject
*resultobj
= 0;
27644 wxPrinterError result
;
27646 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 result
= (wxPrinterError
)wxPrinter::GetLastError();
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= SWIG_From_int(static_cast< int >(result
));
27660 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27663 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27664 return SWIG_Py_Void();
27667 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 return SWIG_Python_InitShadowInstance(args
);
27671 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
= 0;
27673 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27674 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27675 wxPyPrintout
*result
= 0 ;
27676 bool temp1
= false ;
27677 PyObject
* obj0
= 0 ;
27678 char * kwnames
[] = {
27679 (char *) "title", NULL
27682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27685 arg1
= wxString_in_helper(obj0
);
27686 if (arg1
== NULL
) SWIG_fail
;
27691 if (!wxPyCheckForApp()) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27712 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27713 PyObject
*resultobj
= 0;
27714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27717 PyObject
*swig_obj
[1] ;
27719 if (!args
) SWIG_fail
;
27720 swig_obj
[0] = args
;
27721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27725 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
= 0;
27742 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27743 PyObject
*arg2
= (PyObject
*) 0 ;
27744 PyObject
*arg3
= (PyObject
*) 0 ;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 PyObject
* obj2
= 0 ;
27750 char * kwnames
[] = {
27751 (char *) "self",(char *) "self",(char *) "_class", NULL
27754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27759 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_Py_Void();
27775 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27789 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27809 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27810 PyObject
*resultobj
= 0;
27811 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27815 PyObject
*swig_obj
[1] ;
27817 if (!args
) SWIG_fail
;
27818 swig_obj
[0] = args
;
27819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27820 if (!SWIG_IsOK(res1
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27823 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= (wxDC
*)(arg1
)->GetDC();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27839 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
= 0;
27841 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27842 wxDC
*arg2
= (wxDC
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 char * kwnames
[] = {
27850 (char *) "self",(char *) "dc", NULL
27853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27855 if (!SWIG_IsOK(res1
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27858 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27860 if (!SWIG_IsOK(res2
)) {
27861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27863 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 (arg1
)->SetDC(arg2
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_Py_Void();
27877 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
= 0;
27879 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "imageSize", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27895 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27898 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= SWIG_Py_Void();
27913 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
= 0;
27915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char * kwnames
[] = {
27923 (char *) "self",(char *) "imageSize", NULL
27926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27928 if (!SWIG_IsOK(res1
)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27931 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27934 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27953 wxPageSetupDialogData
*arg3
= 0 ;
27959 PyObject
* obj0
= 0 ;
27960 PyObject
* obj1
= 0 ;
27961 PyObject
* obj2
= 0 ;
27962 char * kwnames
[] = {
27963 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27971 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27974 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27976 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27977 if (!SWIG_IsOK(res3
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27983 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_Py_Void();
27997 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27998 PyObject
*resultobj
= 0;
27999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28002 PyObject
*swig_obj
[1] ;
28004 if (!args
) SWIG_fail
;
28005 swig_obj
[0] = args
;
28006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28010 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 (arg1
)->MapScreenSizeToPaper();
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= SWIG_Py_Void();
28024 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28025 PyObject
*resultobj
= 0;
28026 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28029 PyObject
*swig_obj
[1] ;
28031 if (!args
) SWIG_fail
;
28032 swig_obj
[0] = args
;
28033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28037 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28040 (arg1
)->MapScreenSizeToPage();
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 resultobj
= SWIG_Py_Void();
28051 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
= 0;
28053 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28054 wxPageSetupDialogData
*arg2
= 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "self",(char *) "pageSetupData", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28070 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28072 if (!SWIG_IsOK(res2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28078 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_Py_Void();
28092 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28093 PyObject
*resultobj
= 0;
28094 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28097 PyObject
*swig_obj
[1] ;
28099 if (!args
) SWIG_fail
;
28100 swig_obj
[0] = args
;
28101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28105 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 (arg1
)->MapScreenSizeToDevice();
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_Py_Void();
28119 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28120 PyObject
*resultobj
= 0;
28121 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28125 PyObject
*swig_obj
[1] ;
28127 if (!args
) SWIG_fail
;
28128 swig_obj
[0] = args
;
28129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28133 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28136 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28147 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28153 PyObject
*swig_obj
[1] ;
28155 if (!args
) SWIG_fail
;
28156 swig_obj
[0] = args
;
28157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28161 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28175 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
= 0;
28177 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28178 wxPageSetupDialogData
*arg2
= 0 ;
28184 PyObject
* obj0
= 0 ;
28185 PyObject
* obj1
= 0 ;
28186 char * kwnames
[] = {
28187 (char *) "self",(char *) "pageSetupData", NULL
28190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28195 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28197 if (!SWIG_IsOK(res2
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28203 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28217 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28218 PyObject
*resultobj
= 0;
28219 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28228 PyObject
* obj0
= 0 ;
28229 PyObject
* obj1
= 0 ;
28230 PyObject
* obj2
= 0 ;
28231 char * kwnames
[] = {
28232 (char *) "self",(char *) "x",(char *) "y", NULL
28235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28240 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28242 if (!SWIG_IsOK(ecode2
)) {
28243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28245 arg2
= static_cast< int >(val2
);
28246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28247 if (!SWIG_IsOK(ecode3
)) {
28248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28250 arg3
= static_cast< int >(val3
);
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_Py_Void();
28264 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
= 0;
28266 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28275 PyObject
* obj0
= 0 ;
28276 PyObject
* obj1
= 0 ;
28277 PyObject
* obj2
= 0 ;
28278 char * kwnames
[] = {
28279 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28284 if (!SWIG_IsOK(res1
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28287 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28289 if (!SWIG_IsOK(ecode2
)) {
28290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28292 arg2
= static_cast< int >(val2
);
28293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28294 if (!SWIG_IsOK(ecode3
)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28297 arg3
= static_cast< int >(val3
);
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 resultobj
= SWIG_Py_Void();
28311 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
= 0;
28313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 PyObject
* obj2
= 0 ;
28325 char * kwnames
[] = {
28326 (char *) "self",(char *) "w",(char *) "h", NULL
28329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28334 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28336 if (!SWIG_IsOK(ecode2
)) {
28337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28339 arg2
= static_cast< int >(val2
);
28340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28341 if (!SWIG_IsOK(ecode3
)) {
28342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28344 arg3
= static_cast< int >(val3
);
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_Py_Void();
28358 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28359 PyObject
*resultobj
= 0;
28360 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28361 int *arg2
= (int *) 0 ;
28362 int *arg3
= (int *) 0 ;
28366 int res2
= SWIG_TMPOBJ
;
28368 int res3
= SWIG_TMPOBJ
;
28369 PyObject
*swig_obj
[1] ;
28373 if (!args
) SWIG_fail
;
28374 swig_obj
[0] = args
;
28375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28379 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= SWIG_Py_Void();
28387 if (SWIG_IsTmpObj(res2
)) {
28388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28390 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28393 if (SWIG_IsTmpObj(res3
)) {
28394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28396 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28405 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
= 0;
28407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 PyObject
* obj2
= 0 ;
28419 char * kwnames
[] = {
28420 (char *) "self",(char *) "w",(char *) "h", NULL
28423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28428 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28430 if (!SWIG_IsOK(ecode2
)) {
28431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28433 arg2
= static_cast< int >(val2
);
28434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28435 if (!SWIG_IsOK(ecode3
)) {
28436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28438 arg3
= static_cast< int >(val3
);
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= SWIG_Py_Void();
28452 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28453 PyObject
*resultobj
= 0;
28454 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28455 int *arg2
= (int *) 0 ;
28456 int *arg3
= (int *) 0 ;
28460 int res2
= SWIG_TMPOBJ
;
28462 int res3
= SWIG_TMPOBJ
;
28463 PyObject
*swig_obj
[1] ;
28467 if (!args
) SWIG_fail
;
28468 swig_obj
[0] = args
;
28469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28473 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= SWIG_Py_Void();
28481 if (SWIG_IsTmpObj(res2
)) {
28482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28484 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28487 if (SWIG_IsTmpObj(res3
)) {
28488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28490 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28499 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
= 0;
28501 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28510 PyObject
* obj0
= 0 ;
28511 PyObject
* obj1
= 0 ;
28512 PyObject
* obj2
= 0 ;
28513 char * kwnames
[] = {
28514 (char *) "self",(char *) "x",(char *) "y", NULL
28517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28522 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28524 if (!SWIG_IsOK(ecode2
)) {
28525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28527 arg2
= static_cast< int >(val2
);
28528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28529 if (!SWIG_IsOK(ecode3
)) {
28530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28532 arg3
= static_cast< int >(val3
);
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 (arg1
)->SetPPIScreen(arg2
,arg3
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= SWIG_Py_Void();
28546 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28547 PyObject
*resultobj
= 0;
28548 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28549 int *arg2
= (int *) 0 ;
28550 int *arg3
= (int *) 0 ;
28554 int res2
= SWIG_TMPOBJ
;
28556 int res3
= SWIG_TMPOBJ
;
28557 PyObject
*swig_obj
[1] ;
28561 if (!args
) SWIG_fail
;
28562 swig_obj
[0] = args
;
28563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28564 if (!SWIG_IsOK(res1
)) {
28565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28567 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 (arg1
)->GetPPIScreen(arg2
,arg3
);
28571 wxPyEndAllowThreads(__tstate
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= SWIG_Py_Void();
28575 if (SWIG_IsTmpObj(res2
)) {
28576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28578 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28581 if (SWIG_IsTmpObj(res3
)) {
28582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28584 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28593 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28594 PyObject
*resultobj
= 0;
28595 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28604 PyObject
* obj0
= 0 ;
28605 PyObject
* obj1
= 0 ;
28606 PyObject
* obj2
= 0 ;
28607 char * kwnames
[] = {
28608 (char *) "self",(char *) "x",(char *) "y", NULL
28611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28616 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28618 if (!SWIG_IsOK(ecode2
)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28621 arg2
= static_cast< int >(val2
);
28622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28623 if (!SWIG_IsOK(ecode3
)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28626 arg3
= static_cast< int >(val3
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_Py_Void();
28640 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 PyObject
*resultobj
= 0;
28642 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28643 int *arg2
= (int *) 0 ;
28644 int *arg3
= (int *) 0 ;
28648 int res2
= SWIG_TMPOBJ
;
28650 int res3
= SWIG_TMPOBJ
;
28651 PyObject
*swig_obj
[1] ;
28655 if (!args
) SWIG_fail
;
28656 swig_obj
[0] = args
;
28657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28661 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_Py_Void();
28669 if (SWIG_IsTmpObj(res2
)) {
28670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28672 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28675 if (SWIG_IsTmpObj(res3
)) {
28676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28678 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28687 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
= 0;
28689 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28694 PyObject
* obj0
= 0 ;
28695 PyObject
* obj1
= 0 ;
28696 char * kwnames
[] = {
28697 (char *) "self",(char *) "paperRectPixels", NULL
28700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28705 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= SWIG_Py_Void();
28723 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28724 PyObject
*resultobj
= 0;
28725 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28729 PyObject
*swig_obj
[1] ;
28731 if (!args
) SWIG_fail
;
28732 swig_obj
[0] = args
;
28733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28734 if (!SWIG_IsOK(res1
)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28737 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28741 wxPyEndAllowThreads(__tstate
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28751 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28752 PyObject
*resultobj
= 0;
28753 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28757 PyObject
*swig_obj
[1] ;
28759 if (!args
) SWIG_fail
;
28760 swig_obj
[0] = args
;
28761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28762 if (!SWIG_IsOK(res1
)) {
28763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28765 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 result
= (bool)(arg1
)->IsPreview();
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28781 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
= 0;
28783 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 char * kwnames
[] = {
28792 (char *) "self",(char *) "p", NULL
28795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28797 if (!SWIG_IsOK(res1
)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28800 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28801 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28802 if (!SWIG_IsOK(ecode2
)) {
28803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28805 arg2
= static_cast< bool >(val2
);
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 (arg1
)->SetIsPreview(arg2
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_Py_Void();
28819 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
= 0;
28821 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 PyObject
* obj2
= 0 ;
28834 char * kwnames
[] = {
28835 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28840 if (!SWIG_IsOK(res1
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28843 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28845 if (!SWIG_IsOK(ecode2
)) {
28846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28848 arg2
= static_cast< int >(val2
);
28849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28850 if (!SWIG_IsOK(ecode3
)) {
28851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28853 arg3
= static_cast< int >(val3
);
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28869 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28870 PyObject
*resultobj
= 0;
28871 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28874 PyObject
*swig_obj
[1] ;
28876 if (!args
) SWIG_fail
;
28877 swig_obj
[0] = args
;
28878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28879 if (!SWIG_IsOK(res1
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28882 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 (arg1
)->OnEndDocument();
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= SWIG_Py_Void();
28896 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28897 PyObject
*resultobj
= 0;
28898 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28901 PyObject
*swig_obj
[1] ;
28903 if (!args
) SWIG_fail
;
28904 swig_obj
[0] = args
;
28905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28906 if (!SWIG_IsOK(res1
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28909 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 (arg1
)->OnBeginPrinting();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= SWIG_Py_Void();
28923 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28924 PyObject
*resultobj
= 0;
28925 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28928 PyObject
*swig_obj
[1] ;
28930 if (!args
) SWIG_fail
;
28931 swig_obj
[0] = args
;
28932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28933 if (!SWIG_IsOK(res1
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28936 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 (arg1
)->OnEndPrinting();
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= SWIG_Py_Void();
28950 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28951 PyObject
*resultobj
= 0;
28952 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28955 PyObject
*swig_obj
[1] ;
28957 if (!args
) SWIG_fail
;
28958 swig_obj
[0] = args
;
28959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28960 if (!SWIG_IsOK(res1
)) {
28961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28963 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 (arg1
)->OnPreparePrinting();
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_Py_Void();
28977 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
= 0;
28979 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 char * kwnames
[] = {
28989 (char *) "self",(char *) "page", NULL
28992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28994 if (!SWIG_IsOK(res1
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28997 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28999 if (!SWIG_IsOK(ecode2
)) {
29000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29002 arg2
= static_cast< int >(val2
);
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (bool)(arg1
)->HasPage(arg2
);
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29018 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29019 PyObject
*resultobj
= 0;
29020 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29021 int *arg2
= (int *) 0 ;
29022 int *arg3
= (int *) 0 ;
29023 int *arg4
= (int *) 0 ;
29024 int *arg5
= (int *) 0 ;
29028 int res2
= SWIG_TMPOBJ
;
29030 int res3
= SWIG_TMPOBJ
;
29032 int res4
= SWIG_TMPOBJ
;
29034 int res5
= SWIG_TMPOBJ
;
29035 PyObject
*swig_obj
[1] ;
29041 if (!args
) SWIG_fail
;
29042 swig_obj
[0] = args
;
29043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29044 if (!SWIG_IsOK(res1
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29047 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= SWIG_Py_Void();
29055 if (SWIG_IsTmpObj(res2
)) {
29056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29058 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29061 if (SWIG_IsTmpObj(res3
)) {
29062 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29064 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29065 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29067 if (SWIG_IsTmpObj(res4
)) {
29068 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29070 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29073 if (SWIG_IsTmpObj(res5
)) {
29074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29076 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29085 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29088 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29089 return SWIG_Py_Void();
29092 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29093 return SWIG_Python_InitShadowInstance(args
);
29096 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29099 wxWindow
*arg2
= (wxWindow
*) 0 ;
29100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29104 long arg5
= (long) 0 ;
29105 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29107 wxPreviewCanvas
*result
= 0 ;
29116 bool temp6
= false ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 PyObject
* obj3
= 0 ;
29121 PyObject
* obj4
= 0 ;
29122 PyObject
* obj5
= 0 ;
29123 char * kwnames
[] = {
29124 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29129 if (!SWIG_IsOK(res1
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29132 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29134 if (!SWIG_IsOK(res2
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29137 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29151 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29152 if (!SWIG_IsOK(ecode5
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29155 arg5
= static_cast< long >(val5
);
29159 arg6
= wxString_in_helper(obj5
);
29160 if (arg6
== NULL
) SWIG_fail
;
29165 if (!wxPyCheckForApp()) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29186 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29189 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29190 return SWIG_Py_Void();
29193 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29194 return SWIG_Python_InitShadowInstance(args
);
29197 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
= 0;
29199 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29200 wxFrame
*arg2
= (wxFrame
*) 0 ;
29201 wxString
*arg3
= 0 ;
29202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29206 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29207 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29208 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29209 wxPreviewFrame
*result
= 0 ;
29213 bool temp3
= false ;
29218 bool temp7
= false ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 PyObject
* obj2
= 0 ;
29222 PyObject
* obj3
= 0 ;
29223 PyObject
* obj4
= 0 ;
29224 PyObject
* obj5
= 0 ;
29225 PyObject
* obj6
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29236 if (!SWIG_IsOK(res2
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29239 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29241 arg3
= wxString_in_helper(obj2
);
29242 if (arg3
== NULL
) SWIG_fail
;
29248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29258 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29259 if (!SWIG_IsOK(ecode6
)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29262 arg6
= static_cast< long >(val6
);
29266 arg7
= wxString_in_helper(obj6
);
29267 if (arg7
== NULL
) SWIG_fail
;
29272 if (!wxPyCheckForApp()) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29301 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29302 PyObject
*resultobj
= 0;
29303 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29306 PyObject
*swig_obj
[1] ;
29308 if (!args
) SWIG_fail
;
29309 swig_obj
[0] = args
;
29310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29314 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 (arg1
)->Initialize();
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29321 resultobj
= SWIG_Py_Void();
29328 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29329 PyObject
*resultobj
= 0;
29330 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29333 PyObject
*swig_obj
[1] ;
29335 if (!args
) SWIG_fail
;
29336 swig_obj
[0] = args
;
29337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29341 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 (arg1
)->CreateControlBar();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29356 PyObject
*resultobj
= 0;
29357 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29360 PyObject
*swig_obj
[1] ;
29362 if (!args
) SWIG_fail
;
29363 swig_obj
[0] = args
;
29364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29365 if (!SWIG_IsOK(res1
)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29368 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 (arg1
)->CreateCanvas();
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= SWIG_Py_Void();
29382 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29383 PyObject
*resultobj
= 0;
29384 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29385 wxPreviewControlBar
*result
= 0 ;
29388 PyObject
*swig_obj
[1] ;
29390 if (!args
) SWIG_fail
;
29391 swig_obj
[0] = args
;
29392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29396 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29410 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29413 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29414 return SWIG_Py_Void();
29417 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29418 return SWIG_Python_InitShadowInstance(args
);
29421 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
= 0;
29423 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29425 wxWindow
*arg3
= (wxWindow
*) 0 ;
29426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29430 long arg6
= (long) wxTAB_TRAVERSAL
;
29431 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29433 wxPreviewControlBar
*result
= 0 ;
29444 bool temp7
= false ;
29445 PyObject
* obj0
= 0 ;
29446 PyObject
* obj1
= 0 ;
29447 PyObject
* obj2
= 0 ;
29448 PyObject
* obj3
= 0 ;
29449 PyObject
* obj4
= 0 ;
29450 PyObject
* obj5
= 0 ;
29451 PyObject
* obj6
= 0 ;
29452 char * kwnames
[] = {
29453 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29461 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29462 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29463 if (!SWIG_IsOK(ecode2
)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29466 arg2
= static_cast< long >(val2
);
29467 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29468 if (!SWIG_IsOK(res3
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29471 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29485 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29486 if (!SWIG_IsOK(ecode6
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29489 arg6
= static_cast< long >(val6
);
29493 arg7
= wxString_in_helper(obj6
);
29494 if (arg7
== NULL
) SWIG_fail
;
29499 if (!wxPyCheckForApp()) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29520 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29521 PyObject
*resultobj
= 0;
29522 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29526 PyObject
*swig_obj
[1] ;
29528 if (!args
) SWIG_fail
;
29529 swig_obj
[0] = args
;
29530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29531 if (!SWIG_IsOK(res1
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29534 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= (int)(arg1
)->GetZoomControl();
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_From_int(static_cast< int >(result
));
29548 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
= 0;
29550 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj1
= 0 ;
29558 char * kwnames
[] = {
29559 (char *) "self",(char *) "zoom", NULL
29562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29567 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29569 if (!SWIG_IsOK(ecode2
)) {
29570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29572 arg2
= static_cast< int >(val2
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->SetZoomControl(arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29587 PyObject
*resultobj
= 0;
29588 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29589 wxPrintPreview
*result
= 0 ;
29592 PyObject
*swig_obj
[1] ;
29594 if (!args
) SWIG_fail
;
29595 swig_obj
[0] = args
;
29596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29600 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29614 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29615 PyObject
*resultobj
= 0;
29616 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29619 PyObject
*swig_obj
[1] ;
29621 if (!args
) SWIG_fail
;
29622 swig_obj
[0] = args
;
29623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29624 if (!SWIG_IsOK(res1
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29627 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= SWIG_Py_Void();
29641 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29642 PyObject
*resultobj
= 0;
29643 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29646 PyObject
*swig_obj
[1] ;
29648 if (!args
) SWIG_fail
;
29649 swig_obj
[0] = args
;
29650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29651 if (!SWIG_IsOK(res1
)) {
29652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29654 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 (arg1
)->OnPrevious();
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= SWIG_Py_Void();
29668 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29669 PyObject
*resultobj
= 0;
29670 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29673 PyObject
*swig_obj
[1] ;
29675 if (!args
) SWIG_fail
;
29676 swig_obj
[0] = args
;
29677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29681 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 resultobj
= SWIG_Py_Void();
29695 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29696 PyObject
*resultobj
= 0;
29697 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29700 PyObject
*swig_obj
[1] ;
29702 if (!args
) SWIG_fail
;
29703 swig_obj
[0] = args
;
29704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29705 if (!SWIG_IsOK(res1
)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29708 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= SWIG_Py_Void();
29722 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29723 PyObject
*resultobj
= 0;
29724 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29727 PyObject
*swig_obj
[1] ;
29729 if (!args
) SWIG_fail
;
29730 swig_obj
[0] = args
;
29731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29735 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= SWIG_Py_Void();
29749 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29752 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29753 return SWIG_Py_Void();
29756 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29757 return SWIG_Python_InitShadowInstance(args
);
29760 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29761 PyObject
*resultobj
= 0;
29762 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29763 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29764 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29765 wxPrintPreview
*result
= 0 ;
29771 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29772 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29773 if (!SWIG_IsOK(res1
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29776 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29777 if (!SWIG_IsOK(res2
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29781 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29782 if (!SWIG_IsOK(res3
)) {
29783 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29785 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29788 if (!wxPyCheckForApp()) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29801 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29802 PyObject
*resultobj
= 0;
29803 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29804 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29805 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29806 wxPrintPreview
*result
= 0 ;
29812 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29813 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29817 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29818 if (!SWIG_IsOK(res2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29821 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29822 if (!SWIG_IsOK(res3
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29825 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29827 if (!wxPyCheckForApp()) SWIG_fail
;
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29840 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29844 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29846 if ((argc
>= 2) && (argc
<= 3)) {
29851 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29852 _v
= SWIG_CheckState(res
);
29854 if (!_v
) goto check_1
;
29856 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29861 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29865 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29870 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29871 PyObject
*resultobj
= 0;
29872 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29875 PyObject
*swig_obj
[1] ;
29877 if (!args
) SWIG_fail
;
29878 swig_obj
[0] = args
;
29879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29880 if (!SWIG_IsOK(res1
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29883 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= SWIG_Py_Void();
29898 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29899 PyObject
*resultobj
= 0;
29900 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29907 PyObject
* obj0
= 0 ;
29908 PyObject
* obj1
= 0 ;
29909 char * kwnames
[] = {
29910 (char *) "self",(char *) "pageNum", NULL
29913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29915 if (!SWIG_IsOK(res1
)) {
29916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29918 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29920 if (!SWIG_IsOK(ecode2
)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29923 arg2
= static_cast< int >(val2
);
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29939 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 PyObject
*resultobj
= 0;
29941 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29945 PyObject
*swig_obj
[1] ;
29947 if (!args
) SWIG_fail
;
29948 swig_obj
[0] = args
;
29949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29953 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= (int)(arg1
)->GetCurrentPage();
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_From_int(static_cast< int >(result
));
29967 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
= 0;
29969 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29970 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 char * kwnames
[] = {
29977 (char *) "self",(char *) "printout", NULL
29980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29982 if (!SWIG_IsOK(res1
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29985 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29986 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29987 if (!SWIG_IsOK(res2
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 (arg1
)->SetPrintout(arg2
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_Py_Void();
30003 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30004 PyObject
*resultobj
= 0;
30005 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30006 wxPyPrintout
*result
= 0 ;
30009 PyObject
*swig_obj
[1] ;
30011 if (!args
) SWIG_fail
;
30012 swig_obj
[0] = args
;
30013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30017 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= wxPyMake_wxObject(result
, 0);
30033 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30034 PyObject
*resultobj
= 0;
30035 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30036 wxPyPrintout
*result
= 0 ;
30039 PyObject
*swig_obj
[1] ;
30041 if (!args
) SWIG_fail
;
30042 swig_obj
[0] = args
;
30043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30047 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= wxPyMake_wxObject(result
, 0);
30063 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
= 0;
30065 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30066 wxFrame
*arg2
= (wxFrame
*) 0 ;
30071 PyObject
* obj0
= 0 ;
30072 PyObject
* obj1
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "frame", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30082 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30084 if (!SWIG_IsOK(res2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30087 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 (arg1
)->SetFrame(arg2
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= SWIG_Py_Void();
30101 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
= 0;
30103 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30104 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "canvas", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30120 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30122 if (!SWIG_IsOK(res2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30125 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->SetCanvas(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_Py_Void();
30139 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30140 PyObject
*resultobj
= 0;
30141 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30142 wxFrame
*result
= 0 ;
30145 PyObject
*swig_obj
[1] ;
30147 if (!args
) SWIG_fail
;
30148 swig_obj
[0] = args
;
30149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30150 if (!SWIG_IsOK(res1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30153 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (wxFrame
*)(arg1
)->GetFrame();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= wxPyMake_wxObject(result
, 0);
30169 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30170 PyObject
*resultobj
= 0;
30171 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30172 wxPreviewCanvas
*result
= 0 ;
30175 PyObject
*swig_obj
[1] ;
30177 if (!args
) SWIG_fail
;
30178 swig_obj
[0] = args
;
30179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30180 if (!SWIG_IsOK(res1
)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30183 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30197 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
= 0;
30199 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30200 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30209 PyObject
* obj0
= 0 ;
30210 PyObject
* obj1
= 0 ;
30211 PyObject
* obj2
= 0 ;
30212 char * kwnames
[] = {
30213 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30221 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30223 if (!SWIG_IsOK(res2
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30226 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30227 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30228 if (!SWIG_IsOK(res3
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30234 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30250 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
= 0;
30252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30253 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 PyObject
* obj2
= 0 ;
30265 char * kwnames
[] = {
30266 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30274 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30276 if (!SWIG_IsOK(res2
)) {
30277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30279 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30280 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30281 if (!SWIG_IsOK(res3
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30287 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30303 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
= 0;
30305 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 char * kwnames
[] = {
30315 (char *) "self",(char *) "pageNum", NULL
30318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30320 if (!SWIG_IsOK(res1
)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30323 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30325 if (!SWIG_IsOK(ecode2
)) {
30326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30328 arg2
= static_cast< int >(val2
);
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 result
= (bool)(arg1
)->RenderPage(arg2
);
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30344 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
= 0;
30346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30347 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 char * kwnames
[] = {
30355 (char *) "self",(char *) "canvas", NULL
30358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30363 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30365 if (!SWIG_IsOK(res2
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30368 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 (arg1
)->AdjustScrollbars(arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= SWIG_Py_Void();
30382 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30383 PyObject
*resultobj
= 0;
30384 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30385 wxPrintDialogData
*result
= 0 ;
30388 PyObject
*swig_obj
[1] ;
30390 if (!args
) SWIG_fail
;
30391 swig_obj
[0] = args
;
30392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30396 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30401 result
= (wxPrintDialogData
*) &_result_ref
;
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30413 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
= 0;
30415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 char * kwnames
[] = {
30424 (char *) "self",(char *) "percent", NULL
30427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30429 if (!SWIG_IsOK(res1
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30432 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30434 if (!SWIG_IsOK(ecode2
)) {
30435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30437 arg2
= static_cast< int >(val2
);
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->SetZoom(arg2
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_Py_Void();
30451 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30452 PyObject
*resultobj
= 0;
30453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30457 PyObject
*swig_obj
[1] ;
30459 if (!args
) SWIG_fail
;
30460 swig_obj
[0] = args
;
30461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30462 if (!SWIG_IsOK(res1
)) {
30463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30465 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 result
= (int)(arg1
)->GetZoom();
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= SWIG_From_int(static_cast< int >(result
));
30479 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30480 PyObject
*resultobj
= 0;
30481 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30485 PyObject
*swig_obj
[1] ;
30487 if (!args
) SWIG_fail
;
30488 swig_obj
[0] = args
;
30489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30493 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 result
= (int)(arg1
)->GetMaxPage();
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= SWIG_From_int(static_cast< int >(result
));
30507 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30508 PyObject
*resultobj
= 0;
30509 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30513 PyObject
*swig_obj
[1] ;
30515 if (!args
) SWIG_fail
;
30516 swig_obj
[0] = args
;
30517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30521 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 result
= (int)(arg1
)->GetMinPage();
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= SWIG_From_int(static_cast< int >(result
));
30535 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30536 PyObject
*resultobj
= 0;
30537 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30541 PyObject
*swig_obj
[1] ;
30543 if (!args
) SWIG_fail
;
30544 swig_obj
[0] = args
;
30545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30546 if (!SWIG_IsOK(res1
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30549 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 result
= (bool)(arg1
)->IsOk();
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30565 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
= 0;
30567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 char * kwnames
[] = {
30576 (char *) "self",(char *) "ok", NULL
30579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30581 if (!SWIG_IsOK(res1
)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30584 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30586 if (!SWIG_IsOK(ecode2
)) {
30587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30589 arg2
= static_cast< bool >(val2
);
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 (arg1
)->SetOk(arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= SWIG_Py_Void();
30603 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
= 0;
30605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char * kwnames
[] = {
30615 (char *) "self",(char *) "interactive", NULL
30618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30620 if (!SWIG_IsOK(res1
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30623 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30625 if (!SWIG_IsOK(ecode2
)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30628 arg2
= static_cast< bool >(val2
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 result
= (bool)(arg1
)->Print(arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30644 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30645 PyObject
*resultobj
= 0;
30646 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30649 PyObject
*swig_obj
[1] ;
30651 if (!args
) SWIG_fail
;
30652 swig_obj
[0] = args
;
30653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30654 if (!SWIG_IsOK(res1
)) {
30655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30657 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 (arg1
)->DetermineScaling();
30661 wxPyEndAllowThreads(__tstate
);
30662 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= SWIG_Py_Void();
30671 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30675 return SWIG_Py_Void();
30678 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30679 return SWIG_Python_InitShadowInstance(args
);
30682 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30683 PyObject
*resultobj
= 0;
30684 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30685 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30686 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30687 wxPyPrintPreview
*result
= 0 ;
30693 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30694 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30698 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30699 if (!SWIG_IsOK(res2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30703 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30704 if (!SWIG_IsOK(res3
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30707 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30710 if (!wxPyCheckForApp()) SWIG_fail
;
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30723 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30724 PyObject
*resultobj
= 0;
30725 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30726 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30727 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30728 wxPyPrintPreview
*result
= 0 ;
30734 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30739 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30740 if (!SWIG_IsOK(res2
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30743 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30744 if (!SWIG_IsOK(res3
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30747 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30749 if (!wxPyCheckForApp()) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30762 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30766 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30768 if ((argc
>= 2) && (argc
<= 3)) {
30773 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30774 _v
= SWIG_CheckState(res
);
30776 if (!_v
) goto check_1
;
30778 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30783 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30787 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30792 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
= 0;
30794 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30795 PyObject
*arg2
= (PyObject
*) 0 ;
30796 PyObject
*arg3
= (PyObject
*) 0 ;
30799 PyObject
* obj0
= 0 ;
30800 PyObject
* obj1
= 0 ;
30801 PyObject
* obj2
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "self",(char *) "_class", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30811 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= SWIG_Py_Void();
30827 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30830 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30831 return SWIG_Py_Void();
30834 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 return SWIG_Python_InitShadowInstance(args
);
30838 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
= 0;
30840 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30841 wxFrame
*arg2
= (wxFrame
*) 0 ;
30842 wxString
*arg3
= 0 ;
30843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30847 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30848 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30850 wxPyPreviewFrame
*result
= 0 ;
30855 bool temp3
= false ;
30860 bool temp7
= false ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 PyObject
* obj2
= 0 ;
30864 PyObject
* obj3
= 0 ;
30865 PyObject
* obj4
= 0 ;
30866 PyObject
* obj5
= 0 ;
30867 PyObject
* obj6
= 0 ;
30868 char * kwnames
[] = {
30869 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30877 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30879 if (!SWIG_IsOK(res2
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30882 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30884 arg3
= wxString_in_helper(obj2
);
30885 if (arg3
== NULL
) SWIG_fail
;
30891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30901 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30902 if (!SWIG_IsOK(ecode6
)) {
30903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30905 arg6
= static_cast< long >(val6
);
30909 arg7
= wxString_in_helper(obj6
);
30910 if (arg7
== NULL
) SWIG_fail
;
30915 if (!wxPyCheckForApp()) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30944 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
= 0;
30946 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30947 PyObject
*arg2
= (PyObject
*) 0 ;
30948 PyObject
*arg3
= (PyObject
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 PyObject
* obj2
= 0 ;
30954 char * kwnames
[] = {
30955 (char *) "self",(char *) "self",(char *) "_class", NULL
30958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30963 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_Py_Void();
30979 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= 0;
30981 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30982 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 char * kwnames
[] = {
30990 (char *) "self",(char *) "canvas", NULL
30993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30995 if (!SWIG_IsOK(res1
)) {
30996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30998 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31000 if (!SWIG_IsOK(res2
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31003 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 (arg1
)->SetPreviewCanvas(arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= SWIG_Py_Void();
31017 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
= 0;
31019 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31020 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char * kwnames
[] = {
31028 (char *) "self",(char *) "bar", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31036 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31038 if (!SWIG_IsOK(res2
)) {
31039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31041 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 (arg1
)->SetControlBar(arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= SWIG_Py_Void();
31055 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31056 PyObject
*resultobj
= 0;
31057 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31060 PyObject
*swig_obj
[1] ;
31062 if (!args
) SWIG_fail
;
31063 swig_obj
[0] = args
;
31064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31065 if (!SWIG_IsOK(res1
)) {
31066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31068 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 (arg1
)->Initialize();
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= SWIG_Py_Void();
31082 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31083 PyObject
*resultobj
= 0;
31084 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31087 PyObject
*swig_obj
[1] ;
31089 if (!args
) SWIG_fail
;
31090 swig_obj
[0] = args
;
31091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31095 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 (arg1
)->CreateCanvas();
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= SWIG_Py_Void();
31109 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31110 PyObject
*resultobj
= 0;
31111 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31114 PyObject
*swig_obj
[1] ;
31116 if (!args
) SWIG_fail
;
31117 swig_obj
[0] = args
;
31118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31119 if (!SWIG_IsOK(res1
)) {
31120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31122 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 (arg1
)->CreateControlBar();
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 resultobj
= SWIG_Py_Void();
31136 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31139 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31140 return SWIG_Py_Void();
31143 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31144 return SWIG_Python_InitShadowInstance(args
);
31147 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
= 0;
31149 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31151 wxWindow
*arg3
= (wxWindow
*) 0 ;
31152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31156 long arg6
= (long) 0 ;
31157 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31159 wxPyPreviewControlBar
*result
= 0 ;
31170 bool temp7
= false ;
31171 PyObject
* obj0
= 0 ;
31172 PyObject
* obj1
= 0 ;
31173 PyObject
* obj2
= 0 ;
31174 PyObject
* obj3
= 0 ;
31175 PyObject
* obj4
= 0 ;
31176 PyObject
* obj5
= 0 ;
31177 PyObject
* obj6
= 0 ;
31178 char * kwnames
[] = {
31179 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31184 if (!SWIG_IsOK(res1
)) {
31185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31187 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31189 if (!SWIG_IsOK(ecode2
)) {
31190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31192 arg2
= static_cast< long >(val2
);
31193 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31194 if (!SWIG_IsOK(res3
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31197 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31212 if (!SWIG_IsOK(ecode6
)) {
31213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31215 arg6
= static_cast< long >(val6
);
31219 arg7
= wxString_in_helper(obj6
);
31220 if (arg7
== NULL
) SWIG_fail
;
31225 if (!wxPyCheckForApp()) SWIG_fail
;
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31246 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31249 PyObject
*arg2
= (PyObject
*) 0 ;
31250 PyObject
*arg3
= (PyObject
*) 0 ;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 PyObject
* obj2
= 0 ;
31256 char * kwnames
[] = {
31257 (char *) "self",(char *) "self",(char *) "_class", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31265 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31271 wxPyEndAllowThreads(__tstate
);
31272 if (PyErr_Occurred()) SWIG_fail
;
31274 resultobj
= SWIG_Py_Void();
31281 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31282 PyObject
*resultobj
= 0;
31283 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31284 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 char * kwnames
[] = {
31292 (char *) "self",(char *) "preview", NULL
31295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31297 if (!SWIG_IsOK(res1
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31300 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31302 if (!SWIG_IsOK(res2
)) {
31303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31305 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 (arg1
)->SetPrintPreview(arg2
);
31309 wxPyEndAllowThreads(__tstate
);
31310 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= SWIG_Py_Void();
31319 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31320 PyObject
*resultobj
= 0;
31321 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31324 PyObject
*swig_obj
[1] ;
31326 if (!args
) SWIG_fail
;
31327 swig_obj
[0] = args
;
31328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31329 if (!SWIG_IsOK(res1
)) {
31330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31332 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 (arg1
)->CreateButtons();
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_Py_Void();
31346 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
= 0;
31348 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 char * kwnames
[] = {
31357 (char *) "self",(char *) "zoom", NULL
31360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31362 if (!SWIG_IsOK(res1
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31365 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31367 if (!SWIG_IsOK(ecode2
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31370 arg2
= static_cast< int >(val2
);
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 (arg1
)->SetZoomControl(arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_Py_Void();
31384 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31388 return SWIG_Py_Void();
31391 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31392 return SWIG_Python_InitShadowInstance(args
);
31395 static PyMethodDef SwigMethods
[] = {
31396 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31398 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31400 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31402 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31403 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31405 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31412 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31414 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31416 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31417 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31418 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31419 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31420 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31423 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31426 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31427 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31429 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31431 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31432 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31433 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31434 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31438 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31440 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31444 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31446 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31448 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31451 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31452 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31454 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31456 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31458 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31461 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31468 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31470 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31475 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31476 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31478 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31481 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31483 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31485 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31490 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31491 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31495 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31497 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31499 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31500 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31503 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31504 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31505 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31507 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31508 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31509 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31510 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31511 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31513 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31516 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31525 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31526 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31528 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31529 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31531 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31533 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31534 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31536 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31542 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31543 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31546 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31547 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31549 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31551 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31553 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31555 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31557 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31559 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31560 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31563 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31564 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31565 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31566 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31567 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31568 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31570 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31578 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31580 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31583 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31584 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31587 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31588 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31590 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31591 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31592 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31595 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31597 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31599 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31600 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31601 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31604 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31606 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31608 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31610 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31612 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31613 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31614 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31617 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31619 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31620 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31621 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31623 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31625 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31626 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31630 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31631 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31632 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31633 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31637 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31638 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31640 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31643 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31644 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31646 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31649 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31650 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31651 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31654 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31655 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31656 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31658 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31667 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31668 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31669 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31670 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31672 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31673 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31676 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31677 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31679 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31682 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31683 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31684 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31687 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31688 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31690 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31691 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31693 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31698 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31699 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31705 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31706 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31708 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31712 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31714 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31715 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31716 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31717 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31719 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31720 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31721 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31723 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31726 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31728 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31729 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31730 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31731 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31732 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31733 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31738 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31739 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31741 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31743 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31746 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31747 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31751 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31759 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31760 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31761 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31762 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31763 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31764 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31765 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31766 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31767 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31768 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31771 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31772 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31773 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31775 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31776 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31779 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31781 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31783 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31784 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31786 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31787 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31789 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31790 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31791 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31792 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31793 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31795 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31796 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31797 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31798 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31799 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31800 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31807 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31808 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31810 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31811 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31812 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31816 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31820 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31821 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31822 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31824 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31825 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31826 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31827 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31831 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31832 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31834 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31835 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31836 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31837 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31842 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31844 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31846 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31848 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31849 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31851 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31853 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31854 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31855 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31856 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31857 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31858 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31860 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31861 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31863 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31865 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31866 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31867 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31869 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31871 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31872 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31874 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31881 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31882 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31883 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31884 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31885 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31886 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31887 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31888 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31889 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31891 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31898 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31899 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31900 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31901 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31902 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31903 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31904 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31905 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31906 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31908 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31915 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31916 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31917 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31918 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31919 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31920 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31921 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31922 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31923 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31924 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31925 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31926 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31927 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31928 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31929 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31930 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31931 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31932 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31933 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31934 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31935 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31936 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31937 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
31938 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31951 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31953 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31955 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31956 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31957 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31958 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31964 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31965 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31966 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31967 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31968 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31969 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31970 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31971 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31972 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31973 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31974 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31975 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31976 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31977 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31978 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31988 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31989 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31990 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31991 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31993 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31994 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31995 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31996 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31997 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31998 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31999 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32000 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32001 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32002 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32003 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32004 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32005 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32006 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32007 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32008 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32009 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32023 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32024 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32025 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32026 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32027 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32028 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32030 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32031 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32033 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32034 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32035 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32036 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32037 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32041 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32047 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32048 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32049 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32050 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32051 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32053 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32055 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32056 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32061 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32062 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32064 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32065 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32066 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32071 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32073 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32075 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32077 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32079 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32080 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32083 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32084 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32085 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32086 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32088 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32090 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32092 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32093 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32095 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32096 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32097 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32098 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32099 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32100 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32102 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32104 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32105 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32106 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32107 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32108 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32109 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32110 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32111 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32112 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32113 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32115 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32117 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32118 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32121 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32122 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32127 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32129 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32130 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32131 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32132 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32135 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32136 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32137 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32138 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32140 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32141 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32146 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32147 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32148 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32149 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32150 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32154 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32156 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32157 { NULL
, NULL
, 0, NULL
}
32161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32163 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32164 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32166 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32169 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32170 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32172 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32173 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32175 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32176 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32178 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32179 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32181 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32182 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32184 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32185 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32187 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32188 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32190 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32193 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32196 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32199 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32200 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32202 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32203 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32205 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32206 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32208 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32209 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32212 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32215 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32218 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32221 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32223 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32224 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32226 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32227 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32229 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32230 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32232 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32235 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32236 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32238 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32239 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32241 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32244 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32245 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32247 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32248 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32250 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32251 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32253 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32254 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32256 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32257 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32259 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32260 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32262 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32263 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32265 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32268 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32271 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32272 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32274 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32275 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32277 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32278 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32280 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32283 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32284 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32286 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32287 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32289 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32290 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32292 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32293 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32295 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32296 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32298 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32299 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32301 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32302 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32304 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32307 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32310 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32313 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32314 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32316 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32317 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32319 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32320 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32322 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32323 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32325 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32328 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32331 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32334 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32337 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32340 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32343 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32346 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32349 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32352 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32353 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32355 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32356 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32358 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32361 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32364 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32367 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32370 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32373 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32376 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32377 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32379 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32382 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32383 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32385 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32388 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32389 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32391 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32392 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32394 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32397 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32398 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32400 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32403 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32406 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32409 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32410 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32412 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32415 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32418 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32421 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32424 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32427 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32430 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32433 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32436 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32439 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32442 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32445 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32448 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32451 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32455 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32457 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32458 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32460 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32461 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32463 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32464 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32466 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32467 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32469 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32470 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32472 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32473 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32475 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32476 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32478 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32481 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32484 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32487 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32490 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32493 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32496 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32499 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32502 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32505 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32508 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) ((wxSizer
*) x
));
32511 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32514 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32517 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32520 static void *_p_wxEventTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) ((wxEvent
*) x
));
32523 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) ((wxFontData
*) x
));
32526 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32529 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32532 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32535 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32538 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32541 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32544 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32547 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32550 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32553 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32559 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32562 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32565 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32568 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32571 static void *_p_wxControlTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32574 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32577 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32580 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32583 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32586 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32589 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32592 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) ((wxColourData
*) x
));
32595 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32598 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32601 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32604 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32607 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32610 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32613 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32616 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32619 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32622 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32625 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32628 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32631 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32634 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32637 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32640 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32643 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32646 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32649 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32652 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32655 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32658 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32661 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32664 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32667 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32670 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32673 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32676 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32679 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32682 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32685 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32688 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32691 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32694 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32697 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32700 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32703 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32706 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32709 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32712 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32715 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32718 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32721 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32724 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32727 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32730 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32733 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32736 static void *_p_wxImageTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) ((wxImage
*) x
));
32739 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32742 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32745 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32748 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32751 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32754 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32757 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32760 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32763 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32766 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32769 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32772 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32775 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32778 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32781 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32784 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32787 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32790 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32793 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32796 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32799 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32802 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32805 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32808 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32811 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32814 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32817 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32820 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32823 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32826 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32829 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32832 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32835 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32838 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32841 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32844 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32847 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32850 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32853 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32856 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32859 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32862 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32865 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32868 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32871 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32874 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32877 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32880 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32883 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32886 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32889 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32892 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32895 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32898 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32899 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32901 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32902 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32904 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32905 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32907 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32908 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32910 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32911 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32913 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32914 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32916 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32917 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32919 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32920 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32922 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32923 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32925 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32926 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32928 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32929 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32931 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32932 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32934 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32935 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32937 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32938 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32940 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32941 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32943 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32944 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32946 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32947 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32949 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32950 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32952 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32953 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32955 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32956 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32958 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32959 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32961 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32962 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32964 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32965 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32967 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32968 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32970 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32971 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32973 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32974 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32976 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32977 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32979 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32980 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32982 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32983 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32985 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32986 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32988 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32989 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32991 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32992 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32994 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32995 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32997 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32998 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33000 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33001 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33003 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33004 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33006 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33007 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33009 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33010 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33012 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33013 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33015 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33016 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33018 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33019 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33021 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33022 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33024 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33025 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33027 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33028 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33030 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33031 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33033 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33034 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33036 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33037 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33039 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33040 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33042 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33043 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33045 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33046 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33048 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33049 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33051 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33052 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33054 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33055 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33057 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33058 return (void *)((wxWindow
*) ((wxControl
*) x
));
33060 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33061 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33063 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33064 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33066 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33067 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33069 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33070 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33072 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33073 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33075 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33076 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33078 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33079 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33081 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33082 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33084 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33085 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33087 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33088 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33090 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33091 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33093 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33094 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33096 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33097 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33099 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33100 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33102 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33103 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33105 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33106 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33108 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33109 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33111 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33112 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33114 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33115 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33117 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33118 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33120 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33121 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33123 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33124 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33126 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33127 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33129 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33130 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33132 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33133 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33135 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33136 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33138 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33139 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33141 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33142 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33144 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33145 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33147 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33148 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33150 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33151 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33153 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33154 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33156 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33157 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33159 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33160 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33162 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33163 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33165 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33166 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33168 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33169 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33171 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33172 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33174 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33175 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33177 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33178 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33180 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33181 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33183 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33184 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33186 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33187 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33189 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33190 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33192 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33193 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33195 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33196 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33198 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33199 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33201 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33202 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33204 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33205 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33207 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33208 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33210 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33211 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33213 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33214 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33216 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33217 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33219 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33221 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};
33222 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33232 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33233 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33234 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33235 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33236 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33237 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33238 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33239 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33240 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33241 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33242 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33245 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33246 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33247 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33248 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33249 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33250 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33251 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33252 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33253 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33254 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33255 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33256 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33257 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33258 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33259 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33260 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33261 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33262 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33263 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33264 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33265 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33266 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33267 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33268 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33269 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33270 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33271 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33272 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33274 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33277 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33278 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33279 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33280 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33281 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33287 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33289 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33290 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33301 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33302 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33303 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33313 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33330 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33331 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33332 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33382 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33383 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33384 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33386 static swig_type_info
*swig_type_initial
[] = {
33389 &_swigt__p_form_ops_t
,
33391 &_swigt__p_unsigned_char
,
33392 &_swigt__p_unsigned_int
,
33393 &_swigt__p_unsigned_long
,
33394 &_swigt__p_wxANIHandler
,
33395 &_swigt__p_wxAcceleratorTable
,
33396 &_swigt__p_wxActivateEvent
,
33397 &_swigt__p_wxArrayInt
,
33398 &_swigt__p_wxBMPHandler
,
33399 &_swigt__p_wxBitmap
,
33400 &_swigt__p_wxBoxSizer
,
33401 &_swigt__p_wxCURHandler
,
33402 &_swigt__p_wxCalculateLayoutEvent
,
33403 &_swigt__p_wxChildFocusEvent
,
33404 &_swigt__p_wxClipboardTextEvent
,
33405 &_swigt__p_wxCloseEvent
,
33406 &_swigt__p_wxColour
,
33407 &_swigt__p_wxColourData
,
33408 &_swigt__p_wxColourDialog
,
33409 &_swigt__p_wxCommandEvent
,
33410 &_swigt__p_wxContextMenuEvent
,
33411 &_swigt__p_wxControl
,
33412 &_swigt__p_wxControlWithItems
,
33414 &_swigt__p_wxDateEvent
,
33415 &_swigt__p_wxDialog
,
33416 &_swigt__p_wxDirDialog
,
33417 &_swigt__p_wxDisplayChangedEvent
,
33418 &_swigt__p_wxDropFilesEvent
,
33419 &_swigt__p_wxDuplexMode
,
33420 &_swigt__p_wxEraseEvent
,
33421 &_swigt__p_wxEvent
,
33422 &_swigt__p_wxEvtHandler
,
33423 &_swigt__p_wxFSFile
,
33424 &_swigt__p_wxFileDialog
,
33425 &_swigt__p_wxFileSystem
,
33426 &_swigt__p_wxFindDialogEvent
,
33427 &_swigt__p_wxFindReplaceData
,
33428 &_swigt__p_wxFindReplaceDialog
,
33429 &_swigt__p_wxFlexGridSizer
,
33430 &_swigt__p_wxFocusEvent
,
33432 &_swigt__p_wxFontData
,
33433 &_swigt__p_wxFontDialog
,
33434 &_swigt__p_wxFrame
,
33435 &_swigt__p_wxGBSizerItem
,
33436 &_swigt__p_wxGIFHandler
,
33437 &_swigt__p_wxGridBagSizer
,
33438 &_swigt__p_wxGridSizer
,
33439 &_swigt__p_wxHtmlLinkInfo
,
33440 &_swigt__p_wxICOHandler
,
33442 &_swigt__p_wxIconBundle
,
33443 &_swigt__p_wxIconizeEvent
,
33444 &_swigt__p_wxIdleEvent
,
33445 &_swigt__p_wxImage
,
33446 &_swigt__p_wxImageHandler
,
33447 &_swigt__p_wxIndividualLayoutConstraint
,
33448 &_swigt__p_wxInitDialogEvent
,
33449 &_swigt__p_wxJPEGHandler
,
33450 &_swigt__p_wxKeyEvent
,
33451 &_swigt__p_wxLayoutAlgorithm
,
33452 &_swigt__p_wxLayoutConstraints
,
33453 &_swigt__p_wxMDIChildFrame
,
33454 &_swigt__p_wxMDIClientWindow
,
33455 &_swigt__p_wxMDIParentFrame
,
33456 &_swigt__p_wxMaximizeEvent
,
33458 &_swigt__p_wxMenuBar
,
33459 &_swigt__p_wxMenuEvent
,
33460 &_swigt__p_wxMenuItem
,
33461 &_swigt__p_wxMessageDialog
,
33462 &_swigt__p_wxMiniFrame
,
33463 &_swigt__p_wxMouseCaptureChangedEvent
,
33464 &_swigt__p_wxMouseCaptureLostEvent
,
33465 &_swigt__p_wxMouseEvent
,
33466 &_swigt__p_wxMoveEvent
,
33467 &_swigt__p_wxMultiChoiceDialog
,
33468 &_swigt__p_wxNavigationKeyEvent
,
33469 &_swigt__p_wxNcPaintEvent
,
33470 &_swigt__p_wxNotifyEvent
,
33471 &_swigt__p_wxNumberEntryDialog
,
33472 &_swigt__p_wxObject
,
33473 &_swigt__p_wxPCXHandler
,
33474 &_swigt__p_wxPNGHandler
,
33475 &_swigt__p_wxPNMHandler
,
33476 &_swigt__p_wxPageSetupDialog
,
33477 &_swigt__p_wxPageSetupDialogData
,
33478 &_swigt__p_wxPaintEvent
,
33479 &_swigt__p_wxPaletteChangedEvent
,
33480 &_swigt__p_wxPanel
,
33481 &_swigt__p_wxPaperSize
,
33482 &_swigt__p_wxPasswordEntryDialog
,
33483 &_swigt__p_wxPoint
,
33484 &_swigt__p_wxPopupWindow
,
33485 &_swigt__p_wxPreviewCanvas
,
33486 &_swigt__p_wxPreviewControlBar
,
33487 &_swigt__p_wxPreviewFrame
,
33488 &_swigt__p_wxPrintData
,
33489 &_swigt__p_wxPrintDialog
,
33490 &_swigt__p_wxPrintDialogData
,
33491 &_swigt__p_wxPrintPreview
,
33492 &_swigt__p_wxPrinter
,
33493 &_swigt__p_wxProgressDialog
,
33494 &_swigt__p_wxPyApp
,
33495 &_swigt__p_wxPyCommandEvent
,
33496 &_swigt__p_wxPyEvent
,
33497 &_swigt__p_wxPyHtmlListBox
,
33498 &_swigt__p_wxPyImageHandler
,
33499 &_swigt__p_wxPyPanel
,
33500 &_swigt__p_wxPyPopupTransientWindow
,
33501 &_swigt__p_wxPyPreviewControlBar
,
33502 &_swigt__p_wxPyPreviewFrame
,
33503 &_swigt__p_wxPyPrintPreview
,
33504 &_swigt__p_wxPyPrintout
,
33505 &_swigt__p_wxPyScrolledWindow
,
33506 &_swigt__p_wxPySizer
,
33507 &_swigt__p_wxPyTaskBarIcon
,
33508 &_swigt__p_wxPyVListBox
,
33509 &_swigt__p_wxPyVScrolledWindow
,
33510 &_swigt__p_wxPyValidator
,
33511 &_swigt__p_wxPyWindow
,
33512 &_swigt__p_wxQueryLayoutInfoEvent
,
33513 &_swigt__p_wxQueryNewPaletteEvent
,
33515 &_swigt__p_wxRegion
,
33516 &_swigt__p_wxSashEvent
,
33517 &_swigt__p_wxSashLayoutWindow
,
33518 &_swigt__p_wxSashWindow
,
33519 &_swigt__p_wxScrollEvent
,
33520 &_swigt__p_wxScrollWinEvent
,
33521 &_swigt__p_wxScrolledWindow
,
33522 &_swigt__p_wxSetCursorEvent
,
33523 &_swigt__p_wxShowEvent
,
33524 &_swigt__p_wxSingleChoiceDialog
,
33526 &_swigt__p_wxSizeEvent
,
33527 &_swigt__p_wxSizer
,
33528 &_swigt__p_wxSizerItem
,
33529 &_swigt__p_wxSplashScreen
,
33530 &_swigt__p_wxSplashScreenWindow
,
33531 &_swigt__p_wxSplitterEvent
,
33532 &_swigt__p_wxSplitterWindow
,
33533 &_swigt__p_wxStaticBoxSizer
,
33534 &_swigt__p_wxStatusBar
,
33535 &_swigt__p_wxStdDialogButtonSizer
,
33536 &_swigt__p_wxString
,
33537 &_swigt__p_wxSysColourChangedEvent
,
33538 &_swigt__p_wxTGAHandler
,
33539 &_swigt__p_wxTIFFHandler
,
33540 &_swigt__p_wxTaskBarIcon
,
33541 &_swigt__p_wxTaskBarIconEvent
,
33542 &_swigt__p_wxTextEntryDialog
,
33543 &_swigt__p_wxTipWindow
,
33544 &_swigt__p_wxToolBar
,
33545 &_swigt__p_wxTopLevelWindow
,
33546 &_swigt__p_wxUpdateUIEvent
,
33547 &_swigt__p_wxValidator
,
33548 &_swigt__p_wxVisualAttributes
,
33549 &_swigt__p_wxWindow
,
33550 &_swigt__p_wxWindowCreateEvent
,
33551 &_swigt__p_wxWindowDestroyEvent
,
33552 &_swigt__p_wxXPMHandler
,
33555 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33562 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33574 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33575 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33576 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33577 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}};
33578 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33579 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}};
33580 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33582 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33584 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33585 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33586 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33587 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33588 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33589 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33590 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33591 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33592 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33605 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33606 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33607 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33608 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}};
33609 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33611 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33612 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33621 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33622 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33633 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33634 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33636 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}};
33637 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33667 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_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33670 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}};
33671 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33673 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33674 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33675 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33676 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}};
33677 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}};
33678 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33679 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33681 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}};
33682 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33693 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}};
33694 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}};
33695 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33699 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33700 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33701 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}};
33702 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33703 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}};
33704 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33713 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33715 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}};
33716 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33717 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33720 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
33722 static swig_cast_info
*swig_cast_initial
[] = {
33725 _swigc__p_form_ops_t
,
33727 _swigc__p_unsigned_char
,
33728 _swigc__p_unsigned_int
,
33729 _swigc__p_unsigned_long
,
33730 _swigc__p_wxANIHandler
,
33731 _swigc__p_wxAcceleratorTable
,
33732 _swigc__p_wxActivateEvent
,
33733 _swigc__p_wxArrayInt
,
33734 _swigc__p_wxBMPHandler
,
33735 _swigc__p_wxBitmap
,
33736 _swigc__p_wxBoxSizer
,
33737 _swigc__p_wxCURHandler
,
33738 _swigc__p_wxCalculateLayoutEvent
,
33739 _swigc__p_wxChildFocusEvent
,
33740 _swigc__p_wxClipboardTextEvent
,
33741 _swigc__p_wxCloseEvent
,
33742 _swigc__p_wxColour
,
33743 _swigc__p_wxColourData
,
33744 _swigc__p_wxColourDialog
,
33745 _swigc__p_wxCommandEvent
,
33746 _swigc__p_wxContextMenuEvent
,
33747 _swigc__p_wxControl
,
33748 _swigc__p_wxControlWithItems
,
33750 _swigc__p_wxDateEvent
,
33751 _swigc__p_wxDialog
,
33752 _swigc__p_wxDirDialog
,
33753 _swigc__p_wxDisplayChangedEvent
,
33754 _swigc__p_wxDropFilesEvent
,
33755 _swigc__p_wxDuplexMode
,
33756 _swigc__p_wxEraseEvent
,
33758 _swigc__p_wxEvtHandler
,
33759 _swigc__p_wxFSFile
,
33760 _swigc__p_wxFileDialog
,
33761 _swigc__p_wxFileSystem
,
33762 _swigc__p_wxFindDialogEvent
,
33763 _swigc__p_wxFindReplaceData
,
33764 _swigc__p_wxFindReplaceDialog
,
33765 _swigc__p_wxFlexGridSizer
,
33766 _swigc__p_wxFocusEvent
,
33768 _swigc__p_wxFontData
,
33769 _swigc__p_wxFontDialog
,
33771 _swigc__p_wxGBSizerItem
,
33772 _swigc__p_wxGIFHandler
,
33773 _swigc__p_wxGridBagSizer
,
33774 _swigc__p_wxGridSizer
,
33775 _swigc__p_wxHtmlLinkInfo
,
33776 _swigc__p_wxICOHandler
,
33778 _swigc__p_wxIconBundle
,
33779 _swigc__p_wxIconizeEvent
,
33780 _swigc__p_wxIdleEvent
,
33782 _swigc__p_wxImageHandler
,
33783 _swigc__p_wxIndividualLayoutConstraint
,
33784 _swigc__p_wxInitDialogEvent
,
33785 _swigc__p_wxJPEGHandler
,
33786 _swigc__p_wxKeyEvent
,
33787 _swigc__p_wxLayoutAlgorithm
,
33788 _swigc__p_wxLayoutConstraints
,
33789 _swigc__p_wxMDIChildFrame
,
33790 _swigc__p_wxMDIClientWindow
,
33791 _swigc__p_wxMDIParentFrame
,
33792 _swigc__p_wxMaximizeEvent
,
33794 _swigc__p_wxMenuBar
,
33795 _swigc__p_wxMenuEvent
,
33796 _swigc__p_wxMenuItem
,
33797 _swigc__p_wxMessageDialog
,
33798 _swigc__p_wxMiniFrame
,
33799 _swigc__p_wxMouseCaptureChangedEvent
,
33800 _swigc__p_wxMouseCaptureLostEvent
,
33801 _swigc__p_wxMouseEvent
,
33802 _swigc__p_wxMoveEvent
,
33803 _swigc__p_wxMultiChoiceDialog
,
33804 _swigc__p_wxNavigationKeyEvent
,
33805 _swigc__p_wxNcPaintEvent
,
33806 _swigc__p_wxNotifyEvent
,
33807 _swigc__p_wxNumberEntryDialog
,
33808 _swigc__p_wxObject
,
33809 _swigc__p_wxPCXHandler
,
33810 _swigc__p_wxPNGHandler
,
33811 _swigc__p_wxPNMHandler
,
33812 _swigc__p_wxPageSetupDialog
,
33813 _swigc__p_wxPageSetupDialogData
,
33814 _swigc__p_wxPaintEvent
,
33815 _swigc__p_wxPaletteChangedEvent
,
33817 _swigc__p_wxPaperSize
,
33818 _swigc__p_wxPasswordEntryDialog
,
33820 _swigc__p_wxPopupWindow
,
33821 _swigc__p_wxPreviewCanvas
,
33822 _swigc__p_wxPreviewControlBar
,
33823 _swigc__p_wxPreviewFrame
,
33824 _swigc__p_wxPrintData
,
33825 _swigc__p_wxPrintDialog
,
33826 _swigc__p_wxPrintDialogData
,
33827 _swigc__p_wxPrintPreview
,
33828 _swigc__p_wxPrinter
,
33829 _swigc__p_wxProgressDialog
,
33831 _swigc__p_wxPyCommandEvent
,
33832 _swigc__p_wxPyEvent
,
33833 _swigc__p_wxPyHtmlListBox
,
33834 _swigc__p_wxPyImageHandler
,
33835 _swigc__p_wxPyPanel
,
33836 _swigc__p_wxPyPopupTransientWindow
,
33837 _swigc__p_wxPyPreviewControlBar
,
33838 _swigc__p_wxPyPreviewFrame
,
33839 _swigc__p_wxPyPrintPreview
,
33840 _swigc__p_wxPyPrintout
,
33841 _swigc__p_wxPyScrolledWindow
,
33842 _swigc__p_wxPySizer
,
33843 _swigc__p_wxPyTaskBarIcon
,
33844 _swigc__p_wxPyVListBox
,
33845 _swigc__p_wxPyVScrolledWindow
,
33846 _swigc__p_wxPyValidator
,
33847 _swigc__p_wxPyWindow
,
33848 _swigc__p_wxQueryLayoutInfoEvent
,
33849 _swigc__p_wxQueryNewPaletteEvent
,
33851 _swigc__p_wxRegion
,
33852 _swigc__p_wxSashEvent
,
33853 _swigc__p_wxSashLayoutWindow
,
33854 _swigc__p_wxSashWindow
,
33855 _swigc__p_wxScrollEvent
,
33856 _swigc__p_wxScrollWinEvent
,
33857 _swigc__p_wxScrolledWindow
,
33858 _swigc__p_wxSetCursorEvent
,
33859 _swigc__p_wxShowEvent
,
33860 _swigc__p_wxSingleChoiceDialog
,
33862 _swigc__p_wxSizeEvent
,
33864 _swigc__p_wxSizerItem
,
33865 _swigc__p_wxSplashScreen
,
33866 _swigc__p_wxSplashScreenWindow
,
33867 _swigc__p_wxSplitterEvent
,
33868 _swigc__p_wxSplitterWindow
,
33869 _swigc__p_wxStaticBoxSizer
,
33870 _swigc__p_wxStatusBar
,
33871 _swigc__p_wxStdDialogButtonSizer
,
33872 _swigc__p_wxString
,
33873 _swigc__p_wxSysColourChangedEvent
,
33874 _swigc__p_wxTGAHandler
,
33875 _swigc__p_wxTIFFHandler
,
33876 _swigc__p_wxTaskBarIcon
,
33877 _swigc__p_wxTaskBarIconEvent
,
33878 _swigc__p_wxTextEntryDialog
,
33879 _swigc__p_wxTipWindow
,
33880 _swigc__p_wxToolBar
,
33881 _swigc__p_wxTopLevelWindow
,
33882 _swigc__p_wxUpdateUIEvent
,
33883 _swigc__p_wxValidator
,
33884 _swigc__p_wxVisualAttributes
,
33885 _swigc__p_wxWindow
,
33886 _swigc__p_wxWindowCreateEvent
,
33887 _swigc__p_wxWindowDestroyEvent
,
33888 _swigc__p_wxXPMHandler
,
33892 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33894 static swig_const_info swig_const_table
[] = {
33895 {0, 0, 0, 0.0, 0, 0}};
33900 /* -----------------------------------------------------------------------------
33901 * Type initialization:
33902 * This problem is tough by the requirement that no dynamic
33903 * memory is used. Also, since swig_type_info structures store pointers to
33904 * swig_cast_info structures and swig_cast_info structures store pointers back
33905 * to swig_type_info structures, we need some lookup code at initialization.
33906 * The idea is that swig generates all the structures that are needed.
33907 * The runtime then collects these partially filled structures.
33908 * The SWIG_InitializeModule function takes these initial arrays out of
33909 * swig_module, and does all the lookup, filling in the swig_module.types
33910 * array with the correct data and linking the correct swig_cast_info
33911 * structures together.
33913 * The generated swig_type_info structures are assigned staticly to an initial
33914 * array. We just loop though that array, and handle each type individually.
33915 * First we lookup if this type has been already loaded, and if so, use the
33916 * loaded structure instead of the generated one. Then we have to fill in the
33917 * cast linked list. The cast data is initially stored in something like a
33918 * two-dimensional array. Each row corresponds to a type (there are the same
33919 * number of rows as there are in the swig_type_initial array). Each entry in
33920 * a column is one of the swig_cast_info structures for that type.
33921 * The cast_initial array is actually an array of arrays, because each row has
33922 * a variable number of columns. So to actually build the cast linked list,
33923 * we find the array of casts associated with the type, and loop through it
33924 * adding the casts to the list. The one last trick we need to do is making
33925 * sure the type pointer in the swig_cast_info struct is correct.
33927 * First off, we lookup the cast->type name to see if it is already loaded.
33928 * There are three cases to handle:
33929 * 1) If the cast->type has already been loaded AND the type we are adding
33930 * casting info to has not been loaded (it is in this module), THEN we
33931 * replace the cast->type pointer with the type pointer that has already
33933 * 2) If BOTH types (the one we are adding casting info to, and the
33934 * cast->type) are loaded, THEN the cast info has already been loaded by
33935 * the previous module so we just ignore it.
33936 * 3) Finally, if cast->type has not already been loaded, then we add that
33937 * swig_cast_info to the linked list (because the cast->type) pointer will
33939 * ----------------------------------------------------------------------------- */
33949 #define SWIGRUNTIME_DEBUG
33953 SWIG_InitializeModule(void *clientdata
) {
33955 swig_module_info
*module_head
;
33956 static int init_run
= 0;
33958 clientdata
= clientdata
;
33960 if (init_run
) return;
33963 /* Initialize the swig_module */
33964 swig_module
.type_initial
= swig_type_initial
;
33965 swig_module
.cast_initial
= swig_cast_initial
;
33967 /* Try and load any already created modules */
33968 module_head
= SWIG_GetModule(clientdata
);
33970 swig_module
.next
= module_head
->next
;
33971 module_head
->next
= &swig_module
;
33973 /* This is the first module loaded */
33974 swig_module
.next
= &swig_module
;
33975 SWIG_SetModule(clientdata
, &swig_module
);
33978 /* Now work on filling in swig_module.types */
33979 #ifdef SWIGRUNTIME_DEBUG
33980 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33982 for (i
= 0; i
< swig_module
.size
; ++i
) {
33983 swig_type_info
*type
= 0;
33984 swig_type_info
*ret
;
33985 swig_cast_info
*cast
;
33987 #ifdef SWIGRUNTIME_DEBUG
33988 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33991 /* if there is another module already loaded */
33992 if (swig_module
.next
!= &swig_module
) {
33993 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33996 /* Overwrite clientdata field */
33997 #ifdef SWIGRUNTIME_DEBUG
33998 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34000 if (swig_module
.type_initial
[i
]->clientdata
) {
34001 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34002 #ifdef SWIGRUNTIME_DEBUG
34003 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34007 type
= swig_module
.type_initial
[i
];
34010 /* Insert casting types */
34011 cast
= swig_module
.cast_initial
[i
];
34012 while (cast
->type
) {
34013 /* Don't need to add information already in the list */
34015 #ifdef SWIGRUNTIME_DEBUG
34016 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34018 if (swig_module
.next
!= &swig_module
) {
34019 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34020 #ifdef SWIGRUNTIME_DEBUG
34021 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34025 if (type
== swig_module
.type_initial
[i
]) {
34026 #ifdef SWIGRUNTIME_DEBUG
34027 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34032 /* Check for casting already in the list */
34033 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34034 #ifdef SWIGRUNTIME_DEBUG
34035 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34037 if (!ocast
) ret
= 0;
34042 #ifdef SWIGRUNTIME_DEBUG
34043 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34046 type
->cast
->prev
= cast
;
34047 cast
->next
= type
->cast
;
34053 /* Set entry in modules->types array equal to the type */
34054 swig_module
.types
[i
] = type
;
34056 swig_module
.types
[i
] = 0;
34058 #ifdef SWIGRUNTIME_DEBUG
34059 printf("**** SWIG_InitializeModule: Cast List ******\n");
34060 for (i
= 0; i
< swig_module
.size
; ++i
) {
34062 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34063 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34064 while (cast
->type
) {
34065 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34069 printf("---- Total casts: %d\n",j
);
34071 printf("**** SWIG_InitializeModule: Cast List ******\n");
34075 /* This function will propagate the clientdata field of type to
34076 * any new swig_type_info structures that have been added into the list
34077 * of equivalent types. It is like calling
34078 * SWIG_TypeClientData(type, clientdata) a second time.
34081 SWIG_PropagateClientData(void) {
34083 swig_cast_info
*equiv
;
34084 static int init_run
= 0;
34086 if (init_run
) return;
34089 for (i
= 0; i
< swig_module
.size
; i
++) {
34090 if (swig_module
.types
[i
]->clientdata
) {
34091 equiv
= swig_module
.types
[i
]->cast
;
34093 if (!equiv
->converter
) {
34094 if (equiv
->type
&& !equiv
->type
->clientdata
)
34095 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34097 equiv
= equiv
->next
;
34117 /* Python-specific SWIG API */
34118 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34119 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34120 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34122 /* -----------------------------------------------------------------------------
34123 * global variable support code.
34124 * ----------------------------------------------------------------------------- */
34126 typedef struct swig_globalvar
{
34127 char *name
; /* Name of global variable */
34128 PyObject
*(*get_attr
)(void); /* Return the current value */
34129 int (*set_attr
)(PyObject
*); /* Set the value */
34130 struct swig_globalvar
*next
;
34133 typedef struct swig_varlinkobject
{
34135 swig_globalvar
*vars
;
34136 } swig_varlinkobject
;
34138 SWIGINTERN PyObject
*
34139 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34140 return PyString_FromString("<Swig global variables>");
34143 SWIGINTERN PyObject
*
34144 swig_varlink_str(swig_varlinkobject
*v
) {
34145 PyObject
*str
= PyString_FromString("(");
34146 swig_globalvar
*var
;
34147 for (var
= v
->vars
; var
; var
=var
->next
) {
34148 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34149 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34151 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34156 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34157 PyObject
*str
= swig_varlink_str(v
);
34158 fprintf(fp
,"Swig global variables ");
34159 fprintf(fp
,"%s\n", PyString_AsString(str
));
34165 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34166 swig_globalvar
*var
= v
->vars
;
34168 swig_globalvar
*n
= var
->next
;
34175 SWIGINTERN PyObject
*
34176 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34177 PyObject
*res
= NULL
;
34178 swig_globalvar
*var
= v
->vars
;
34180 if (strcmp(var
->name
,n
) == 0) {
34181 res
= (*var
->get_attr
)();
34186 if (res
== NULL
&& !PyErr_Occurred()) {
34187 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34193 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34195 swig_globalvar
*var
= v
->vars
;
34197 if (strcmp(var
->name
,n
) == 0) {
34198 res
= (*var
->set_attr
)(p
);
34203 if (res
== 1 && !PyErr_Occurred()) {
34204 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34209 SWIGINTERN PyTypeObject
*
34210 swig_varlink_type(void) {
34211 static char varlink__doc__
[] = "Swig var link object";
34212 static PyTypeObject varlink_type
;
34213 static int type_init
= 0;
34215 const PyTypeObject tmp
34217 PyObject_HEAD_INIT(NULL
)
34218 0, /* Number of items in variable part (ob_size) */
34219 (char *)"swigvarlink", /* Type name (tp_name) */
34220 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34221 0, /* Itemsize (tp_itemsize) */
34222 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34223 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34224 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34225 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34226 0, /* tp_compare */
34227 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34228 0, /* tp_as_number */
34229 0, /* tp_as_sequence */
34230 0, /* tp_as_mapping */
34233 (reprfunc
)swig_varlink_str
, /* tp_str */
34234 0, /* tp_getattro */
34235 0, /* tp_setattro */
34236 0, /* tp_as_buffer */
34238 varlink__doc__
, /* tp_doc */
34239 0, /* tp_traverse */
34241 0, /* tp_richcompare */
34242 0, /* tp_weaklistoffset */
34243 #if PY_VERSION_HEX >= 0x02020000
34244 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34246 #if PY_VERSION_HEX >= 0x02030000
34249 #ifdef COUNT_ALLOCS
34250 0,0,0,0 /* tp_alloc -> tp_next */
34253 varlink_type
= tmp
;
34254 varlink_type
.ob_type
= &PyType_Type
;
34257 return &varlink_type
;
34260 /* Create a variable linking object for use later */
34261 SWIGINTERN PyObject
*
34262 SWIG_Python_newvarlink(void) {
34263 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34267 return ((PyObject
*) result
);
34271 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34272 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34273 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34275 size_t size
= strlen(name
)+1;
34276 gv
->name
= (char *)malloc(size
);
34278 strncpy(gv
->name
,name
,size
);
34279 gv
->get_attr
= get_attr
;
34280 gv
->set_attr
= set_attr
;
34281 gv
->next
= v
->vars
;
34287 SWIGINTERN PyObject
*
34289 static PyObject
*_SWIG_globals
= 0;
34290 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34291 return _SWIG_globals
;
34294 /* -----------------------------------------------------------------------------
34295 * constants/methods manipulation
34296 * ----------------------------------------------------------------------------- */
34298 /* Install Constants */
34300 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34303 for (i
= 0; constants
[i
].type
; ++i
) {
34304 switch(constants
[i
].type
) {
34305 case SWIG_PY_POINTER
:
34306 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34308 case SWIG_PY_BINARY
:
34309 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34316 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34322 /* -----------------------------------------------------------------------------*/
34323 /* Fix SwigMethods to carry the callback ptrs when needed */
34324 /* -----------------------------------------------------------------------------*/
34327 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34328 swig_const_info
*const_table
,
34329 swig_type_info
**types
,
34330 swig_type_info
**types_initial
) {
34332 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34333 const char *c
= methods
[i
].ml_doc
;
34334 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34336 swig_const_info
*ci
= 0;
34337 const char *name
= c
+ 10;
34338 for (j
= 0; const_table
[j
].type
; ++j
) {
34339 if (strncmp(const_table
[j
].name
, name
,
34340 strlen(const_table
[j
].name
)) == 0) {
34341 ci
= &(const_table
[j
]);
34346 size_t shift
= (ci
->ptype
) - types
;
34347 swig_type_info
*ty
= types_initial
[shift
];
34348 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34349 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34350 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34353 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34355 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34357 strncpy(buff
, "swig_ptr: ", 10);
34359 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34360 methods
[i
].ml_doc
= ndoc
;
34372 /* -----------------------------------------------------------------------------*
34373 * Partial Init method
34374 * -----------------------------------------------------------------------------*/
34379 SWIGEXPORT
void SWIG_init(void) {
34382 /* Fix SwigMethods to carry the callback ptrs when needed */
34383 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34385 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34386 d
= PyModule_GetDict(m
);
34388 SWIG_InitializeModule(0);
34389 SWIG_InstallConstants(d
,swig_const_table
);
34392 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34393 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34394 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34395 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34396 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34397 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34398 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34399 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34400 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34401 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34402 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34403 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34404 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34405 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34406 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34407 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34408 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34409 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34410 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34411 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34412 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34413 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34414 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34415 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34416 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34417 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34418 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34419 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34420 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34421 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34422 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34423 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34424 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34425 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34426 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34427 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34428 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34429 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34430 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34431 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34432 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34433 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34434 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34435 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34436 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34437 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34438 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34439 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34440 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34441 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34442 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34443 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34444 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34445 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34446 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34447 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34448 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34449 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34450 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34451 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34452 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34453 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34454 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34455 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34456 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34457 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34458 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34459 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34460 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34461 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34462 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34463 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34464 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34465 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34466 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34467 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34468 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34469 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34470 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34471 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34472 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34473 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34474 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34475 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34476 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34477 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34478 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34479 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34480 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34481 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34482 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34483 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34484 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34485 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34486 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34487 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34488 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34489 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34490 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34491 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34492 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34493 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34494 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34495 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34496 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34497 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34499 // Map renamed classes back to their common name for OOR
34500 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34501 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34502 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34504 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34505 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34506 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34507 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34508 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34509 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34510 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34511 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34512 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34513 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34514 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34515 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34516 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34517 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34518 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34519 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34520 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34521 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34522 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34523 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34524 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34525 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34526 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34527 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34528 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34529 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34530 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34531 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34532 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34533 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34534 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34535 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34536 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34537 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34538 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34539 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34540 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34541 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34542 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34543 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34544 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34545 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34546 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34547 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34548 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34549 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34550 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34551 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34552 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34553 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34554 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34555 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34556 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34557 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34558 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34559 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34560 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34561 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34562 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34563 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34564 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34565 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34566 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34567 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34568 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34569 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34570 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34571 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34572 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34573 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34574 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34575 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34576 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34577 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34578 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34579 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34580 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34581 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34582 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34583 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34584 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34585 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34586 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34587 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34588 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34589 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34590 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34591 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34592 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34593 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34594 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34595 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34596 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34597 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34598 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34599 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34600 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34601 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34602 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34603 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34604 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34605 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34606 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34607 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34609 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");