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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2662 #define SWIG_name "_windows_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 # define LLONG_MIN LONG_LONG_MIN
2748 # define LLONG_MAX LONG_LONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2756 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2758 if (PyNumber_Check(obj
)) {
2759 if (val
) *val
= PyInt_AsLong(obj
);
2762 return SWIG_TypeError
;
2767 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2770 int res
= SWIG_AsVal_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< int >(v
);
2783 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2785 if (obj
== Py_True
) {
2786 if (val
) *val
= true;
2788 } else if (obj
== Py_False
) {
2789 if (val
) *val
= false;
2793 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2794 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2800 #define SWIG_From_long PyInt_FromLong
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_int (int value
)
2806 return SWIG_From_long (value
);
2811 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2813 if (PyNumber_Check(obj
)) {
2814 if (val
) *val
= PyFloat_AsDouble(obj
);
2817 return SWIG_TypeError
;
2821 #define SWIG_From_double PyFloat_FromDouble
2823 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2824 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2825 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2826 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2827 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2828 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2830 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2851 : wxPopupTransientWindow(parent
, style
) {}
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2854 DEC_PYCALLBACK__(OnDismiss
);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2860 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2861 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2862 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2865 #include <wx/tipwin.h>
2867 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2868 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2871 #include <wx/tipwin.h>
2874 #include <wx/vscroll.h>
2877 class wxPyVScrolledWindow
: public wxVScrolledWindow
2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883 wxPyVScrolledWindow(wxWindow
*parent
,
2884 wxWindowID id
= wxID_ANY
,
2885 const wxPoint
& pos
= wxDefaultPosition
,
2886 const wxSize
& size
= wxDefaultSize
,
2888 const wxString
& name
= wxPyPanelNameStr
)
2889 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2892 // Overridable virtuals
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2921 // this function should return the best guess for the total height it may
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2926 // Also expose some other interesting protected methods
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2948 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2950 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2951 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2952 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2956 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2959 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2960 return SWIG_TypeError
;
2963 *val
= (unsigned long)v
;
2968 SWIGINTERNINLINE
int
2969 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2972 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2973 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_unsigned_SS_long (unsigned long value
)
2981 return (value
> LONG_MAX
) ?
2982 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2986 SWIGINTERNINLINE PyObject
*
2987 SWIG_From_size_t (size_t value
)
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2993 #include <wx/vlbox.h>
2995 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2997 class wxPyVListBox
: public wxVListBox
2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3001 wxPyVListBox() : wxVListBox() {}
3003 wxPyVListBox(wxWindow
*parent
,
3004 wxWindowID id
= wxID_ANY
,
3005 const wxPoint
& pos
= wxDefaultPosition
,
3006 const wxSize
& size
= wxDefaultSize
,
3008 const wxString
& name
= wxPyVListBoxNameStr
)
3009 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3012 // Overridable virtuals
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3020 // the derived class must implement this method to return the height of the
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3035 // this method is used to draw the items background and, maybe, a border
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3051 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3052 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3053 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3054 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3057 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3058 unsigned long cookie
= 0;
3059 int selected
= self
->GetFirstSelected(cookie
);
3060 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3061 PyObject
* tup
= PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3063 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3064 wxPyEndBlockThreads(blocked
);
3067 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3068 int selected
= self
->GetNextSelected(cookie
);
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 PyObject
* tup
= PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3072 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3073 wxPyEndBlockThreads(blocked
);
3077 #include <wx/htmllbox.h>
3080 class wxPyHtmlListBox
: public wxHtmlListBox
3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3086 wxPyHtmlListBox(wxWindow
*parent
,
3087 wxWindowID id
= wxID_ANY
,
3088 const wxPoint
& pos
= wxDefaultPosition
,
3089 const wxSize
& size
= wxDefaultSize
,
3091 const wxString
& name
= wxPyVListBoxNameStr
)
3092 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3095 // Overridable virtuals
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3109 // // this method allows to customize the selection appearance: it may be used
3110 // // to specify the colour of the text which normally has the given colour
3111 // // colFg when it is inside the selection
3113 // // by default, the original colour is not used at all and all text has the
3114 // // same (default for this system) colour inside selection
3115 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117 // // this is the same as GetSelectedTextColour() but allows to customize the
3118 // // background colour -- this is even more rarely used as you can change it
3119 // // globally using SetSelectionBackground()
3120 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n
,
3126 const wxHtmlLinkInfo
& link
);
3132 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3134 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3135 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3136 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3137 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3140 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3141 const wxHtmlLinkInfo
& link
) {
3143 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3144 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3145 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3149 wxPyEndBlockThreads(blocked
);
3151 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3156 const wxArrayString wxPyEmptyStringArray
;
3158 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3162 #ifndef wxHAS_TASK_BAR_ICON
3163 // implement dummy classes for platforms that don't have it
3165 class wxTaskBarIcon
: public wxEvtHandler
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3172 class wxTaskBarIconEvent
: public wxEvent
3175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent
* Clone() const { return NULL
; }
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu
*menu
) { return false; }
3186 wxEVT_TASKBAR_MOVE
= 0,
3187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3188 wxEVT_TASKBAR_LEFT_UP
= 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3190 wxEVT_TASKBAR_RIGHT_UP
= 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3197 // Otherwise make a class that can virtualize CreatePopupMenu
3198 class wxPyTaskBarIcon
: public wxTaskBarIcon
3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3205 wxMenu
* CreatePopupMenu() {
3206 wxMenu
*rval
= NULL
;
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3219 wxPyEndBlockThreads(blocked
);
3221 rval
= wxTaskBarIcon::CreatePopupMenu();
3228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3232 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3243 // for compatibility only
3244 #define wxHIDE_READONLY 0
3246 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3248 self
->GetFilenames(arr
);
3249 return wxArrayString2PyList_helper(arr
);
3251 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3253 self
->GetPaths(arr
);
3254 return wxArrayString2PyList_helper(arr
);
3256 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3257 return wxArrayInt2PyList_helper(self
->GetSelections());
3259 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
){
3260 return new wxSingleChoiceDialog(parent
, message
, caption
,
3261 choices
, choices_array
, NULL
, style
, pos
);
3263 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3265 SWIGINTERNINLINE PyObject
*
3266 SWIG_From_bool (bool value
)
3268 return PyBool_FromLong(value
? 1 : 0);
3274 // C++ version of Python aware wxWindow
3275 class wxPyWindow
: public wxWindow
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3281 const wxPoint
& pos
= wxDefaultPosition
,
3282 const wxSize
& size
= wxDefaultSize
,
3284 const wxString
& name
= wxPyPanelNameStr
)
3285 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3288 bool DoEraseBackground(wxDC
* dc
) {
3290 return wxWindow::DoEraseBackground(dc
->GetHDC());
3292 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3310 DEC_PYCALLBACK__(InitDialog
);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3313 DEC_PYCALLBACK_BOOL_(Validate
);
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3332 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3334 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3335 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3336 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3339 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3346 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3347 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3353 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3355 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3359 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3361 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3363 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3365 // C++ version of Python aware wxPanel
3366 class wxPyPanel
: public wxPanel
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3372 const wxPoint
& pos
= wxDefaultPosition
,
3373 const wxSize
& size
= wxDefaultSize
,
3375 const wxString
& name
= wxPyPanelNameStr
)
3376 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3378 bool DoEraseBackground(wxDC
* dc
) {
3380 return wxWindow::DoEraseBackground(dc
->GetHDC());
3382 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3401 DEC_PYCALLBACK__(InitDialog
);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3404 DEC_PYCALLBACK_BOOL_(Validate
);
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3423 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3425 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3426 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3427 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3430 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3437 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3446 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3450 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3452 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3454 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3456 // C++ version of Python aware wxScrolledWindow
3457 class wxPyScrolledWindow
: public wxScrolledWindow
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3463 const wxPoint
& pos
= wxDefaultPosition
,
3464 const wxSize
& size
= wxDefaultSize
,
3466 const wxString
& name
= wxPyPanelNameStr
)
3467 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3469 bool DoEraseBackground(wxDC
* dc
) {
3471 return wxWindow::DoEraseBackground(dc
->GetHDC());
3473 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3491 DEC_PYCALLBACK__(InitDialog
);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3494 DEC_PYCALLBACK_BOOL_(Validate
);
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3513 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3515 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3516 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3517 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3520 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3527 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3536 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3540 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3542 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3544 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3547 #include "wx/wxPython/printfw.h"
3550 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3552 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3554 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3555 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3556 self
->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked
);
3560 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3561 if (! PyString_Check(data
)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3563 "Expected string object"));
3567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3568 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3569 wxPyEndBlockThreads(blocked
);
3573 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3575 // Since this one would be tough and ugly to do with the Macros...
3576 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3577 bool hadErr
= false;
3580 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3581 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3582 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3583 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3586 val
= PyTuple_GetItem(result
, 0);
3587 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 1);
3591 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3594 val
= PyTuple_GetItem(result
, 2);
3595 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3598 val
= PyTuple_GetItem(result
, 3);
3599 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3606 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3611 wxPyEndBlockThreads(blocked
);
3613 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3618 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3619 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3620 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3623 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3624 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3630 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3634 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3646 wxPyEndBlockThreads(blocked); \
3648 rval = PCLASS::CBNAME(a, b); \
3655 class wxPyPrintPreview
: public wxPrintPreview
3657 DECLARE_CLASS(wxPyPrintPreview
)
3659 wxPyPrintPreview(wxPyPrintout
* printout
,
3660 wxPyPrintout
* printoutForPrinting
,
3661 wxPrintDialogData
* data
=NULL
)
3662 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 wxPyPrintPreview(wxPyPrintout
* printout
,
3665 wxPyPrintout
* printoutForPrinting
,
3667 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3681 // Stupid renamed classes... Fix this in 2.5...
3682 #if defined(__WXMSW__)
3683 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3684 #elif defined(__WXMAC__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3687 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3690 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3693 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3694 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3695 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3696 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3699 class wxPyPreviewFrame
: public wxPreviewFrame
3701 DECLARE_CLASS(wxPyPreviewFrame
)
3703 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3704 const wxString
& title
,
3705 const wxPoint
& pos
= wxDefaultPosition
,
3706 const wxSize
& size
= wxDefaultSize
,
3707 long style
= wxDEFAULT_FRAME_STYLE
,
3708 const wxString
& name
= wxPyFrameNameStr
)
3709 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3712 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3713 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3715 DEC_PYCALLBACK_VOID_(Initialize
);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3722 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3729 class wxPyPreviewControlBar
: public wxPreviewControlBar
3731 DECLARE_CLASS(wxPyPreviewControlBar
)
3733 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3736 const wxPoint
& pos
= wxDefaultPosition
,
3737 const wxSize
& size
= wxDefaultSize
,
3739 const wxString
& name
= wxPyPanelNameStr
)
3740 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3743 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3745 DEC_PYCALLBACK_VOID_(CreateButtons
);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3751 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3752 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3753 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3758 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= 0;
3760 wxWindow
*arg1
= (wxWindow
*) 0 ;
3761 int arg2
= (int) (int)-1 ;
3762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3766 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3767 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3769 wxPanel
*result
= 0 ;
3778 bool temp6
= false ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3781 PyObject
* obj2
= 0 ;
3782 PyObject
* obj3
= 0 ;
3783 PyObject
* obj4
= 0 ;
3784 PyObject
* obj5
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3797 if (!SWIG_IsOK(ecode2
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 arg2
= static_cast< int >(val2
);
3805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3816 if (!SWIG_IsOK(ecode5
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 arg5
= static_cast< long >(val5
);
3823 arg6
= wxString_in_helper(obj5
);
3824 if (arg6
== NULL
) SWIG_fail
;
3829 if (!wxPyCheckForApp()) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3850 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3851 PyObject
*resultobj
= 0;
3852 wxPanel
*result
= 0 ;
3854 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3856 if (!wxPyCheckForApp()) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxPanel
*)new wxPanel();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3869 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= 0;
3871 wxPanel
*arg1
= (wxPanel
*) 0 ;
3872 wxWindow
*arg2
= (wxWindow
*) 0 ;
3873 int arg3
= (int) (int)-1 ;
3874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3878 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3879 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3892 bool temp7
= false ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3895 PyObject
* obj2
= 0 ;
3896 PyObject
* obj3
= 0 ;
3897 PyObject
* obj4
= 0 ;
3898 PyObject
* obj5
= 0 ;
3899 PyObject
* obj6
= 0 ;
3900 char * kwnames
[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3906 if (!SWIG_IsOK(res1
)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3911 if (!SWIG_IsOK(res2
)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3917 if (!SWIG_IsOK(ecode3
)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 arg3
= static_cast< int >(val3
);
3925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3936 if (!SWIG_IsOK(ecode6
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 arg6
= static_cast< long >(val6
);
3943 arg7
= wxString_in_helper(obj6
);
3944 if (arg7
== NULL
) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3971 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3972 PyObject
*resultobj
= 0;
3973 wxPanel
*arg1
= (wxPanel
*) 0 ;
3976 PyObject
*swig_obj
[1] ;
3978 if (!args
) SWIG_fail
;
3980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3981 if (!SWIG_IsOK(res1
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_Py_Void();
3998 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
= 0;
4000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4001 SwigValueWrapper
<wxVisualAttributes
> result
;
4004 PyObject
* obj0
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "variant", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4012 if (!SWIG_IsOK(ecode1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 arg1
= static_cast< wxWindowVariant
>(val1
);
4018 if (!wxPyCheckForApp()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4031 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4035 return SWIG_Py_Void();
4038 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 return SWIG_Python_InitShadowInstance(args
);
4042 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
= 0;
4044 wxWindow
*arg1
= (wxWindow
*) 0 ;
4045 int arg2
= (int) (int)-1 ;
4046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4050 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4051 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4053 wxScrolledWindow
*result
= 0 ;
4062 bool temp6
= false ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4065 PyObject
* obj2
= 0 ;
4066 PyObject
* obj3
= 0 ;
4067 PyObject
* obj4
= 0 ;
4068 PyObject
* obj5
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4081 if (!SWIG_IsOK(ecode2
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 arg2
= static_cast< int >(val2
);
4089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4095 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4099 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4100 if (!SWIG_IsOK(ecode5
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 arg5
= static_cast< long >(val5
);
4107 arg6
= wxString_in_helper(obj5
);
4108 if (arg6
== NULL
) SWIG_fail
;
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4134 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 PyObject
*resultobj
= 0;
4136 wxScrolledWindow
*result
= 0 ;
4138 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
= 0;
4155 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4156 wxWindow
*arg2
= (wxWindow
*) 0 ;
4157 int arg3
= (int) (int)-1 ;
4158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4162 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4163 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4176 bool temp7
= false ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 PyObject
* obj3
= 0 ;
4181 PyObject
* obj4
= 0 ;
4182 PyObject
* obj5
= 0 ;
4183 PyObject
* obj6
= 0 ;
4184 char * kwnames
[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4195 if (!SWIG_IsOK(res2
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4201 if (!SWIG_IsOK(ecode3
)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 arg3
= static_cast< int >(val3
);
4209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4219 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4220 if (!SWIG_IsOK(ecode6
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 arg6
= static_cast< long >(val6
);
4227 arg7
= wxString_in_helper(obj6
);
4228 if (arg7
== NULL
) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4255 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= 0;
4257 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4262 int arg6
= (int) 0 ;
4263 int arg7
= (int) 0 ;
4264 bool arg8
= (bool) false ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 PyObject
* obj2
= 0 ;
4284 PyObject
* obj3
= 0 ;
4285 PyObject
* obj4
= 0 ;
4286 PyObject
* obj5
= 0 ;
4287 PyObject
* obj6
= 0 ;
4288 PyObject
* obj7
= 0 ;
4289 char * kwnames
[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4300 if (!SWIG_IsOK(ecode2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 arg2
= static_cast< int >(val2
);
4304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4305 if (!SWIG_IsOK(ecode3
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 arg3
= static_cast< int >(val3
);
4309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4310 if (!SWIG_IsOK(ecode4
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 arg4
= static_cast< int >(val4
);
4314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4315 if (!SWIG_IsOK(ecode5
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 arg5
= static_cast< int >(val5
);
4320 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4321 if (!SWIG_IsOK(ecode6
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 arg6
= static_cast< int >(val6
);
4327 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4328 if (!SWIG_IsOK(ecode7
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 arg7
= static_cast< int >(val7
);
4334 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4335 if (!SWIG_IsOK(ecode8
)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 arg8
= static_cast< bool >(val8
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_Py_Void();
4353 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
= 0;
4355 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4378 if (!SWIG_IsOK(ecode2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 arg2
= static_cast< int >(val2
);
4382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4383 if (!SWIG_IsOK(ecode3
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 arg3
= static_cast< int >(val3
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->Scroll(arg2
,arg3
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_Py_Void();
4400 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
= 0;
4402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "orient", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4422 if (!SWIG_IsOK(ecode2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 arg2
= static_cast< int >(val2
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_From_int(static_cast< int >(result
));
4439 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4452 PyObject
* obj2
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 arg2
= static_cast< int >(val2
);
4468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4469 if (!SWIG_IsOK(ecode3
)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 arg3
= static_cast< int >(val3
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_Py_Void();
4486 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= 0;
4488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4499 PyObject
* obj2
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4506 if (!SWIG_IsOK(res1
)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4511 if (!SWIG_IsOK(ecode2
)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 arg2
= static_cast< int >(val2
);
4515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4516 if (!SWIG_IsOK(ecode3
)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 arg3
= static_cast< int >(val3
);
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetScrollRate(arg2
,arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_Py_Void();
4533 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4534 PyObject
*resultobj
= 0;
4535 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4536 int *arg2
= (int *) 0 ;
4537 int *arg3
= (int *) 0 ;
4541 int res2
= SWIG_TMPOBJ
;
4543 int res3
= SWIG_TMPOBJ
;
4544 PyObject
*swig_obj
[1] ;
4548 if (!args
) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4565 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4568 if (SWIG_IsTmpObj(res3
)) {
4569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4580 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 char * kwnames
[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4600 if (!SWIG_IsOK(res1
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4605 if (!SWIG_IsOK(ecode2
)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 arg2
= static_cast< bool >(val2
);
4609 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4610 if (!SWIG_IsOK(ecode3
)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 arg3
= static_cast< bool >(val3
);
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 (arg1
)->EnableScrolling(arg2
,arg3
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_Py_Void();
4627 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4628 PyObject
*resultobj
= 0;
4629 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4630 int *arg2
= (int *) 0 ;
4631 int *arg3
= (int *) 0 ;
4635 int res2
= SWIG_TMPOBJ
;
4637 int res3
= SWIG_TMPOBJ
;
4638 PyObject
*swig_obj
[1] ;
4642 if (!args
) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4659 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4662 if (SWIG_IsTmpObj(res3
)) {
4663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4665 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4674 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 char * kwnames
[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4694 if (!SWIG_IsOK(res1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4699 if (!SWIG_IsOK(ecode2
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 arg2
= static_cast< double >(val2
);
4703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4704 if (!SWIG_IsOK(ecode3
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 arg3
= static_cast< double >(val3
);
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetScale(arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_Py_Void();
4721 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4722 PyObject
*resultobj
= 0;
4723 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4727 PyObject
*swig_obj
[1] ;
4729 if (!args
) SWIG_fail
;
4731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4732 if (!SWIG_IsOK(res1
)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_From_double(static_cast< double >(result
));
4749 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4750 PyObject
*resultobj
= 0;
4751 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4755 PyObject
*swig_obj
[1] ;
4757 if (!args
) SWIG_fail
;
4759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4760 if (!SWIG_IsOK(res1
)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_From_double(static_cast< double >(result
));
4777 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4778 PyObject
*resultobj
= 0;
4779 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4786 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4788 if (!SWIG_IsOK(res1
)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4794 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4809 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4810 PyObject
*resultobj
= 0;
4811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4814 int *arg4
= (int *) 0 ;
4815 int *arg5
= (int *) 0 ;
4823 int res4
= SWIG_TMPOBJ
;
4825 int res5
= SWIG_TMPOBJ
;
4829 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4835 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4836 if (!SWIG_IsOK(ecode2
)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 arg2
= static_cast< int >(val2
);
4840 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4841 if (!SWIG_IsOK(ecode3
)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 arg3
= static_cast< int >(val3
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4858 if (SWIG_IsTmpObj(res5
)) {
4859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4870 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4889 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4890 PyObject
*resultobj
= 0;
4891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4898 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4906 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4921 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4922 PyObject
*resultobj
= 0;
4923 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4926 int *arg4
= (int *) 0 ;
4927 int *arg5
= (int *) 0 ;
4935 int res4
= SWIG_TMPOBJ
;
4937 int res5
= SWIG_TMPOBJ
;
4941 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 arg2
= static_cast< int >(val2
);
4952 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4953 if (!SWIG_IsOK(ecode3
)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 arg3
= static_cast< int >(val3
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4967 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4970 if (SWIG_IsTmpObj(res5
)) {
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4973 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4982 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4986 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5001 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5006 PyObject
*swig_obj
[1] ;
5008 if (!args
) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_Py_Void();
5028 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5031 wxScrollWinEvent
*arg2
= 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "self",(char *) "event", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5045 if (!SWIG_IsOK(res1
)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5050 if (!SWIG_IsOK(res2
)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_From_int(static_cast< int >(result
));
5070 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= 0;
5072 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5073 wxWindow
*arg2
= (wxWindow
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "self",(char *) "target", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5091 if (!SWIG_IsOK(res2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetTargetWindow(arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_Py_Void();
5108 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5111 wxWindow
*result
= 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= wxPyMake_wxObject(result
, 0);
5138 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5147 char * kwnames
[] = {
5148 (char *) "self",(char *) "rect", NULL
5151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5153 if (!SWIG_IsOK(res1
)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5156 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5159 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_Py_Void();
5174 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5175 PyObject
*resultobj
= 0;
5176 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5180 PyObject
*swig_obj
[1] ;
5182 if (!args
) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5188 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5202 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
= 0;
5204 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5211 PyObject
* obj1
= 0 ;
5212 char * kwnames
[] = {
5213 (char *) "self",(char *) "dc", NULL
5216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5221 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5223 if (!SWIG_IsOK(res2
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 (arg1
)->DoPrepareDC(*arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_Py_Void();
5243 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5246 SwigValueWrapper
<wxVisualAttributes
> result
;
5249 PyObject
* obj0
= 0 ;
5250 char * kwnames
[] = {
5251 (char *) "variant", NULL
5254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5256 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5257 if (!SWIG_IsOK(ecode1
)) {
5258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5260 arg1
= static_cast< wxWindowVariant
>(val1
);
5263 if (!wxPyCheckForApp()) SWIG_fail
;
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5276 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5279 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5280 return SWIG_Py_Void();
5283 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5284 return SWIG_Python_InitShadowInstance(args
);
5287 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5288 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5293 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5294 PyObject
*pyobj
= 0;
5298 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5300 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5307 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5308 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5313 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5314 PyObject
*pyobj
= 0;
5318 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5320 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5327 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5328 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5333 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5334 PyObject
*pyobj
= 0;
5338 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5340 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5347 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5348 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5353 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5354 PyObject
*pyobj
= 0;
5358 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5360 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5367 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
= 0;
5369 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5370 bool arg2
= (bool) true ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5377 char * kwnames
[] = {
5378 (char *) "self",(char *) "maximize", NULL
5381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5383 if (!SWIG_IsOK(res1
)) {
5384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5386 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5389 if (!SWIG_IsOK(ecode2
)) {
5390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5392 arg2
= static_cast< bool >(val2
);
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 (arg1
)->Maximize(arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_Py_Void();
5407 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5408 PyObject
*resultobj
= 0;
5409 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5412 PyObject
*swig_obj
[1] ;
5414 if (!args
) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5420 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_Py_Void();
5434 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
= 0;
5436 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5437 bool arg2
= (bool) true ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "self",(char *) "iconize", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5450 if (!SWIG_IsOK(res1
)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5453 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5456 if (!SWIG_IsOK(ecode2
)) {
5457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5459 arg2
= static_cast< bool >(val2
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->Iconize(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_Py_Void();
5474 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5475 PyObject
*resultobj
= 0;
5476 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5480 PyObject
*swig_obj
[1] ;
5482 if (!args
) SWIG_fail
;
5484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5485 if (!SWIG_IsOK(res1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5488 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5504 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5506 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5510 PyObject
*swig_obj
[1] ;
5512 if (!args
) SWIG_fail
;
5514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5515 if (!SWIG_IsOK(res1
)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5518 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5534 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5535 PyObject
*resultobj
= 0;
5536 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5540 PyObject
*swig_obj
[1] ;
5542 if (!args
) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5548 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5564 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5565 PyObject
*resultobj
= 0;
5566 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5570 PyObject
*swig_obj
[1] ;
5572 if (!args
) SWIG_fail
;
5574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5575 if (!SWIG_IsOK(res1
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5578 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5592 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
= 0;
5594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5602 char * kwnames
[] = {
5603 (char *) "self",(char *) "icon", NULL
5606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5608 if (!SWIG_IsOK(res1
)) {
5609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5611 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5613 if (!SWIG_IsOK(res2
)) {
5614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_Py_Void();
5633 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
= 0;
5635 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5636 wxIconBundle
*arg2
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5643 char * kwnames
[] = {
5644 (char *) "self",(char *) "icons", NULL
5647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5649 if (!SWIG_IsOK(res1
)) {
5650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5652 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5654 if (!SWIG_IsOK(res2
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= SWIG_Py_Void();
5674 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= 0;
5676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5678 long arg3
= (long) wxFULLSCREEN_ALL
;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5688 PyObject
* obj2
= 0 ;
5689 char * kwnames
[] = {
5690 (char *) "self",(char *) "show",(char *) "style", NULL
5693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5695 if (!SWIG_IsOK(res1
)) {
5696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5698 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5700 if (!SWIG_IsOK(ecode2
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5703 arg2
= static_cast< bool >(val2
);
5705 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5706 if (!SWIG_IsOK(ecode3
)) {
5707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5709 arg3
= static_cast< long >(val3
);
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5727 PyObject
*resultobj
= 0;
5728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5732 PyObject
*swig_obj
[1] ;
5734 if (!args
) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5756 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
= 0;
5758 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5759 wxString
*arg2
= 0 ;
5762 bool temp2
= false ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5765 char * kwnames
[] = {
5766 (char *) "self",(char *) "title", NULL
5769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5771 if (!SWIG_IsOK(res1
)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5774 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5776 arg2
= wxString_in_helper(obj1
);
5777 if (arg2
== NULL
) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 (arg1
)->SetTitle((wxString
const &)*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_Py_Void();
5801 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5802 PyObject
*resultobj
= 0;
5803 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5807 PyObject
*swig_obj
[1] ;
5809 if (!args
) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5815 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5835 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 char * kwnames
[] = {
5847 (char *) "self",(char *) "enable", NULL
5850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5855 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5856 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5857 if (!SWIG_IsOK(ecode2
)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5860 arg2
= static_cast< bool >(val2
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5876 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5878 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5879 wxRegion
*arg2
= 0 ;
5885 PyObject
* obj0
= 0 ;
5886 PyObject
* obj1
= 0 ;
5887 char * kwnames
[] = {
5888 (char *) "self",(char *) "region", NULL
5891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5893 if (!SWIG_IsOK(res1
)) {
5894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5898 if (!SWIG_IsOK(res2
)) {
5899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5920 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= 0;
5922 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5923 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 char * kwnames
[] = {
5931 (char *) "self",(char *) "flags", NULL
5934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5942 if (!SWIG_IsOK(ecode2
)) {
5943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5945 arg2
= static_cast< int >(val2
);
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 (arg1
)->RequestUserAttention(arg2
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_Py_Void();
5960 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5961 PyObject
*resultobj
= 0;
5962 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5966 PyObject
*swig_obj
[1] ;
5968 if (!args
) SWIG_fail
;
5970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5971 if (!SWIG_IsOK(res1
)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (bool)(arg1
)->IsActive();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5990 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
= 0;
5992 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6000 char * kwnames
[] = {
6001 (char *) "self",(char *) "on", NULL
6004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6009 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6011 if (!SWIG_IsOK(ecode2
)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6014 arg2
= static_cast< bool >(val2
);
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_Py_Void();
6028 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6034 PyObject
*swig_obj
[1] ;
6036 if (!args
) SWIG_fail
;
6038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6039 if (!SWIG_IsOK(res1
)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
= 0;
6060 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6061 int arg2
= (int) wxBOTH
;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6068 char * kwnames
[] = {
6069 (char *) "self",(char *) "dir", NULL
6072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",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_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6080 if (!SWIG_IsOK(ecode2
)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6083 arg2
= static_cast< int >(val2
);
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 (arg1
)->CenterOnScreen(arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_Py_Void();
6098 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6099 PyObject
*resultobj
= 0;
6100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6101 wxWindow
*result
= 0 ;
6104 PyObject
*swig_obj
[1] ;
6106 if (!args
) SWIG_fail
;
6108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6109 if (!SWIG_IsOK(res1
)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6112 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= wxPyMake_wxObject(result
, 0);
6128 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6131 wxWindow
*arg2
= (wxWindow
*) 0 ;
6132 wxWindow
*result
= 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 char * kwnames
[] = {
6140 (char *) "self",(char *) "child", NULL
6143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6145 if (!SWIG_IsOK(res1
)) {
6146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6148 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6150 if (!SWIG_IsOK(res2
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= wxPyMake_wxObject(result
, 0);
6169 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6171 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6172 wxWindow
*arg2
= (wxWindow
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 char * kwnames
[] = {
6180 (char *) "self",(char *) "win", NULL
6183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6185 if (!SWIG_IsOK(res1
)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6188 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6190 if (!SWIG_IsOK(res2
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6193 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 (arg1
)->SetTmpDefaultItem(arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_Py_Void();
6207 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6208 PyObject
*resultobj
= 0;
6209 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6210 wxWindow
*result
= 0 ;
6213 PyObject
*swig_obj
[1] ;
6215 if (!args
) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6221 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= wxPyMake_wxObject(result
, 0);
6237 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6240 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6241 return SWIG_Py_Void();
6244 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
= 0;
6246 wxWindow
*arg1
= (wxWindow
*) 0 ;
6247 int arg2
= (int) (int)-1 ;
6248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6250 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6251 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6252 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6253 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6254 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6255 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6256 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6257 wxFrame
*result
= 0 ;
6262 bool temp3
= false ;
6267 bool temp7
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 PyObject
* obj2
= 0 ;
6271 PyObject
* obj3
= 0 ;
6272 PyObject
* obj4
= 0 ;
6273 PyObject
* obj5
= 0 ;
6274 PyObject
* obj6
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6287 if (!SWIG_IsOK(ecode2
)) {
6288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6290 arg2
= static_cast< int >(val2
);
6294 arg3
= wxString_in_helper(obj2
);
6295 if (arg3
== NULL
) SWIG_fail
;
6302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6312 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6313 if (!SWIG_IsOK(ecode6
)) {
6314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6316 arg6
= static_cast< long >(val6
);
6320 arg7
= wxString_in_helper(obj6
);
6321 if (arg7
== NULL
) SWIG_fail
;
6326 if (!wxPyCheckForApp()) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6355 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6356 PyObject
*resultobj
= 0;
6357 wxFrame
*result
= 0 ;
6359 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6361 if (!wxPyCheckForApp()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxFrame
*)new wxFrame();
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6374 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= 0;
6376 wxFrame
*arg1
= (wxFrame
*) 0 ;
6377 wxWindow
*arg2
= (wxWindow
*) 0 ;
6378 int arg3
= (int) (int)-1 ;
6379 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6380 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6381 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6382 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6383 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6384 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6385 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6386 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6387 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6395 bool temp4
= false ;
6400 bool temp8
= false ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 PyObject
* obj2
= 0 ;
6404 PyObject
* obj3
= 0 ;
6405 PyObject
* obj4
= 0 ;
6406 PyObject
* obj5
= 0 ;
6407 PyObject
* obj6
= 0 ;
6408 PyObject
* obj7
= 0 ;
6409 char * kwnames
[] = {
6410 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6418 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6420 if (!SWIG_IsOK(res2
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6423 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6426 if (!SWIG_IsOK(ecode3
)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6429 arg3
= static_cast< int >(val3
);
6433 arg4
= wxString_in_helper(obj3
);
6434 if (arg4
== NULL
) SWIG_fail
;
6441 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6447 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6451 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6452 if (!SWIG_IsOK(ecode7
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6455 arg7
= static_cast< long >(val7
);
6459 arg8
= wxString_in_helper(obj7
);
6460 if (arg8
== NULL
) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6495 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6496 PyObject
*resultobj
= 0;
6497 wxFrame
*arg1
= (wxFrame
*) 0 ;
6500 PyObject
*swig_obj
[1] ;
6502 if (!args
) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6508 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 (arg1
)->SendSizeEvent();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_Py_Void();
6522 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
= 0;
6524 wxFrame
*arg1
= (wxFrame
*) 0 ;
6525 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "self",(char *) "menubar", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6543 if (!SWIG_IsOK(res2
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6546 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 (arg1
)->SetMenuBar(arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_Py_Void();
6560 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6561 PyObject
*resultobj
= 0;
6562 wxFrame
*arg1
= (wxFrame
*) 0 ;
6563 wxMenuBar
*result
= 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6574 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= wxPyMake_wxObject(result
, 0);
6590 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
= 0;
6592 wxFrame
*arg1
= (wxFrame
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6601 char * kwnames
[] = {
6602 (char *) "self",(char *) "winid", NULL
6605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6610 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6612 if (!SWIG_IsOK(ecode2
)) {
6613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6615 arg2
= static_cast< int >(val2
);
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6631 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
= 0;
6633 wxFrame
*arg1
= (wxFrame
*) 0 ;
6634 int arg2
= (int) 1 ;
6635 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6636 int arg4
= (int) 0 ;
6637 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6638 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6639 wxStatusBar
*result
= 0 ;
6648 bool temp5
= false ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 PyObject
* obj2
= 0 ;
6652 PyObject
* obj3
= 0 ;
6653 PyObject
* obj4
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6663 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6666 if (!SWIG_IsOK(ecode2
)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6669 arg2
= static_cast< int >(val2
);
6672 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6673 if (!SWIG_IsOK(ecode3
)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6676 arg3
= static_cast< long >(val3
);
6679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6680 if (!SWIG_IsOK(ecode4
)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6683 arg4
= static_cast< int >(val4
);
6687 arg5
= wxString_in_helper(obj4
);
6688 if (arg5
== NULL
) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6715 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6716 PyObject
*resultobj
= 0;
6717 wxFrame
*arg1
= (wxFrame
*) 0 ;
6718 wxStatusBar
*result
= 0 ;
6721 PyObject
*swig_obj
[1] ;
6723 if (!args
) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6729 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6745 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= 0;
6747 wxFrame
*arg1
= (wxFrame
*) 0 ;
6748 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 char * kwnames
[] = {
6756 (char *) "self",(char *) "statBar", NULL
6759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6764 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6766 if (!SWIG_IsOK(res2
)) {
6767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6769 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 (arg1
)->SetStatusBar(arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_Py_Void();
6783 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
= 0;
6785 wxFrame
*arg1
= (wxFrame
*) 0 ;
6786 wxString
*arg2
= 0 ;
6787 int arg3
= (int) 0 ;
6790 bool temp2
= false ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 PyObject
* obj2
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "text",(char *) "number", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6805 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6807 arg2
= wxString_in_helper(obj1
);
6808 if (arg2
== NULL
) SWIG_fail
;
6812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6813 if (!SWIG_IsOK(ecode3
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6816 arg3
= static_cast< int >(val3
);
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_Py_Void();
6839 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
= 0;
6841 wxFrame
*arg1
= (wxFrame
*) 0 ;
6843 int *arg3
= (int *) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6848 char * kwnames
[] = {
6849 (char *) "self",(char *) "widths", NULL
6852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6854 if (!SWIG_IsOK(res1
)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6857 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6859 arg2
= PyList_Size(obj1
);
6860 arg3
= int_LIST_helper(obj1
);
6861 if (arg3
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= SWIG_Py_Void();
6871 if (arg3
) delete [] arg3
;
6876 if (arg3
) delete [] arg3
;
6882 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
= 0;
6884 wxFrame
*arg1
= (wxFrame
*) 0 ;
6885 wxString
*arg2
= 0 ;
6886 int arg3
= (int) 0 ;
6889 bool temp2
= false ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6894 PyObject
* obj2
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "text",(char *) "number", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6906 arg2
= wxString_in_helper(obj1
);
6907 if (arg2
== NULL
) SWIG_fail
;
6911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6912 if (!SWIG_IsOK(ecode3
)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6915 arg3
= static_cast< int >(val3
);
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_Py_Void();
6938 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
= 0;
6940 wxFrame
*arg1
= (wxFrame
*) 0 ;
6941 int arg2
= (int) 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 char * kwnames
[] = {
6949 (char *) "self",(char *) "number", NULL
6952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6954 if (!SWIG_IsOK(res1
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6957 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6960 if (!SWIG_IsOK(ecode2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6963 arg2
= static_cast< int >(val2
);
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 (arg1
)->PopStatusText(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_Py_Void();
6978 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
= 0;
6980 wxFrame
*arg1
= (wxFrame
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 char * kwnames
[] = {
6989 (char *) "self",(char *) "n", NULL
6992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6994 if (!SWIG_IsOK(res1
)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6997 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6999 if (!SWIG_IsOK(ecode2
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7002 arg2
= static_cast< int >(val2
);
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->SetStatusBarPane(arg2
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= SWIG_Py_Void();
7016 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 PyObject
*resultobj
= 0;
7018 wxFrame
*arg1
= (wxFrame
*) 0 ;
7022 PyObject
*swig_obj
[1] ;
7024 if (!args
) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7030 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_From_int(static_cast< int >(result
));
7044 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
= 0;
7046 wxFrame
*arg1
= (wxFrame
*) 0 ;
7047 long arg2
= (long) -1 ;
7048 int arg3
= (int) -1 ;
7049 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7050 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7051 wxToolBar
*result
= 0 ;
7058 bool temp4
= false ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 PyObject
* obj2
= 0 ;
7062 PyObject
* obj3
= 0 ;
7063 char * kwnames
[] = {
7064 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7072 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7075 if (!SWIG_IsOK(ecode2
)) {
7076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7078 arg2
= static_cast< long >(val2
);
7081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7082 if (!SWIG_IsOK(ecode3
)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7085 arg3
= static_cast< int >(val3
);
7089 arg4
= wxString_in_helper(obj3
);
7090 if (arg4
== NULL
) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7117 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7118 PyObject
*resultobj
= 0;
7119 wxFrame
*arg1
= (wxFrame
*) 0 ;
7120 wxToolBar
*result
= 0 ;
7123 PyObject
*swig_obj
[1] ;
7125 if (!args
) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7131 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7147 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxFrame
*arg1
= (wxFrame
*) 0 ;
7150 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "self",(char *) "toolbar", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7166 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7168 if (!SWIG_IsOK(res2
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7171 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 (arg1
)->SetToolBar(arg2
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_Py_Void();
7185 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= 0;
7187 wxFrame
*arg1
= (wxFrame
*) 0 ;
7188 wxString
*arg2
= 0 ;
7192 bool temp2
= false ;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7197 PyObject
* obj2
= 0 ;
7198 char * kwnames
[] = {
7199 (char *) "self",(char *) "text",(char *) "show", NULL
7202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7204 if (!SWIG_IsOK(res1
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7207 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7209 arg2
= wxString_in_helper(obj1
);
7210 if (arg2
== NULL
) SWIG_fail
;
7213 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7214 if (!SWIG_IsOK(ecode3
)) {
7215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7217 arg3
= static_cast< bool >(val3
);
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 resultobj
= SWIG_Py_Void();
7239 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
= 0;
7241 wxFrame
*arg1
= (wxFrame
*) 0 ;
7242 wxMenu
*arg2
= (wxMenu
*) NULL
;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 char * kwnames
[] = {
7250 (char *) "self",(char *) "menu", NULL
7253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7258 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7261 if (!SWIG_IsOK(res2
)) {
7262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7264 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->DoMenuUpdates(arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_Py_Void();
7279 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
= 0;
7281 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7282 SwigValueWrapper
<wxVisualAttributes
> result
;
7285 PyObject
* obj0
= 0 ;
7286 char * kwnames
[] = {
7287 (char *) "variant", NULL
7290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7293 if (!SWIG_IsOK(ecode1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7296 arg1
= static_cast< wxWindowVariant
>(val1
);
7299 if (!wxPyCheckForApp()) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7312 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7315 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7316 return SWIG_Py_Void();
7319 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7320 return SWIG_Python_InitShadowInstance(args
);
7323 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
= 0;
7325 wxWindow
*arg1
= (wxWindow
*) 0 ;
7326 int arg2
= (int) (int)-1 ;
7327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7333 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7334 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7336 wxDialog
*result
= 0 ;
7341 bool temp3
= false ;
7346 bool temp7
= false ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 PyObject
* obj2
= 0 ;
7350 PyObject
* obj3
= 0 ;
7351 PyObject
* obj4
= 0 ;
7352 PyObject
* obj5
= 0 ;
7353 PyObject
* obj6
= 0 ;
7354 char * kwnames
[] = {
7355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7360 if (!SWIG_IsOK(res1
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7366 if (!SWIG_IsOK(ecode2
)) {
7367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7369 arg2
= static_cast< int >(val2
);
7373 arg3
= wxString_in_helper(obj2
);
7374 if (arg3
== NULL
) SWIG_fail
;
7381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7391 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7392 if (!SWIG_IsOK(ecode6
)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7395 arg6
= static_cast< long >(val6
);
7399 arg7
= wxString_in_helper(obj6
);
7400 if (arg7
== NULL
) SWIG_fail
;
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7434 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7435 PyObject
*resultobj
= 0;
7436 wxDialog
*result
= 0 ;
7438 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7440 if (!wxPyCheckForApp()) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (wxDialog
*)new wxDialog();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7453 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7455 wxDialog
*arg1
= (wxDialog
*) 0 ;
7456 wxWindow
*arg2
= (wxWindow
*) 0 ;
7457 int arg3
= (int) (int)-1 ;
7458 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7459 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7464 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7465 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7474 bool temp4
= false ;
7479 bool temp8
= false ;
7480 PyObject
* obj0
= 0 ;
7481 PyObject
* obj1
= 0 ;
7482 PyObject
* obj2
= 0 ;
7483 PyObject
* obj3
= 0 ;
7484 PyObject
* obj4
= 0 ;
7485 PyObject
* obj5
= 0 ;
7486 PyObject
* obj6
= 0 ;
7487 PyObject
* obj7
= 0 ;
7488 char * kwnames
[] = {
7489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7494 if (!SWIG_IsOK(res1
)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7497 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7499 if (!SWIG_IsOK(res2
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7505 if (!SWIG_IsOK(ecode3
)) {
7506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7508 arg3
= static_cast< int >(val3
);
7512 arg4
= wxString_in_helper(obj3
);
7513 if (arg4
== NULL
) SWIG_fail
;
7520 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7526 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7530 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7531 if (!SWIG_IsOK(ecode7
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7534 arg7
= static_cast< long >(val7
);
7538 arg8
= wxString_in_helper(obj7
);
7539 if (arg8
== NULL
) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7574 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxDialog
*arg1
= (wxDialog
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 char * kwnames
[] = {
7585 (char *) "self",(char *) "returnCode", NULL
7588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7595 if (!SWIG_IsOK(ecode2
)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7598 arg2
= static_cast< int >(val2
);
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 (arg1
)->SetReturnCode(arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= SWIG_Py_Void();
7612 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7613 PyObject
*resultobj
= 0;
7614 wxDialog
*arg1
= (wxDialog
*) 0 ;
7618 PyObject
*swig_obj
[1] ;
7620 if (!args
) SWIG_fail
;
7622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7623 if (!SWIG_IsOK(res1
)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7626 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_From_int(static_cast< int >(result
));
7640 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
= 0;
7642 wxDialog
*arg1
= (wxDialog
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 char * kwnames
[] = {
7651 (char *) "self",(char *) "affirmativeId", NULL
7654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7656 if (!SWIG_IsOK(res1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7661 if (!SWIG_IsOK(ecode2
)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7664 arg2
= static_cast< int >(val2
);
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 (arg1
)->SetAffirmativeId(arg2
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_Py_Void();
7678 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7679 PyObject
*resultobj
= 0;
7680 wxDialog
*arg1
= (wxDialog
*) 0 ;
7684 PyObject
*swig_obj
[1] ;
7686 if (!args
) SWIG_fail
;
7688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7689 if (!SWIG_IsOK(res1
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7692 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_From_int(static_cast< int >(result
));
7706 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
= 0;
7708 wxDialog
*arg1
= (wxDialog
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "self",(char *) "escapeId", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7722 if (!SWIG_IsOK(res1
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7725 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7727 if (!SWIG_IsOK(ecode2
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7730 arg2
= static_cast< int >(val2
);
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->SetEscapeId(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_Py_Void();
7744 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7745 PyObject
*resultobj
= 0;
7746 wxDialog
*arg1
= (wxDialog
*) 0 ;
7750 PyObject
*swig_obj
[1] ;
7752 if (!args
) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7758 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_From_int(static_cast< int >(result
));
7772 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
= 0;
7774 wxDialog
*arg1
= (wxDialog
*) 0 ;
7775 wxString
*arg2
= 0 ;
7776 wxSizer
*result
= 0 ;
7779 bool temp2
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 char * kwnames
[] = {
7783 (char *) "self",(char *) "message", NULL
7786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7791 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7793 arg2
= wxString_in_helper(obj1
);
7794 if (arg2
== NULL
) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7820 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxDialog
*arg1
= (wxDialog
*) 0 ;
7824 wxSizer
*result
= 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "self",(char *) "flags", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7840 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7841 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7842 if (!SWIG_IsOK(ecode2
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7845 arg2
= static_cast< long >(val2
);
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7861 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
= 0;
7863 wxDialog
*arg1
= (wxDialog
*) 0 ;
7865 wxSizer
*result
= 0 ;
7870 PyObject
* obj0
= 0 ;
7871 PyObject
* obj1
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "flags", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7881 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7883 if (!SWIG_IsOK(ecode2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7886 arg2
= static_cast< long >(val2
);
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7902 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
= 0;
7904 wxDialog
*arg1
= (wxDialog
*) 0 ;
7906 wxStdDialogButtonSizer
*result
= 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "flags", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7922 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7923 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7924 if (!SWIG_IsOK(ecode2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7927 arg2
= static_cast< long >(val2
);
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7941 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7942 PyObject
*resultobj
= 0;
7943 wxDialog
*arg1
= (wxDialog
*) 0 ;
7947 PyObject
*swig_obj
[1] ;
7949 if (!args
) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7955 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7971 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxDialog
*arg1
= (wxDialog
*) 0 ;
7977 PyObject
*swig_obj
[1] ;
7979 if (!args
) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (int)(arg1
)->ShowModal();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_From_int(static_cast< int >(result
));
7999 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxDialog
*arg1
= (wxDialog
*) 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8009 char * kwnames
[] = {
8010 (char *) "self",(char *) "retCode", NULL
8013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8018 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8020 if (!SWIG_IsOK(ecode2
)) {
8021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8023 arg2
= static_cast< int >(val2
);
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 (arg1
)->EndModal(arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= SWIG_Py_Void();
8037 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
= 0;
8039 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8040 SwigValueWrapper
<wxVisualAttributes
> result
;
8043 PyObject
* obj0
= 0 ;
8044 char * kwnames
[] = {
8045 (char *) "variant", NULL
8048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8051 if (!SWIG_IsOK(ecode1
)) {
8052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8054 arg1
= static_cast< wxWindowVariant
>(val1
);
8057 if (!wxPyCheckForApp()) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8070 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8073 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8074 return SWIG_Py_Void();
8077 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 return SWIG_Python_InitShadowInstance(args
);
8081 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
= 0;
8083 wxWindow
*arg1
= (wxWindow
*) 0 ;
8084 int arg2
= (int) (int)-1 ;
8085 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8086 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8091 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8092 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8094 wxMiniFrame
*result
= 0 ;
8099 bool temp3
= false ;
8104 bool temp7
= false ;
8105 PyObject
* obj0
= 0 ;
8106 PyObject
* obj1
= 0 ;
8107 PyObject
* obj2
= 0 ;
8108 PyObject
* obj3
= 0 ;
8109 PyObject
* obj4
= 0 ;
8110 PyObject
* obj5
= 0 ;
8111 PyObject
* obj6
= 0 ;
8112 char * kwnames
[] = {
8113 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8118 if (!SWIG_IsOK(res1
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8124 if (!SWIG_IsOK(ecode2
)) {
8125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8127 arg2
= static_cast< int >(val2
);
8131 arg3
= wxString_in_helper(obj2
);
8132 if (arg3
== NULL
) SWIG_fail
;
8139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8149 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8150 if (!SWIG_IsOK(ecode6
)) {
8151 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8153 arg6
= static_cast< long >(val6
);
8157 arg7
= wxString_in_helper(obj6
);
8158 if (arg7
== NULL
) SWIG_fail
;
8163 if (!wxPyCheckForApp()) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8192 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 PyObject
*resultobj
= 0;
8194 wxMiniFrame
*result
= 0 ;
8196 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8198 if (!wxPyCheckForApp()) SWIG_fail
;
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 result
= (wxMiniFrame
*)new wxMiniFrame();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8211 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
= 0;
8213 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8214 wxWindow
*arg2
= (wxWindow
*) 0 ;
8215 int arg3
= (int) (int)-1 ;
8216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8218 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8219 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8220 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8221 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8222 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8223 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8224 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8232 bool temp4
= false ;
8237 bool temp8
= false ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 PyObject
* obj2
= 0 ;
8241 PyObject
* obj3
= 0 ;
8242 PyObject
* obj4
= 0 ;
8243 PyObject
* obj5
= 0 ;
8244 PyObject
* obj6
= 0 ;
8245 PyObject
* obj7
= 0 ;
8246 char * kwnames
[] = {
8247 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8252 if (!SWIG_IsOK(res1
)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8255 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8257 if (!SWIG_IsOK(res2
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8263 if (!SWIG_IsOK(ecode3
)) {
8264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8266 arg3
= static_cast< int >(val3
);
8270 arg4
= wxString_in_helper(obj3
);
8271 if (arg4
== NULL
) SWIG_fail
;
8278 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8284 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8288 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8289 if (!SWIG_IsOK(ecode7
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8292 arg7
= static_cast< long >(val7
);
8296 arg8
= wxString_in_helper(obj7
);
8297 if (arg8
== NULL
) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8332 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8335 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8336 return SWIG_Py_Void();
8339 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 return SWIG_Python_InitShadowInstance(args
);
8343 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxBitmap
*arg1
= 0 ;
8346 wxWindow
*arg2
= (wxWindow
*) 0 ;
8348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8352 long arg6
= (long) wxNO_BORDER
;
8353 wxSplashScreenWindow
*result
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8367 PyObject
* obj3
= 0 ;
8368 PyObject
* obj4
= 0 ;
8369 PyObject
* obj5
= 0 ;
8370 char * kwnames
[] = {
8371 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8384 if (!SWIG_IsOK(res2
)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8387 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8389 if (!SWIG_IsOK(ecode3
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8392 arg3
= static_cast< int >(val3
);
8396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8406 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8407 if (!SWIG_IsOK(ecode6
)) {
8408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8410 arg6
= static_cast< long >(val6
);
8413 if (!wxPyCheckForApp()) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8426 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
= 0;
8428 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8429 wxBitmap
*arg2
= 0 ;
8434 PyObject
* obj0
= 0 ;
8435 PyObject
* obj1
= 0 ;
8436 char * kwnames
[] = {
8437 (char *) "self",(char *) "bitmap", NULL
8440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8445 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8447 if (!SWIG_IsOK(res2
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_Py_Void();
8467 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8468 PyObject
*resultobj
= 0;
8469 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8470 wxBitmap
*result
= 0 ;
8473 PyObject
*swig_obj
[1] ;
8475 if (!args
) SWIG_fail
;
8477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8478 if (!SWIG_IsOK(res1
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8481 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8486 result
= (wxBitmap
*) &_result_ref
;
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8492 wxBitmap
* resultptr
= new wxBitmap(*result
);
8493 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8501 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8504 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8505 return SWIG_Py_Void();
8508 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8509 return SWIG_Python_InitShadowInstance(args
);
8512 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
= 0;
8514 wxBitmap
*arg1
= 0 ;
8517 wxWindow
*arg4
= (wxWindow
*) 0 ;
8518 int arg5
= (int) -1 ;
8519 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8520 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8521 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8522 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8523 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8524 wxSplashScreen
*result
= 0 ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8543 PyObject
* obj4
= 0 ;
8544 PyObject
* obj5
= 0 ;
8545 PyObject
* obj6
= 0 ;
8546 PyObject
* obj7
= 0 ;
8547 char * kwnames
[] = {
8548 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8561 if (!SWIG_IsOK(ecode2
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8564 arg2
= static_cast< long >(val2
);
8565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8566 if (!SWIG_IsOK(ecode3
)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8569 arg3
= static_cast< int >(val3
);
8570 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8571 if (!SWIG_IsOK(res4
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8574 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8576 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8577 if (!SWIG_IsOK(ecode5
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8580 arg5
= static_cast< int >(val5
);
8585 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8591 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8595 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8596 if (!SWIG_IsOK(ecode8
)) {
8597 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8599 arg8
= static_cast< long >(val8
);
8602 if (!wxPyCheckForApp()) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8615 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8616 PyObject
*resultobj
= 0;
8617 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8621 PyObject
*swig_obj
[1] ;
8623 if (!args
) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8629 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_From_long(static_cast< long >(result
));
8643 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 PyObject
*resultobj
= 0;
8645 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8646 wxSplashScreenWindow
*result
= 0 ;
8649 PyObject
*swig_obj
[1] ;
8651 if (!args
) SWIG_fail
;
8653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8654 if (!SWIG_IsOK(res1
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8657 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8671 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8677 PyObject
*swig_obj
[1] ;
8679 if (!args
) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8685 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_From_int(static_cast< int >(result
));
8699 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8702 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8703 return SWIG_Py_Void();
8706 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 return SWIG_Python_InitShadowInstance(args
);
8710 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxWindow
*arg1
= (wxWindow
*) 0 ;
8713 int arg2
= (int) -1 ;
8714 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8715 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8717 wxStatusBar
*result
= 0 ;
8724 bool temp4
= false ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 PyObject
* obj2
= 0 ;
8728 PyObject
* obj3
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8735 if (!SWIG_IsOK(res1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8741 if (!SWIG_IsOK(ecode2
)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8744 arg2
= static_cast< int >(val2
);
8747 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8748 if (!SWIG_IsOK(ecode3
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8751 arg3
= static_cast< long >(val3
);
8755 arg4
= wxString_in_helper(obj3
);
8756 if (arg4
== NULL
) SWIG_fail
;
8761 if (!wxPyCheckForApp()) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8782 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 PyObject
*resultobj
= 0;
8784 wxStatusBar
*result
= 0 ;
8786 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8788 if (!wxPyCheckForApp()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxStatusBar
*)new wxStatusBar();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8801 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= 0;
8803 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8804 wxWindow
*arg2
= (wxWindow
*) 0 ;
8805 int arg3
= (int) -1 ;
8806 long arg4
= (long) wxST_SIZEGRIP
;
8807 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8808 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8818 bool temp5
= false ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8822 PyObject
* obj3
= 0 ;
8823 PyObject
* obj4
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8833 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8835 if (!SWIG_IsOK(res2
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8841 if (!SWIG_IsOK(ecode3
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8844 arg3
= static_cast< int >(val3
);
8847 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8848 if (!SWIG_IsOK(ecode4
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8851 arg4
= static_cast< long >(val4
);
8855 arg5
= wxString_in_helper(obj4
);
8856 if (arg5
== NULL
) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8883 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
= 0;
8885 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8886 int arg2
= (int) 1 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 char * kwnames
[] = {
8894 (char *) "self",(char *) "number", NULL
8897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) 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_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8905 if (!SWIG_IsOK(ecode2
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8908 arg2
= static_cast< int >(val2
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->SetFieldsCount(arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_Py_Void();
8923 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8924 PyObject
*resultobj
= 0;
8925 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8929 PyObject
*swig_obj
[1] ;
8931 if (!args
) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8937 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_From_int(static_cast< int >(result
));
8951 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
= 0;
8953 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8954 wxString
*arg2
= 0 ;
8955 int arg3
= (int) 0 ;
8958 bool temp2
= false ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8964 char * kwnames
[] = {
8965 (char *) "self",(char *) "text",(char *) "number", NULL
8968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8970 if (!SWIG_IsOK(res1
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8975 arg2
= wxString_in_helper(obj1
);
8976 if (arg2
== NULL
) SWIG_fail
;
8980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8981 if (!SWIG_IsOK(ecode3
)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8984 arg3
= static_cast< int >(val3
);
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= SWIG_Py_Void();
9007 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
= 0;
9009 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9010 int arg2
= (int) 0 ;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 char * kwnames
[] = {
9019 (char *) "self",(char *) "number", NULL
9022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9027 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9030 if (!SWIG_IsOK(ecode2
)) {
9031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9033 arg2
= static_cast< int >(val2
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9054 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
= 0;
9056 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9057 wxString
*arg2
= 0 ;
9058 int arg3
= (int) 0 ;
9061 bool temp2
= false ;
9064 PyObject
* obj0
= 0 ;
9065 PyObject
* obj1
= 0 ;
9066 PyObject
* obj2
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "self",(char *) "text",(char *) "number", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9078 arg2
= wxString_in_helper(obj1
);
9079 if (arg2
== NULL
) SWIG_fail
;
9083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9084 if (!SWIG_IsOK(ecode3
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9087 arg3
= static_cast< int >(val3
);
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_Py_Void();
9110 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
= 0;
9112 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9113 int arg2
= (int) 0 ;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9120 char * kwnames
[] = {
9121 (char *) "self",(char *) "number", NULL
9124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9126 if (!SWIG_IsOK(res1
)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9129 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9132 if (!SWIG_IsOK(ecode2
)) {
9133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9135 arg2
= static_cast< int >(val2
);
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->PopStatusText(arg2
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_Py_Void();
9150 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
= 0;
9152 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9154 int *arg3
= (int *) 0 ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "self",(char *) "widths", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9168 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9170 arg2
= PyList_Size(obj1
);
9171 arg3
= int_LIST_helper(obj1
);
9172 if (arg3
== NULL
) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_Py_Void();
9182 if (arg3
) delete [] arg3
;
9187 if (arg3
) delete [] arg3
;
9193 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9197 int *arg3
= (int *) 0 ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "self",(char *) "styles", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9211 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9213 arg2
= PyList_Size(obj1
);
9214 arg3
= int_LIST_helper(obj1
);
9215 if (arg3
== NULL
) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_Py_Void();
9225 if (arg3
) delete [] arg3
;
9230 if (arg3
) delete [] arg3
;
9236 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 char * kwnames
[] = {
9248 (char *) "self",(char *) "i", NULL
9251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9256 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9258 if (!SWIG_IsOK(ecode2
)) {
9259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9261 arg2
= static_cast< int >(val2
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9275 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
= 0;
9277 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9285 char * kwnames
[] = {
9286 (char *) "self",(char *) "height", NULL
9289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9291 if (!SWIG_IsOK(res1
)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9294 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9296 if (!SWIG_IsOK(ecode2
)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9299 arg2
= static_cast< int >(val2
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 (arg1
)->SetMinHeight(arg2
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_Py_Void();
9313 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9314 PyObject
*resultobj
= 0;
9315 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9319 PyObject
*swig_obj
[1] ;
9321 if (!args
) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9327 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= SWIG_From_int(static_cast< int >(result
));
9341 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9355 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9372 SwigValueWrapper
<wxVisualAttributes
> result
;
9375 PyObject
* obj0
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "variant", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9383 if (!SWIG_IsOK(ecode1
)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9386 arg1
= static_cast< wxWindowVariant
>(val1
);
9389 if (!wxPyCheckForApp()) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9402 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9405 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9406 return SWIG_Py_Void();
9409 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 return SWIG_Python_InitShadowInstance(args
);
9413 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9414 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9419 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9420 PyObject
*pyobj
= 0;
9424 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9426 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9433 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxWindow
*arg1
= (wxWindow
*) 0 ;
9436 int arg2
= (int) -1 ;
9437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9441 long arg5
= (long) wxSP_3D
;
9442 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9443 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9444 wxSplitterWindow
*result
= 0 ;
9453 bool temp6
= false ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 PyObject
* obj2
= 0 ;
9457 PyObject
* obj3
= 0 ;
9458 PyObject
* obj4
= 0 ;
9459 PyObject
* obj5
= 0 ;
9460 char * kwnames
[] = {
9461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9472 if (!SWIG_IsOK(ecode2
)) {
9473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9475 arg2
= static_cast< int >(val2
);
9480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9491 if (!SWIG_IsOK(ecode5
)) {
9492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9494 arg5
= static_cast< long >(val5
);
9498 arg6
= wxString_in_helper(obj5
);
9499 if (arg6
== NULL
) SWIG_fail
;
9504 if (!wxPyCheckForApp()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9525 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 PyObject
*resultobj
= 0;
9527 wxSplitterWindow
*result
= 0 ;
9529 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9531 if (!wxPyCheckForApp()) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9544 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9547 wxWindow
*arg2
= (wxWindow
*) 0 ;
9548 int arg3
= (int) -1 ;
9549 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9550 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9551 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9552 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9553 long arg6
= (long) wxSP_3D
;
9554 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9555 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9567 bool temp7
= false ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 PyObject
* obj2
= 0 ;
9571 PyObject
* obj3
= 0 ;
9572 PyObject
* obj4
= 0 ;
9573 PyObject
* obj5
= 0 ;
9574 PyObject
* obj6
= 0 ;
9575 char * kwnames
[] = {
9576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9584 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9586 if (!SWIG_IsOK(res2
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9592 if (!SWIG_IsOK(ecode3
)) {
9593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9595 arg3
= static_cast< int >(val3
);
9600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9610 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9611 if (!SWIG_IsOK(ecode6
)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9614 arg6
= static_cast< long >(val6
);
9618 arg7
= wxString_in_helper(obj6
);
9619 if (arg7
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9646 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9647 PyObject
*resultobj
= 0;
9648 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9649 wxWindow
*result
= 0 ;
9652 PyObject
*swig_obj
[1] ;
9654 if (!args
) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9660 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= wxPyMake_wxObject(result
, 0);
9676 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9677 PyObject
*resultobj
= 0;
9678 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9679 wxWindow
*result
= 0 ;
9682 PyObject
*swig_obj
[1] ;
9684 if (!args
) SWIG_fail
;
9686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9687 if (!SWIG_IsOK(res1
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9690 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= wxPyMake_wxObject(result
, 0);
9706 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
= 0;
9708 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 char * kwnames
[] = {
9717 (char *) "self",(char *) "mode", NULL
9720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9722 if (!SWIG_IsOK(res1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9725 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9727 if (!SWIG_IsOK(ecode2
)) {
9728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9730 arg2
= static_cast< int >(val2
);
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 (arg1
)->SetSplitMode(arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_Py_Void();
9744 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9750 PyObject
*swig_obj
[1] ;
9752 if (!args
) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9758 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_From_int(static_cast< int >(result
));
9772 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
= 0;
9774 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9775 wxWindow
*arg2
= (wxWindow
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "window", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9791 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9793 if (!SWIG_IsOK(res2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 (arg1
)->Initialize(arg2
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_Py_Void();
9810 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9813 wxWindow
*arg2
= (wxWindow
*) 0 ;
9814 wxWindow
*arg3
= (wxWindow
*) 0 ;
9815 int arg4
= (int) 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 PyObject
* obj3
= 0 ;
9829 char * kwnames
[] = {
9830 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9838 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9840 if (!SWIG_IsOK(res2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9843 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9844 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9845 if (!SWIG_IsOK(res3
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9848 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9851 if (!SWIG_IsOK(ecode4
)) {
9852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9854 arg4
= static_cast< int >(val4
);
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9871 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9874 wxWindow
*arg2
= (wxWindow
*) 0 ;
9875 wxWindow
*arg3
= (wxWindow
*) 0 ;
9876 int arg4
= (int) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9889 PyObject
* obj3
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9901 if (!SWIG_IsOK(res2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9905 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9906 if (!SWIG_IsOK(res3
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9912 if (!SWIG_IsOK(ecode4
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9915 arg4
= static_cast< int >(val4
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9932 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
= 0;
9934 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9935 wxWindow
*arg2
= (wxWindow
*) NULL
;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 char * kwnames
[] = {
9944 (char *) "self",(char *) "toRemove", NULL
9947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9952 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9955 if (!SWIG_IsOK(res2
)) {
9956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (bool)(arg1
)->Unsplit(arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9975 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
= 0;
9977 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9978 wxWindow
*arg2
= (wxWindow
*) 0 ;
9979 wxWindow
*arg3
= (wxWindow
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9999 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10001 if (!SWIG_IsOK(res2
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10005 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10006 if (!SWIG_IsOK(res3
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10009 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10025 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10026 PyObject
*resultobj
= 0;
10027 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10030 PyObject
*swig_obj
[1] ;
10032 if (!args
) SWIG_fail
;
10033 swig_obj
[0] = args
;
10034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10035 if (!SWIG_IsOK(res1
)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->UpdateSize();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_Py_Void();
10052 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10053 PyObject
*resultobj
= 0;
10054 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10058 PyObject
*swig_obj
[1] ;
10060 if (!args
) SWIG_fail
;
10061 swig_obj
[0] = args
;
10062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10066 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10082 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char * kwnames
[] = {
10093 (char *) "self",(char *) "width", NULL
10096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10103 if (!SWIG_IsOK(ecode2
)) {
10104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10106 arg2
= static_cast< int >(val2
);
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 (arg1
)->SetSashSize(arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_Py_Void();
10120 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
= 0;
10122 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 char * kwnames
[] = {
10131 (char *) "self",(char *) "width", NULL
10134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10136 if (!SWIG_IsOK(res1
)) {
10137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10139 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10141 if (!SWIG_IsOK(ecode2
)) {
10142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10144 arg2
= static_cast< int >(val2
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 (arg1
)->SetBorderSize(arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_Py_Void();
10158 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10159 PyObject
*resultobj
= 0;
10160 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10164 PyObject
*swig_obj
[1] ;
10166 if (!args
) SWIG_fail
;
10167 swig_obj
[0] = args
;
10168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10169 if (!SWIG_IsOK(res1
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10172 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_From_int(static_cast< int >(result
));
10186 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10187 PyObject
*resultobj
= 0;
10188 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10192 PyObject
*swig_obj
[1] ;
10194 if (!args
) SWIG_fail
;
10195 swig_obj
[0] = args
;
10196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_From_int(static_cast< int >(result
));
10214 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= 0;
10216 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10218 bool arg3
= (bool) true ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 PyObject
* obj2
= 0 ;
10228 char * kwnames
[] = {
10229 (char *) "self",(char *) "position",(char *) "redraw", NULL
10232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10234 if (!SWIG_IsOK(res1
)) {
10235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10239 if (!SWIG_IsOK(ecode2
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10242 arg2
= static_cast< int >(val2
);
10244 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10245 if (!SWIG_IsOK(ecode3
)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10248 arg3
= static_cast< bool >(val3
);
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 (arg1
)->SetSashPosition(arg2
,arg3
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_Py_Void();
10263 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10264 PyObject
*resultobj
= 0;
10265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10269 PyObject
*swig_obj
[1] ;
10271 if (!args
) SWIG_fail
;
10272 swig_obj
[0] = args
;
10273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10274 if (!SWIG_IsOK(res1
)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10277 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_From_int(static_cast< int >(result
));
10291 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= 0;
10293 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char * kwnames
[] = {
10302 (char *) "self",(char *) "gravity", NULL
10305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10307 if (!SWIG_IsOK(res1
)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10310 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10311 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10312 if (!SWIG_IsOK(ecode2
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10315 arg2
= static_cast< double >(val2
);
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 (arg1
)->SetSashGravity(arg2
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_Py_Void();
10329 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10330 PyObject
*resultobj
= 0;
10331 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10335 PyObject
*swig_obj
[1] ;
10337 if (!args
) SWIG_fail
;
10338 swig_obj
[0] = args
;
10339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10343 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_From_double(static_cast< double >(result
));
10357 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
= 0;
10359 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "self",(char *) "min", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10376 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10378 if (!SWIG_IsOK(ecode2
)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10381 arg2
= static_cast< int >(val2
);
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetMinimumPaneSize(arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_Py_Void();
10395 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 PyObject
*resultobj
= 0;
10397 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10401 PyObject
*swig_obj
[1] ;
10403 if (!args
) SWIG_fail
;
10404 swig_obj
[0] = args
;
10405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10406 if (!SWIG_IsOK(res1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10409 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_From_int(static_cast< int >(result
));
10423 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= 0;
10425 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10428 int arg4
= (int) 5 ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10451 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10456 arg2
= static_cast< int >(val2
);
10457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10458 if (!SWIG_IsOK(ecode3
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10461 arg3
= static_cast< int >(val3
);
10463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10464 if (!SWIG_IsOK(ecode4
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10467 arg4
= static_cast< int >(val4
);
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10489 PyObject
*swig_obj
[1] ;
10491 if (!args
) SWIG_fail
;
10492 swig_obj
[0] = args
;
10493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 (arg1
)->SizeWindows();
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_Py_Void();
10511 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
= 0;
10513 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 char * kwnames
[] = {
10522 (char *) "self",(char *) "needUpdating", NULL
10525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10530 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10531 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10532 if (!SWIG_IsOK(ecode2
)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10535 arg2
= static_cast< bool >(val2
);
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 (arg1
)->SetNeedUpdating(arg2
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_Py_Void();
10549 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10555 PyObject
*swig_obj
[1] ;
10557 if (!args
) SWIG_fail
;
10558 swig_obj
[0] = args
;
10559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10563 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10579 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10582 SwigValueWrapper
<wxVisualAttributes
> result
;
10585 PyObject
* obj0
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "variant", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10592 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10593 if (!SWIG_IsOK(ecode1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10596 arg1
= static_cast< wxWindowVariant
>(val1
);
10599 if (!wxPyCheckForApp()) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10612 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10615 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10616 return SWIG_Py_Void();
10619 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10620 return SWIG_Python_InitShadowInstance(args
);
10623 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= 0;
10625 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10626 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10627 wxSplitterEvent
*result
= 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "type",(char *) "splitter", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10640 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10641 if (!SWIG_IsOK(ecode1
)) {
10642 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10644 arg1
= static_cast< wxEventType
>(val1
);
10647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10648 if (!SWIG_IsOK(res2
)) {
10649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10651 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10666 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "self",(char *) "pos", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10685 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10687 if (!SWIG_IsOK(ecode2
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10690 arg2
= static_cast< int >(val2
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetSashPosition(arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_Py_Void();
10704 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10705 PyObject
*resultobj
= 0;
10706 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10710 PyObject
*swig_obj
[1] ;
10712 if (!args
) SWIG_fail
;
10713 swig_obj
[0] = args
;
10714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10715 if (!SWIG_IsOK(res1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10718 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_From_int(static_cast< int >(result
));
10732 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10733 PyObject
*resultobj
= 0;
10734 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10735 wxWindow
*result
= 0 ;
10738 PyObject
*swig_obj
[1] ;
10740 if (!args
) SWIG_fail
;
10741 swig_obj
[0] = args
;
10742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10746 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= wxPyMake_wxObject(result
, 0);
10762 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10763 PyObject
*resultobj
= 0;
10764 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10768 PyObject
*swig_obj
[1] ;
10770 if (!args
) SWIG_fail
;
10771 swig_obj
[0] = args
;
10772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10773 if (!SWIG_IsOK(res1
)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10776 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_From_int(static_cast< int >(result
));
10790 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10791 PyObject
*resultobj
= 0;
10792 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10796 PyObject
*swig_obj
[1] ;
10798 if (!args
) SWIG_fail
;
10799 swig_obj
[0] = args
;
10800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10804 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_From_int(static_cast< int >(result
));
10818 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10822 return SWIG_Py_Void();
10825 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 return SWIG_Python_InitShadowInstance(args
);
10829 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10830 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10835 SWIGINTERN PyObject
*SashNameStr_get(void) {
10836 PyObject
*pyobj
= 0;
10840 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10842 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10849 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10850 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10855 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10856 PyObject
*pyobj
= 0;
10860 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10862 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10869 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
= 0;
10871 wxWindow
*arg1
= (wxWindow
*) 0 ;
10872 int arg2
= (int) -1 ;
10873 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10874 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10875 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10876 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10877 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10878 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10879 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10880 wxSashWindow
*result
= 0 ;
10889 bool temp6
= false ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 PyObject
* obj4
= 0 ;
10895 PyObject
* obj5
= 0 ;
10896 char * kwnames
[] = {
10897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10908 if (!SWIG_IsOK(ecode2
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10911 arg2
= static_cast< int >(val2
);
10916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10922 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10926 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10927 if (!SWIG_IsOK(ecode5
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10930 arg5
= static_cast< long >(val5
);
10934 arg6
= wxString_in_helper(obj5
);
10935 if (arg6
== NULL
) SWIG_fail
;
10940 if (!wxPyCheckForApp()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10961 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10962 PyObject
*resultobj
= 0;
10963 wxSashWindow
*result
= 0 ;
10965 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10967 if (!wxPyCheckForApp()) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (wxSashWindow
*)new wxSashWindow();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10980 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
= 0;
10982 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10983 wxWindow
*arg2
= (wxWindow
*) 0 ;
10984 int arg3
= (int) -1 ;
10985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10989 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10990 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10991 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11003 bool temp7
= false ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 PyObject
* obj3
= 0 ;
11008 PyObject
* obj4
= 0 ;
11009 PyObject
* obj5
= 0 ;
11010 PyObject
* obj6
= 0 ;
11011 char * kwnames
[] = {
11012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11017 if (!SWIG_IsOK(res1
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11020 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11022 if (!SWIG_IsOK(res2
)) {
11023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11028 if (!SWIG_IsOK(ecode3
)) {
11029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11031 arg3
= static_cast< int >(val3
);
11036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11046 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11047 if (!SWIG_IsOK(ecode6
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11050 arg6
= static_cast< long >(val6
);
11054 arg7
= wxString_in_helper(obj6
);
11055 if (arg7
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11085 wxSashEdgePosition arg2
;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "edge",(char *) "sash", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11107 if (!SWIG_IsOK(ecode2
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11110 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11112 if (!SWIG_IsOK(ecode3
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11115 arg3
= static_cast< bool >(val3
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetSashVisible(arg2
,arg3
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_Py_Void();
11129 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11132 wxSashEdgePosition arg2
;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "edge", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11149 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11151 if (!SWIG_IsOK(ecode2
)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11154 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
= 0;
11172 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11173 wxSashEdgePosition arg2
;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 PyObject
* obj2
= 0 ;
11184 char * kwnames
[] = {
11185 (char *) "self",(char *) "edge",(char *) "border", NULL
11188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11193 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11195 if (!SWIG_IsOK(ecode2
)) {
11196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11198 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11199 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11200 if (!SWIG_IsOK(ecode3
)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11203 arg3
= static_cast< bool >(val3
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 (arg1
)->SetSashBorder(arg2
,arg3
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_Py_Void();
11217 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
= 0;
11219 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11220 wxSashEdgePosition arg2
;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 char * kwnames
[] = {
11229 (char *) "self",(char *) "edge", NULL
11232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11234 if (!SWIG_IsOK(res1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11239 if (!SWIG_IsOK(ecode2
)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11242 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
= 0;
11260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11261 wxSashEdgePosition arg2
;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 char * kwnames
[] = {
11270 (char *) "self",(char *) "edge", NULL
11273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11275 if (!SWIG_IsOK(res1
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11278 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11280 if (!SWIG_IsOK(ecode2
)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11283 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_From_int(static_cast< int >(result
));
11297 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11299 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "self",(char *) "width", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11316 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11318 if (!SWIG_IsOK(ecode2
)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11321 arg2
= static_cast< int >(val2
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->SetDefaultBorderSize(arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_Py_Void();
11335 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11336 PyObject
*resultobj
= 0;
11337 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11341 PyObject
*swig_obj
[1] ;
11343 if (!args
) SWIG_fail
;
11344 swig_obj
[0] = args
;
11345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11349 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_From_int(static_cast< int >(result
));
11363 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
= 0;
11365 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11371 PyObject
* obj0
= 0 ;
11372 PyObject
* obj1
= 0 ;
11373 char * kwnames
[] = {
11374 (char *) "self",(char *) "width", NULL
11377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11382 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11384 if (!SWIG_IsOK(ecode2
)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11387 arg2
= static_cast< int >(val2
);
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 (arg1
)->SetExtraBorderSize(arg2
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_Py_Void();
11401 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11415 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_int(static_cast< int >(result
));
11429 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char * kwnames
[] = {
11440 (char *) "self",(char *) "min", NULL
11443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11448 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11450 if (!SWIG_IsOK(ecode2
)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11453 arg2
= static_cast< int >(val2
);
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 (arg1
)->SetMinimumSizeX(arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_Py_Void();
11467 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
= 0;
11469 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 char * kwnames
[] = {
11478 (char *) "self",(char *) "min", NULL
11481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11483 if (!SWIG_IsOK(res1
)) {
11484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11486 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11488 if (!SWIG_IsOK(ecode2
)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11491 arg2
= static_cast< int >(val2
);
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 (arg1
)->SetMinimumSizeY(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= SWIG_Py_Void();
11505 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 PyObject
*resultobj
= 0;
11507 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11511 PyObject
*swig_obj
[1] ;
11513 if (!args
) SWIG_fail
;
11514 swig_obj
[0] = args
;
11515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11519 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_From_int(static_cast< int >(result
));
11533 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11534 PyObject
*resultobj
= 0;
11535 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11539 PyObject
*swig_obj
[1] ;
11541 if (!args
) SWIG_fail
;
11542 swig_obj
[0] = args
;
11543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_From_int(static_cast< int >(result
));
11561 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
= 0;
11563 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "max", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11582 if (!SWIG_IsOK(ecode2
)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11585 arg2
= static_cast< int >(val2
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 (arg1
)->SetMaximumSizeX(arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_Py_Void();
11599 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
= 0;
11601 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 char * kwnames
[] = {
11610 (char *) "self",(char *) "max", NULL
11613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11615 if (!SWIG_IsOK(res1
)) {
11616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11618 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11620 if (!SWIG_IsOK(ecode2
)) {
11621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11623 arg2
= static_cast< int >(val2
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->SetMaximumSizeY(arg2
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_Py_Void();
11637 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11651 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_From_int(static_cast< int >(result
));
11665 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11666 PyObject
*resultobj
= 0;
11667 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11671 PyObject
*swig_obj
[1] ;
11673 if (!args
) SWIG_fail
;
11674 swig_obj
[0] = args
;
11675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11679 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_From_int(static_cast< int >(result
));
11693 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
= 0;
11695 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11698 int arg4
= (int) 2 ;
11699 wxSashEdgePosition result
;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 char * kwnames
[] = {
11713 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11721 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11723 if (!SWIG_IsOK(ecode2
)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11726 arg2
= static_cast< int >(val2
);
11727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11728 if (!SWIG_IsOK(ecode3
)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11731 arg3
= static_cast< int >(val3
);
11733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11734 if (!SWIG_IsOK(ecode4
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11737 arg4
= static_cast< int >(val4
);
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int(static_cast< int >(result
));
11752 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 PyObject
*resultobj
= 0;
11754 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11757 PyObject
*swig_obj
[1] ;
11759 if (!args
) SWIG_fail
;
11760 swig_obj
[0] = args
;
11761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11765 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 (arg1
)->SizeWindows();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_Py_Void();
11779 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11783 return SWIG_Py_Void();
11786 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 return SWIG_Python_InitShadowInstance(args
);
11790 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
= 0;
11792 int arg1
= (int) 0 ;
11793 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11794 wxSashEvent
*result
= 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char * kwnames
[] = {
11802 (char *) "id",(char *) "edge", NULL
11805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11808 if (!SWIG_IsOK(ecode1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11811 arg1
= static_cast< int >(val1
);
11814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11815 if (!SWIG_IsOK(ecode2
)) {
11816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11818 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11833 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
= 0;
11835 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11836 wxSashEdgePosition arg2
;
11841 PyObject
* obj0
= 0 ;
11842 PyObject
* obj1
= 0 ;
11843 char * kwnames
[] = {
11844 (char *) "self",(char *) "edge", NULL
11847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11852 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11854 if (!SWIG_IsOK(ecode2
)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11857 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->SetEdge(arg2
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_Py_Void();
11871 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 PyObject
*resultobj
= 0;
11873 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11874 wxSashEdgePosition result
;
11877 PyObject
*swig_obj
[1] ;
11879 if (!args
) SWIG_fail
;
11880 swig_obj
[0] = args
;
11881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_From_int(static_cast< int >(result
));
11899 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
= 0;
11901 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 PyObject
* obj1
= 0 ;
11908 char * kwnames
[] = {
11909 (char *) "self",(char *) "rect", NULL
11912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11917 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11920 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11949 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11963 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
= 0;
11965 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11966 wxSashDragStatus arg2
;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 char * kwnames
[] = {
11974 (char *) "self",(char *) "status", NULL
11977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11982 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11984 if (!SWIG_IsOK(ecode2
)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11987 arg2
= static_cast< wxSashDragStatus
>(val2
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 (arg1
)->SetDragStatus(arg2
);
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_Py_Void();
12001 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12002 PyObject
*resultobj
= 0;
12003 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12004 wxSashDragStatus result
;
12007 PyObject
*swig_obj
[1] ;
12009 if (!args
) SWIG_fail
;
12010 swig_obj
[0] = args
;
12011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12015 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= SWIG_From_int(static_cast< int >(result
));
12029 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12032 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12033 return SWIG_Py_Void();
12036 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12037 return SWIG_Python_InitShadowInstance(args
);
12040 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 int arg1
= (int) 0 ;
12043 wxQueryLayoutInfoEvent
*result
= 0 ;
12046 PyObject
* obj0
= 0 ;
12047 char * kwnames
[] = {
12048 (char *) "id", NULL
12051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12053 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12054 if (!SWIG_IsOK(ecode1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12057 arg1
= static_cast< int >(val1
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12072 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
= 0;
12074 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char * kwnames
[] = {
12083 (char *) "self",(char *) "length", NULL
12086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12091 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12093 if (!SWIG_IsOK(ecode2
)) {
12094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12096 arg2
= static_cast< int >(val2
);
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->SetRequestedLength(arg2
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= SWIG_Py_Void();
12110 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12111 PyObject
*resultobj
= 0;
12112 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12116 PyObject
*swig_obj
[1] ;
12118 if (!args
) SWIG_fail
;
12119 swig_obj
[0] = args
;
12120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12121 if (!SWIG_IsOK(res1
)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12124 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_From_int(static_cast< int >(result
));
12138 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
= 0;
12140 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char * kwnames
[] = {
12149 (char *) "self",(char *) "flags", NULL
12152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12157 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12159 if (!SWIG_IsOK(ecode2
)) {
12160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12162 arg2
= static_cast< int >(val2
);
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetFlags(arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_Py_Void();
12176 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12177 PyObject
*resultobj
= 0;
12178 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_From_int(static_cast< int >(result
));
12204 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 char * kwnames
[] = {
12214 (char *) "self",(char *) "size", NULL
12217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12219 if (!SWIG_IsOK(res1
)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12222 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 (arg1
)->SetSize((wxSize
const &)*arg2
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= SWIG_Py_Void();
12240 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12241 PyObject
*resultobj
= 0;
12242 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12246 PyObject
*swig_obj
[1] ;
12248 if (!args
) SWIG_fail
;
12249 swig_obj
[0] = args
;
12250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12251 if (!SWIG_IsOK(res1
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12254 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12268 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12271 wxLayoutOrientation arg2
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char * kwnames
[] = {
12279 (char *) "self",(char *) "orient", NULL
12282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12287 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12289 if (!SWIG_IsOK(ecode2
)) {
12290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12292 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->SetOrientation(arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_Py_Void();
12306 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12309 wxLayoutOrientation result
;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12320 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast< int >(result
));
12334 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12337 wxLayoutAlignment arg2
;
12342 PyObject
* obj0
= 0 ;
12343 PyObject
* obj1
= 0 ;
12344 char * kwnames
[] = {
12345 (char *) "self",(char *) "align", NULL
12348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12350 if (!SWIG_IsOK(res1
)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12353 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12355 if (!SWIG_IsOK(ecode2
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12358 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 (arg1
)->SetAlignment(arg2
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_Py_Void();
12372 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12373 PyObject
*resultobj
= 0;
12374 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12375 wxLayoutAlignment result
;
12378 PyObject
*swig_obj
[1] ;
12380 if (!args
) SWIG_fail
;
12381 swig_obj
[0] = args
;
12382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12386 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_From_int(static_cast< int >(result
));
12400 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12403 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12404 return SWIG_Py_Void();
12407 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 return SWIG_Python_InitShadowInstance(args
);
12411 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
= 0;
12413 int arg1
= (int) 0 ;
12414 wxCalculateLayoutEvent
*result
= 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char * kwnames
[] = {
12419 (char *) "id", NULL
12422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12425 if (!SWIG_IsOK(ecode1
)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12428 arg1
= static_cast< int >(val1
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12443 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
= 0;
12445 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 char * kwnames
[] = {
12454 (char *) "self",(char *) "flags", NULL
12457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12459 if (!SWIG_IsOK(res1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12462 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12464 if (!SWIG_IsOK(ecode2
)) {
12465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12467 arg2
= static_cast< int >(val2
);
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetFlags(arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_Py_Void();
12481 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12482 PyObject
*resultobj
= 0;
12483 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12487 PyObject
*swig_obj
[1] ;
12489 if (!args
) SWIG_fail
;
12490 swig_obj
[0] = args
;
12491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_From_int(static_cast< int >(result
));
12509 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12510 PyObject
*resultobj
= 0;
12511 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 PyObject
* obj1
= 0 ;
12518 char * kwnames
[] = {
12519 (char *) "self",(char *) "rect", NULL
12522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12524 if (!SWIG_IsOK(res1
)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12527 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12530 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->SetRect((wxRect
const &)*arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_Py_Void();
12545 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12546 PyObject
*resultobj
= 0;
12547 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12551 PyObject
*swig_obj
[1] ;
12553 if (!args
) SWIG_fail
;
12554 swig_obj
[0] = args
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12559 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12573 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12576 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12577 return SWIG_Py_Void();
12580 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12581 return SWIG_Python_InitShadowInstance(args
);
12584 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
= 0;
12586 wxWindow
*arg1
= (wxWindow
*) 0 ;
12587 int arg2
= (int) -1 ;
12588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12592 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12593 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12595 wxSashLayoutWindow
*result
= 0 ;
12604 bool temp6
= false ;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 PyObject
* obj2
= 0 ;
12608 PyObject
* obj3
= 0 ;
12609 PyObject
* obj4
= 0 ;
12610 PyObject
* obj5
= 0 ;
12611 char * kwnames
[] = {
12612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12617 if (!SWIG_IsOK(res1
)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12623 if (!SWIG_IsOK(ecode2
)) {
12624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12626 arg2
= static_cast< int >(val2
);
12631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12637 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12641 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12642 if (!SWIG_IsOK(ecode5
)) {
12643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12645 arg5
= static_cast< long >(val5
);
12649 arg6
= wxString_in_helper(obj5
);
12650 if (arg6
== NULL
) SWIG_fail
;
12655 if (!wxPyCheckForApp()) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12676 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12677 PyObject
*resultobj
= 0;
12678 wxSashLayoutWindow
*result
= 0 ;
12680 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12682 if (!wxPyCheckForApp()) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12695 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
= 0;
12697 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12698 wxWindow
*arg2
= (wxWindow
*) 0 ;
12699 int arg3
= (int) -1 ;
12700 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12701 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12702 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12703 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12704 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12705 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12718 bool temp7
= false ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 PyObject
* obj2
= 0 ;
12722 PyObject
* obj3
= 0 ;
12723 PyObject
* obj4
= 0 ;
12724 PyObject
* obj5
= 0 ;
12725 PyObject
* obj6
= 0 ;
12726 char * kwnames
[] = {
12727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12735 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12737 if (!SWIG_IsOK(res2
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12743 if (!SWIG_IsOK(ecode3
)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12746 arg3
= static_cast< int >(val3
);
12751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12761 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12762 if (!SWIG_IsOK(ecode6
)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12765 arg6
= static_cast< long >(val6
);
12769 arg7
= wxString_in_helper(obj6
);
12770 if (arg7
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12797 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12798 PyObject
*resultobj
= 0;
12799 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12800 wxLayoutAlignment result
;
12803 PyObject
*swig_obj
[1] ;
12805 if (!args
) SWIG_fail
;
12806 swig_obj
[0] = args
;
12807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12811 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= SWIG_From_int(static_cast< int >(result
));
12825 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12828 wxLayoutOrientation result
;
12831 PyObject
*swig_obj
[1] ;
12833 if (!args
) SWIG_fail
;
12834 swig_obj
[0] = args
;
12835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12839 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_From_int(static_cast< int >(result
));
12853 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
= 0;
12855 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12856 wxLayoutAlignment arg2
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 char * kwnames
[] = {
12864 (char *) "self",(char *) "alignment", NULL
12867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12874 if (!SWIG_IsOK(ecode2
)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12877 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->SetAlignment(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
= 0;
12893 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 PyObject
* obj1
= 0 ;
12900 char * kwnames
[] = {
12901 (char *) "self",(char *) "size", NULL
12904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12906 if (!SWIG_IsOK(res1
)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12909 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12912 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 resultobj
= SWIG_Py_Void();
12927 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= 0;
12929 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12930 wxLayoutOrientation arg2
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char * kwnames
[] = {
12938 (char *) "self",(char *) "orientation", NULL
12941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12946 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12948 if (!SWIG_IsOK(ecode2
)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12951 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 (arg1
)->SetOrientation(arg2
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_Py_Void();
12965 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12969 return SWIG_Py_Void();
12972 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 return SWIG_Python_InitShadowInstance(args
);
12976 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 PyObject
*resultobj
= 0;
12978 wxLayoutAlgorithm
*result
= 0 ;
12980 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12994 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 PyObject
*resultobj
= 0;
12996 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12999 PyObject
*swig_obj
[1] ;
13001 if (!args
) SWIG_fail
;
13002 swig_obj
[0] = args
;
13003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13007 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_Py_Void();
13022 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
= 0;
13024 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13025 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13026 wxRect
*arg3
= (wxRect
*) NULL
;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 PyObject
* obj2
= 0 ;
13037 char * kwnames
[] = {
13038 (char *) "self",(char *) "frame",(char *) "rect", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13046 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13048 if (!SWIG_IsOK(res2
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13051 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13053 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13054 if (!SWIG_IsOK(res3
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13057 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13074 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
= 0;
13076 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13077 wxFrame
*arg2
= (wxFrame
*) 0 ;
13078 wxWindow
*arg3
= (wxWindow
*) NULL
;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 PyObject
* obj2
= 0 ;
13089 char * kwnames
[] = {
13090 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13098 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13100 if (!SWIG_IsOK(res2
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13103 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13105 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13106 if (!SWIG_IsOK(res3
)) {
13107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13109 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13126 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
= 0;
13128 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13129 wxWindow
*arg2
= (wxWindow
*) 0 ;
13130 wxWindow
*arg3
= (wxWindow
*) NULL
;
13138 PyObject
* obj0
= 0 ;
13139 PyObject
* obj1
= 0 ;
13140 PyObject
* obj2
= 0 ;
13141 char * kwnames
[] = {
13142 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13150 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13152 if (!SWIG_IsOK(res2
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13157 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13158 if (!SWIG_IsOK(res3
)) {
13159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13161 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13178 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13181 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13182 return SWIG_Py_Void();
13185 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 return SWIG_Python_InitShadowInstance(args
);
13189 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxWindow
*arg1
= (wxWindow
*) 0 ;
13192 int arg2
= (int) wxBORDER_NONE
;
13193 wxPopupWindow
*result
= 0 ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 char * kwnames
[] = {
13201 (char *) "parent",(char *) "flags", NULL
13204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13212 if (!SWIG_IsOK(ecode2
)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13215 arg2
= static_cast< int >(val2
);
13218 if (!wxPyCheckForApp()) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13231 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxPopupWindow
*result
= 0 ;
13235 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13237 if (!wxPyCheckForApp()) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (wxPopupWindow
*)new wxPopupWindow();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13250 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= 0;
13252 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13253 wxWindow
*arg2
= (wxWindow
*) 0 ;
13254 int arg3
= (int) wxBORDER_NONE
;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 PyObject
* obj2
= 0 ;
13265 char * kwnames
[] = {
13266 (char *) "self",(char *) "parent",(char *) "flags", NULL
13269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13271 if (!SWIG_IsOK(res1
)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13274 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13276 if (!SWIG_IsOK(res2
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13282 if (!SWIG_IsOK(ecode3
)) {
13283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13285 arg3
= static_cast< int >(val3
);
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= 0;
13304 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13305 wxPoint
*arg2
= 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 PyObject
* obj2
= 0 ;
13314 char * kwnames
[] = {
13315 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13323 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13330 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_Py_Void();
13345 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13349 return SWIG_Py_Void();
13352 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 return SWIG_Python_InitShadowInstance(args
);
13356 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
= 0;
13358 wxWindow
*arg1
= (wxWindow
*) 0 ;
13359 int arg2
= (int) wxBORDER_NONE
;
13360 wxPyPopupTransientWindow
*result
= 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char * kwnames
[] = {
13368 (char *) "parent",(char *) "style", NULL
13371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13379 if (!SWIG_IsOK(ecode2
)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13382 arg2
= static_cast< int >(val2
);
13385 if (!wxPyCheckForApp()) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13398 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13399 PyObject
*resultobj
= 0;
13400 wxPyPopupTransientWindow
*result
= 0 ;
13402 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13404 if (!wxPyCheckForApp()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13417 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13419 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13420 PyObject
*arg2
= (PyObject
*) 0 ;
13421 PyObject
*arg3
= (PyObject
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char * kwnames
[] = {
13428 (char *) "self",(char *) "self",(char *) "_class", NULL
13431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13433 if (!SWIG_IsOK(res1
)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13436 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_Py_Void();
13452 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
= 0;
13454 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13455 wxWindow
*arg2
= (wxWindow
*) NULL
;
13460 PyObject
* obj0
= 0 ;
13461 PyObject
* obj1
= 0 ;
13462 char * kwnames
[] = {
13463 (char *) "self",(char *) "focus", NULL
13466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13471 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13474 if (!SWIG_IsOK(res2
)) {
13475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->Popup(arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= SWIG_Py_Void();
13492 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13497 PyObject
*swig_obj
[1] ;
13499 if (!args
) SWIG_fail
;
13500 swig_obj
[0] = args
;
13501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13502 if (!SWIG_IsOK(res1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13505 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_Py_Void();
13519 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13522 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13523 return SWIG_Py_Void();
13526 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13527 return SWIG_Python_InitShadowInstance(args
);
13530 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxWindow
*arg1
= (wxWindow
*) 0 ;
13533 wxString
*arg2
= 0 ;
13534 int arg3
= (int) 100 ;
13535 wxRect
*arg4
= (wxRect
*) NULL
;
13536 wxTipWindow
*result
= 0 ;
13539 bool temp2
= false ;
13544 PyObject
* obj0
= 0 ;
13545 PyObject
* obj1
= 0 ;
13546 PyObject
* obj2
= 0 ;
13547 PyObject
* obj3
= 0 ;
13548 char * kwnames
[] = {
13549 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13554 if (!SWIG_IsOK(res1
)) {
13555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13559 arg2
= wxString_in_helper(obj1
);
13560 if (arg2
== NULL
) SWIG_fail
;
13564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13565 if (!SWIG_IsOK(ecode3
)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13568 arg3
= static_cast< int >(val3
);
13571 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13572 if (!SWIG_IsOK(res4
)) {
13573 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13575 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13578 if (!wxPyCheckForApp()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13599 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 char * kwnames
[] = {
13609 (char *) "self",(char *) "rectBound", NULL
13612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13614 if (!SWIG_IsOK(res1
)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13617 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_Py_Void();
13635 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 PyObject
*resultobj
= 0;
13637 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13640 PyObject
*swig_obj
[1] ;
13642 if (!args
) SWIG_fail
;
13643 swig_obj
[0] = args
;
13644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13648 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_Py_Void();
13662 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13665 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13666 return SWIG_Py_Void();
13669 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13670 return SWIG_Python_InitShadowInstance(args
);
13673 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
= 0;
13675 wxWindow
*arg1
= (wxWindow
*) 0 ;
13676 int arg2
= (int) wxID_ANY
;
13677 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13678 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13679 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13680 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13681 long arg5
= (long) 0 ;
13682 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13683 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13684 wxPyVScrolledWindow
*result
= 0 ;
13693 bool temp6
= false ;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 PyObject
* obj2
= 0 ;
13697 PyObject
* obj3
= 0 ;
13698 PyObject
* obj4
= 0 ;
13699 PyObject
* obj5
= 0 ;
13700 char * kwnames
[] = {
13701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13712 if (!SWIG_IsOK(ecode2
)) {
13713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13715 arg2
= static_cast< int >(val2
);
13720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13726 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13730 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13731 if (!SWIG_IsOK(ecode5
)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13734 arg5
= static_cast< long >(val5
);
13738 arg6
= wxString_in_helper(obj5
);
13739 if (arg6
== NULL
) SWIG_fail
;
13744 if (!wxPyCheckForApp()) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13765 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxPyVScrolledWindow
*result
= 0 ;
13769 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13771 if (!wxPyCheckForApp()) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13784 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
= 0;
13786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13787 PyObject
*arg2
= (PyObject
*) 0 ;
13788 PyObject
*arg3
= (PyObject
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj2
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "self",(char *) "self",(char *) "_class", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13800 if (!SWIG_IsOK(res1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13803 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_Py_Void();
13819 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
= 0;
13821 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13822 wxWindow
*arg2
= (wxWindow
*) 0 ;
13823 int arg3
= (int) wxID_ANY
;
13824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13828 long arg6
= (long) 0 ;
13829 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13830 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13842 bool temp7
= false ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 PyObject
* obj2
= 0 ;
13846 PyObject
* obj3
= 0 ;
13847 PyObject
* obj4
= 0 ;
13848 PyObject
* obj5
= 0 ;
13849 PyObject
* obj6
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13859 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13861 if (!SWIG_IsOK(res2
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13864 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13867 if (!SWIG_IsOK(ecode3
)) {
13868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13870 arg3
= static_cast< int >(val3
);
13875 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13881 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13885 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13886 if (!SWIG_IsOK(ecode6
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13889 arg6
= static_cast< long >(val6
);
13893 arg7
= wxString_in_helper(obj6
);
13894 if (arg7
== NULL
) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13921 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 char * kwnames
[] = {
13932 (char *) "self",(char *) "count", NULL
13935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13937 if (!SWIG_IsOK(res1
)) {
13938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13940 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13941 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13942 if (!SWIG_IsOK(ecode2
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13945 arg2
= static_cast< size_t >(val2
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetLineCount(arg2
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_Py_Void();
13959 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
= 0;
13961 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 char * kwnames
[] = {
13971 (char *) "self",(char *) "line", NULL
13974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13976 if (!SWIG_IsOK(res1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13979 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13980 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13981 if (!SWIG_IsOK(ecode2
)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13984 arg2
= static_cast< size_t >(val2
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 char * kwnames
[] = {
14011 (char *) "self",(char *) "line", NULL
14014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14019 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14020 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14021 if (!SWIG_IsOK(ecode2
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14024 arg2
= static_cast< size_t >(val2
);
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->RefreshLine(arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_Py_Void();
14038 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
= 0;
14040 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 PyObject
* obj2
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "self",(char *) "from",(char *) "to", NULL
14056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14058 if (!SWIG_IsOK(res1
)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14061 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14062 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14063 if (!SWIG_IsOK(ecode2
)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14066 arg2
= static_cast< size_t >(val2
);
14067 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14068 if (!SWIG_IsOK(ecode3
)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14071 arg3
= static_cast< size_t >(val3
);
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->RefreshLines(arg2
,arg3
);
14075 wxPyEndAllowThreads(__tstate
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= SWIG_Py_Void();
14085 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
= 0;
14087 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 char * kwnames
[] = {
14101 (char *) "self",(char *) "x",(char *) "y", NULL
14104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14109 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14111 if (!SWIG_IsOK(ecode2
)) {
14112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14114 arg2
= static_cast< int >(val2
);
14115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14116 if (!SWIG_IsOK(ecode3
)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14119 arg3
= static_cast< int >(val3
);
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_From_int(static_cast< int >(result
));
14133 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
= 0;
14135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14136 wxPoint
*arg2
= 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char * kwnames
[] = {
14144 (char *) "self",(char *) "pt", NULL
14147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14149 if (!SWIG_IsOK(res1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14152 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_From_int(static_cast< int >(result
));
14170 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14175 PyObject
*swig_obj
[1] ;
14177 if (!args
) SWIG_fail
;
14178 swig_obj
[0] = args
;
14179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14180 if (!SWIG_IsOK(res1
)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14183 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 (arg1
)->RefreshAll();
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 resultobj
= SWIG_Py_Void();
14197 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14198 PyObject
*resultobj
= 0;
14199 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14203 PyObject
*swig_obj
[1] ;
14205 if (!args
) SWIG_fail
;
14206 swig_obj
[0] = args
;
14207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14208 if (!SWIG_IsOK(res1
)) {
14209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14211 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14225 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14226 PyObject
*resultobj
= 0;
14227 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14231 PyObject
*swig_obj
[1] ;
14233 if (!args
) SWIG_fail
;
14234 swig_obj
[0] = args
;
14235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14236 if (!SWIG_IsOK(res1
)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14239 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14253 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 PyObject
*resultobj
= 0;
14255 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14259 PyObject
*swig_obj
[1] ;
14261 if (!args
) SWIG_fail
;
14262 swig_obj
[0] = args
;
14263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14264 if (!SWIG_IsOK(res1
)) {
14265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14267 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14281 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
= 0;
14283 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 char * kwnames
[] = {
14293 (char *) "self",(char *) "line", NULL
14296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14301 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14303 if (!SWIG_IsOK(ecode2
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14306 arg2
= static_cast< size_t >(val2
);
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14336 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14350 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14351 PyObject
*resultobj
= 0;
14352 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14356 PyObject
*swig_obj
[1] ;
14358 if (!args
) SWIG_fail
;
14359 swig_obj
[0] = args
;
14360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14364 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14378 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
= 0;
14380 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14382 bool arg3
= (bool) false ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 char * kwnames
[] = {
14394 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14402 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14403 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14404 if (!SWIG_IsOK(ecode2
)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14407 arg2
= static_cast< size_t >(val2
);
14409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14410 if (!SWIG_IsOK(ecode3
)) {
14411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14413 arg3
= static_cast< bool >(val3
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14428 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 PyObject
* obj2
= 0 ;
14443 char * kwnames
[] = {
14444 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14449 if (!SWIG_IsOK(res1
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14452 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14453 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14454 if (!SWIG_IsOK(ecode2
)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14457 arg2
= static_cast< size_t >(val2
);
14458 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14459 if (!SWIG_IsOK(ecode3
)) {
14460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14462 arg3
= static_cast< size_t >(val3
);
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_From_int(static_cast< int >(result
));
14476 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14480 return SWIG_Py_Void();
14483 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 return SWIG_Python_InitShadowInstance(args
);
14487 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14488 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14493 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14494 PyObject
*pyobj
= 0;
14498 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14500 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14507 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
= 0;
14509 wxWindow
*arg1
= (wxWindow
*) 0 ;
14510 int arg2
= (int) wxID_ANY
;
14511 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14512 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14513 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14514 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14515 long arg5
= (long) 0 ;
14516 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14517 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14518 wxPyVListBox
*result
= 0 ;
14527 bool temp6
= false ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 PyObject
* obj2
= 0 ;
14531 PyObject
* obj3
= 0 ;
14532 PyObject
* obj4
= 0 ;
14533 PyObject
* obj5
= 0 ;
14534 char * kwnames
[] = {
14535 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14540 if (!SWIG_IsOK(res1
)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14543 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14546 if (!SWIG_IsOK(ecode2
)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14549 arg2
= static_cast< int >(val2
);
14554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14560 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14564 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14565 if (!SWIG_IsOK(ecode5
)) {
14566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14568 arg5
= static_cast< long >(val5
);
14572 arg6
= wxString_in_helper(obj5
);
14573 if (arg6
== NULL
) SWIG_fail
;
14578 if (!wxPyCheckForApp()) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14599 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14600 PyObject
*resultobj
= 0;
14601 wxPyVListBox
*result
= 0 ;
14603 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14605 if (!wxPyCheckForApp()) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxPyVListBox
*)new wxPyVListBox();
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14618 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
= 0;
14620 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14621 PyObject
*arg2
= (PyObject
*) 0 ;
14622 PyObject
*arg3
= (PyObject
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 PyObject
* obj2
= 0 ;
14628 char * kwnames
[] = {
14629 (char *) "self",(char *) "self",(char *) "_class", NULL
14632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14634 if (!SWIG_IsOK(res1
)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14637 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_Py_Void();
14653 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= 0;
14655 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14656 wxWindow
*arg2
= (wxWindow
*) 0 ;
14657 int arg3
= (int) wxID_ANY
;
14658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14662 long arg6
= (long) 0 ;
14663 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14676 bool temp7
= false ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 PyObject
* obj3
= 0 ;
14681 PyObject
* obj4
= 0 ;
14682 PyObject
* obj5
= 0 ;
14683 PyObject
* obj6
= 0 ;
14684 char * kwnames
[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14693 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14695 if (!SWIG_IsOK(res2
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14701 if (!SWIG_IsOK(ecode3
)) {
14702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14704 arg3
= static_cast< int >(val3
);
14709 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14715 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14719 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14720 if (!SWIG_IsOK(ecode6
)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14723 arg6
= static_cast< long >(val6
);
14727 arg7
= wxString_in_helper(obj6
);
14728 if (arg7
== NULL
) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14755 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14756 PyObject
*resultobj
= 0;
14757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14761 PyObject
*swig_obj
[1] ;
14763 if (!args
) SWIG_fail
;
14764 swig_obj
[0] = args
;
14765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14766 if (!SWIG_IsOK(res1
)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14769 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14783 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14784 PyObject
*resultobj
= 0;
14785 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14789 PyObject
*swig_obj
[1] ;
14791 if (!args
) SWIG_fail
;
14792 swig_obj
[0] = args
;
14793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14797 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14813 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14827 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int(static_cast< int >(result
));
14841 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
= 0;
14843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "self",(char *) "item", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14861 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14862 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14866 arg2
= static_cast< size_t >(val2
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14882 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14884 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "item", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14902 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14903 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14904 if (!SWIG_IsOK(ecode2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14907 arg2
= static_cast< size_t >(val2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14924 PyObject
*resultobj
= 0;
14925 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14929 PyObject
*swig_obj
[1] ;
14931 if (!args
) SWIG_fail
;
14932 swig_obj
[0] = args
;
14933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14937 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14951 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14952 PyObject
*resultobj
= 0;
14953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14954 PyObject
*result
= 0 ;
14957 PyObject
*swig_obj
[1] ;
14959 if (!args
) SWIG_fail
;
14960 swig_obj
[0] = args
;
14961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14962 if (!SWIG_IsOK(res1
)) {
14963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14965 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= result
;
14979 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= 0;
14981 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14982 unsigned long arg2
;
14983 PyObject
*result
= 0 ;
14986 unsigned long val2
;
14988 PyObject
* obj0
= 0 ;
14989 PyObject
* obj1
= 0 ;
14990 char * kwnames
[] = {
14991 (char *) "self",(char *) "cookie", NULL
14994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14999 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15000 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
15001 if (!SWIG_IsOK(ecode2
)) {
15002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15004 arg2
= static_cast< unsigned long >(val2
);
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= result
;
15018 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 PyObject
*resultobj
= 0;
15020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15024 PyObject
*swig_obj
[1] ;
15026 if (!args
) SWIG_fail
;
15027 swig_obj
[0] = args
;
15028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15032 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15046 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15047 PyObject
*resultobj
= 0;
15048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 wxColour
*result
= 0 ;
15052 PyObject
*swig_obj
[1] ;
15054 if (!args
) SWIG_fail
;
15055 swig_obj
[0] = args
;
15056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15057 if (!SWIG_IsOK(res1
)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15060 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15065 result
= (wxColour
*) &_result_ref
;
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15077 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15078 PyObject
*resultobj
= 0;
15079 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char * kwnames
[] = {
15088 (char *) "self",(char *) "count", NULL
15091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15096 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15097 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15098 if (!SWIG_IsOK(ecode2
)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15101 arg2
= static_cast< size_t >(val2
);
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetItemCount(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_Py_Void();
15115 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 PyObject
*resultobj
= 0;
15117 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15120 PyObject
*swig_obj
[1] ;
15122 if (!args
) SWIG_fail
;
15123 swig_obj
[0] = args
;
15124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15125 if (!SWIG_IsOK(res1
)) {
15126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15128 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_Py_Void();
15142 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
= 0;
15144 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char * kwnames
[] = {
15153 (char *) "self",(char *) "selection", NULL
15156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15158 if (!SWIG_IsOK(res1
)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15161 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15163 if (!SWIG_IsOK(ecode2
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15166 arg2
= static_cast< int >(val2
);
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 (arg1
)->SetSelection(arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_Py_Void();
15180 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
= 0;
15182 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15184 bool arg3
= (bool) true ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 PyObject
* obj2
= 0 ;
15195 char * kwnames
[] = {
15196 (char *) "self",(char *) "item",(char *) "select", NULL
15199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15204 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15205 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15206 if (!SWIG_IsOK(ecode2
)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15209 arg2
= static_cast< size_t >(val2
);
15211 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15212 if (!SWIG_IsOK(ecode3
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15215 arg3
= static_cast< bool >(val3
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15232 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
= 0;
15234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 PyObject
* obj2
= 0 ;
15247 char * kwnames
[] = {
15248 (char *) "self",(char *) "from",(char *) "to", NULL
15251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15253 if (!SWIG_IsOK(res1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15256 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15257 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15258 if (!SWIG_IsOK(ecode2
)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15261 arg2
= static_cast< size_t >(val2
);
15262 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15263 if (!SWIG_IsOK(ecode3
)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15266 arg3
= static_cast< size_t >(val3
);
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15282 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "item", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15306 arg2
= static_cast< size_t >(val2
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->Toggle(arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_Py_Void();
15320 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 PyObject
*resultobj
= 0;
15322 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15326 PyObject
*swig_obj
[1] ;
15328 if (!args
) SWIG_fail
;
15329 swig_obj
[0] = args
;
15330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15334 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (bool)(arg1
)->SelectAll();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15351 PyObject
*resultobj
= 0;
15352 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15356 PyObject
*swig_obj
[1] ;
15358 if (!args
) SWIG_fail
;
15359 swig_obj
[0] = args
;
15360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15361 if (!SWIG_IsOK(res1
)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15364 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (bool)(arg1
)->DeselectAll();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
= 0;
15382 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15383 wxPoint
*arg2
= 0 ;
15387 PyObject
* obj0
= 0 ;
15388 PyObject
* obj1
= 0 ;
15389 char * kwnames
[] = {
15390 (char *) "self",(char *) "pt", NULL
15393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15395 if (!SWIG_IsOK(res1
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15398 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_Py_Void();
15416 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
= 0;
15418 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 char * kwnames
[] = {
15431 (char *) "self",(char *) "x",(char *) "y", NULL
15434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15436 if (!SWIG_IsOK(res1
)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15439 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15441 if (!SWIG_IsOK(ecode2
)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15444 arg2
= static_cast< int >(val2
);
15445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15446 if (!SWIG_IsOK(ecode3
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15449 arg3
= static_cast< int >(val3
);
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 (arg1
)->SetMargins(arg2
,arg3
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= SWIG_Py_Void();
15463 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
= 0;
15465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15466 wxColour
*arg2
= 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "col", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15481 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_Py_Void();
15499 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
= 0;
15501 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 PyObject
* obj2
= 0 ;
15515 PyObject
* obj3
= 0 ;
15516 char * kwnames
[] = {
15517 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15522 if (!SWIG_IsOK(res1
)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15525 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15526 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15527 if (!SWIG_IsOK(res2
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15533 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15536 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15538 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15539 if (!SWIG_IsOK(ecode4
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15542 arg4
= static_cast< size_t >(val4
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_Py_Void();
15556 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
= 0;
15558 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 PyObject
* obj2
= 0 ;
15572 PyObject
* obj3
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15582 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15584 if (!SWIG_IsOK(res2
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15590 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15593 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15595 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15596 if (!SWIG_IsOK(ecode4
)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15599 arg4
= static_cast< size_t >(val4
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_Py_Void();
15613 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15617 return SWIG_Py_Void();
15620 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15621 return SWIG_Python_InitShadowInstance(args
);
15624 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxWindow
*arg1
= (wxWindow
*) 0 ;
15627 int arg2
= (int) wxID_ANY
;
15628 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15629 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15630 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15631 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15632 long arg5
= (long) 0 ;
15633 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15634 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15635 wxPyHtmlListBox
*result
= 0 ;
15644 bool temp6
= false ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 PyObject
* obj3
= 0 ;
15649 PyObject
* obj4
= 0 ;
15650 PyObject
* obj5
= 0 ;
15651 char * kwnames
[] = {
15652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15657 if (!SWIG_IsOK(res1
)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15660 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15663 if (!SWIG_IsOK(ecode2
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15666 arg2
= static_cast< int >(val2
);
15671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15677 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15681 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15682 if (!SWIG_IsOK(ecode5
)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15685 arg5
= static_cast< long >(val5
);
15689 arg6
= wxString_in_helper(obj5
);
15690 if (arg6
== NULL
) SWIG_fail
;
15695 if (!wxPyCheckForApp()) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15716 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15717 PyObject
*resultobj
= 0;
15718 wxPyHtmlListBox
*result
= 0 ;
15720 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15722 if (!wxPyCheckForApp()) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15735 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
= 0;
15737 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15738 PyObject
*arg2
= (PyObject
*) 0 ;
15739 PyObject
*arg3
= (PyObject
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 PyObject
* obj2
= 0 ;
15745 char * kwnames
[] = {
15746 (char *) "self",(char *) "self",(char *) "_class", NULL
15749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15754 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_Py_Void();
15770 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15773 wxWindow
*arg2
= (wxWindow
*) 0 ;
15774 int arg3
= (int) wxID_ANY
;
15775 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15776 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15777 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15778 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15779 long arg6
= (long) 0 ;
15780 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15781 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15793 bool temp7
= false ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 PyObject
* obj2
= 0 ;
15797 PyObject
* obj3
= 0 ;
15798 PyObject
* obj4
= 0 ;
15799 PyObject
* obj5
= 0 ;
15800 PyObject
* obj6
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15810 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15812 if (!SWIG_IsOK(res2
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15818 if (!SWIG_IsOK(ecode3
)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15821 arg3
= static_cast< int >(val3
);
15826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15836 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15837 if (!SWIG_IsOK(ecode6
)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15840 arg6
= static_cast< long >(val6
);
15844 arg7
= wxString_in_helper(obj6
);
15845 if (arg7
== NULL
) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15872 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= 0;
15874 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char * kwnames
[] = {
15883 (char *) "self",(char *) "count", NULL
15886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15891 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15892 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15893 if (!SWIG_IsOK(ecode2
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15896 arg2
= static_cast< size_t >(val2
);
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 (arg1
)->SetItemCount(arg2
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= SWIG_Py_Void();
15910 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15913 wxFileSystem
*result
= 0 ;
15916 PyObject
*swig_obj
[1] ;
15918 if (!args
) SWIG_fail
;
15919 swig_obj
[0] = args
;
15920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15921 if (!SWIG_IsOK(res1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15924 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15929 result
= (wxFileSystem
*) &_result_ref
;
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15941 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
= 0;
15943 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15945 wxHtmlLinkInfo
*arg3
= 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 PyObject
* obj2
= 0 ;
15955 char * kwnames
[] = {
15956 (char *) "self",(char *) "n",(char *) "link", NULL
15959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15964 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15965 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15966 if (!SWIG_IsOK(ecode2
)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15969 arg2
= static_cast< size_t >(val2
);
15970 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15971 if (!SWIG_IsOK(res3
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15977 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_Py_Void();
15991 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15995 return SWIG_Py_Void();
15998 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15999 return SWIG_Python_InitShadowInstance(args
);
16002 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
16003 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
16008 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
16009 PyObject
*pyobj
= 0;
16013 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
16015 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
16022 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= 0;
16024 wxWindow
*arg1
= (wxWindow
*) 0 ;
16025 int arg2
= (int) -1 ;
16026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16030 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
16031 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
16032 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
16033 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16034 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16035 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16037 wxSimpleHtmlListBox
*result
= 0 ;
16044 bool temp5
= false ;
16049 bool temp8
= false ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 PyObject
* obj2
= 0 ;
16053 PyObject
* obj3
= 0 ;
16054 PyObject
* obj4
= 0 ;
16055 PyObject
* obj5
= 0 ;
16056 PyObject
* obj6
= 0 ;
16057 PyObject
* obj7
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16073 arg2
= static_cast< int >(val2
);
16078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16084 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16089 if (! PySequence_Check(obj4
)) {
16090 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16093 arg5
= new wxArrayString
;
16095 int i
, len
=PySequence_Length(obj4
);
16096 for (i
=0; i
<len
; i
++) {
16097 PyObject
* item
= PySequence_GetItem(obj4
, i
);
16098 wxString
* s
= wxString_in_helper(item
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16108 if (!SWIG_IsOK(ecode6
)) {
16109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16111 arg6
= static_cast< long >(val6
);
16114 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16115 if (!SWIG_IsOK(res7
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16121 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16125 arg8
= wxString_in_helper(obj7
);
16126 if (arg8
== NULL
) SWIG_fail
;
16131 if (!wxPyCheckForApp()) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16139 if (temp5
) delete arg5
;
16148 if (temp5
) delete arg5
;
16158 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16160 wxSimpleHtmlListBox
*result
= 0 ;
16162 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16164 if (!wxPyCheckForApp()) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16177 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
= 0;
16179 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16180 wxWindow
*arg2
= (wxWindow
*) 0 ;
16181 int arg3
= (int) -1 ;
16182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16186 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16187 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16188 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16189 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16190 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16191 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16192 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16202 bool temp6
= false ;
16207 bool temp9
= false ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 PyObject
* obj2
= 0 ;
16211 PyObject
* obj3
= 0 ;
16212 PyObject
* obj4
= 0 ;
16213 PyObject
* obj5
= 0 ;
16214 PyObject
* obj6
= 0 ;
16215 PyObject
* obj7
= 0 ;
16216 PyObject
* obj8
= 0 ;
16217 char * kwnames
[] = {
16218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16223 if (!SWIG_IsOK(res1
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16226 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16228 if (!SWIG_IsOK(res2
)) {
16229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16234 if (!SWIG_IsOK(ecode3
)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16237 arg3
= static_cast< int >(val3
);
16242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16253 if (! PySequence_Check(obj5
)) {
16254 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16257 arg6
= new wxArrayString
;
16259 int i
, len
=PySequence_Length(obj5
);
16260 for (i
=0; i
<len
; i
++) {
16261 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16262 wxString
* s
= wxString_in_helper(item
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16271 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16272 if (!SWIG_IsOK(ecode7
)) {
16273 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16275 arg7
= static_cast< long >(val7
);
16278 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16279 if (!SWIG_IsOK(res8
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16285 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16289 arg9
= wxString_in_helper(obj8
);
16290 if (arg9
== NULL
) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 if (temp6
) delete arg6
;
16313 if (temp6
) delete arg6
;
16323 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16326 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16327 return SWIG_Py_Void();
16330 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16331 return SWIG_Python_InitShadowInstance(args
);
16334 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16335 PyObject
*resultobj
= 0;
16336 wxPyTaskBarIcon
*result
= 0 ;
16338 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16340 if (!wxPyCheckForApp()) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16353 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16354 PyObject
*resultobj
= 0;
16355 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16358 PyObject
*swig_obj
[1] ;
16360 if (!args
) SWIG_fail
;
16361 swig_obj
[0] = args
;
16362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16363 if (!SWIG_IsOK(res1
)) {
16364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16366 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= SWIG_Py_Void();
16381 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
= 0;
16383 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16384 PyObject
*arg2
= (PyObject
*) 0 ;
16385 PyObject
*arg3
= (PyObject
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 PyObject
* obj2
= 0 ;
16394 PyObject
* obj3
= 0 ;
16395 char * kwnames
[] = {
16396 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16401 if (!SWIG_IsOK(res1
)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16404 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16408 if (!SWIG_IsOK(ecode4
)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16411 arg4
= static_cast< int >(val4
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_Py_Void();
16425 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 PyObject
*resultobj
= 0;
16427 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16430 PyObject
*swig_obj
[1] ;
16432 if (!args
) SWIG_fail
;
16433 swig_obj
[0] = args
;
16434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16438 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 wxPyTaskBarIcon_Destroy(arg1
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_Py_Void();
16452 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16453 PyObject
*resultobj
= 0;
16454 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16458 PyObject
*swig_obj
[1] ;
16460 if (!args
) SWIG_fail
;
16461 swig_obj
[0] = args
;
16462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16463 if (!SWIG_IsOK(res1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16466 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16482 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16483 PyObject
*resultobj
= 0;
16484 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16488 PyObject
*swig_obj
[1] ;
16490 if (!args
) SWIG_fail
;
16491 swig_obj
[0] = args
;
16492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16493 if (!SWIG_IsOK(res1
)) {
16494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16496 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16512 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
= 0;
16514 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16523 bool temp3
= false ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 char * kwnames
[] = {
16528 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16533 if (!SWIG_IsOK(res1
)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16536 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16538 if (!SWIG_IsOK(res2
)) {
16539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16544 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16547 arg3
= wxString_in_helper(obj2
);
16548 if (arg3
== NULL
) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16576 PyObject
*resultobj
= 0;
16577 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16581 PyObject
*swig_obj
[1] ;
16583 if (!args
) SWIG_fail
;
16584 swig_obj
[0] = args
;
16585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16586 if (!SWIG_IsOK(res1
)) {
16587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16589 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (bool)(arg1
)->RemoveIcon();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16605 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16608 wxMenu
*arg2
= (wxMenu
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char * kwnames
[] = {
16617 (char *) "self",(char *) "menu", NULL
16620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16625 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16627 if (!SWIG_IsOK(res2
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16630 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (bool)(arg1
)->PopupMenu(arg2
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16646 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16650 return SWIG_Py_Void();
16653 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16654 return SWIG_Python_InitShadowInstance(args
);
16657 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
= 0;
16660 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16661 wxTaskBarIconEvent
*result
= 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 char * kwnames
[] = {
16669 (char *) "evtType",(char *) "tbIcon", NULL
16672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16674 if (!SWIG_IsOK(ecode1
)) {
16675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16677 arg1
= static_cast< wxEventType
>(val1
);
16678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16679 if (!SWIG_IsOK(res2
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16682 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16696 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16699 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16700 return SWIG_Py_Void();
16703 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16704 return SWIG_Python_InitShadowInstance(args
);
16707 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16708 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16713 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16714 PyObject
*pyobj
= 0;
16718 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16720 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16727 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16728 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16733 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16734 PyObject
*pyobj
= 0;
16738 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16740 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16747 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16748 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16753 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16754 PyObject
*pyobj
= 0;
16758 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16760 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16767 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16768 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16773 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16774 PyObject
*pyobj
= 0;
16778 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16780 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16787 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16788 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16793 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16794 PyObject
*pyobj
= 0;
16798 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16800 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16807 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16808 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16813 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16814 PyObject
*pyobj
= 0;
16818 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16820 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16827 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16828 PyObject
*resultobj
= 0;
16829 wxColourData
*result
= 0 ;
16831 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (wxColourData
*)new wxColourData();
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16845 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16846 PyObject
*resultobj
= 0;
16847 wxColourData
*arg1
= (wxColourData
*) 0 ;
16850 PyObject
*swig_obj
[1] ;
16852 if (!args
) SWIG_fail
;
16853 swig_obj
[0] = args
;
16854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16858 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_Py_Void();
16873 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 PyObject
*resultobj
= 0;
16875 wxColourData
*arg1
= (wxColourData
*) 0 ;
16879 PyObject
*swig_obj
[1] ;
16881 if (!args
) SWIG_fail
;
16882 swig_obj
[0] = args
;
16883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16884 if (!SWIG_IsOK(res1
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16887 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (bool)(arg1
)->GetChooseFull();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16903 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16904 PyObject
*resultobj
= 0;
16905 wxColourData
*arg1
= (wxColourData
*) 0 ;
16909 PyObject
*swig_obj
[1] ;
16911 if (!args
) SWIG_fail
;
16912 swig_obj
[0] = args
;
16913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16914 if (!SWIG_IsOK(res1
)) {
16915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16917 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (arg1
)->GetColour();
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16931 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
= 0;
16933 wxColourData
*arg1
= (wxColourData
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char * kwnames
[] = {
16943 (char *) "self",(char *) "i", NULL
16946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16951 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16953 if (!SWIG_IsOK(ecode2
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16956 arg2
= static_cast< int >(val2
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (arg1
)->GetCustomColour(arg2
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16970 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= 0;
16972 wxColourData
*arg1
= (wxColourData
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char * kwnames
[] = {
16981 (char *) "self",(char *) "flag", NULL
16984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16986 if (!SWIG_IsOK(res1
)) {
16987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16989 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16991 if (!SWIG_IsOK(ecode2
)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16994 arg2
= static_cast< int >(val2
);
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 (arg1
)->SetChooseFull(arg2
);
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_Py_Void();
17008 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
= 0;
17010 wxColourData
*arg1
= (wxColourData
*) 0 ;
17011 wxColour
*arg2
= 0 ;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char * kwnames
[] = {
17018 (char *) "self",(char *) "colour", NULL
17021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17026 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 (arg1
)->SetColour((wxColour
const &)*arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_Py_Void();
17044 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
= 0;
17046 wxColourData
*arg1
= (wxColourData
*) 0 ;
17048 wxColour
*arg3
= 0 ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 PyObject
* obj2
= 0 ;
17057 char * kwnames
[] = {
17058 (char *) "self",(char *) "i",(char *) "colour", NULL
17061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17063 if (!SWIG_IsOK(res1
)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17066 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17068 if (!SWIG_IsOK(ecode2
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17071 arg2
= static_cast< int >(val2
);
17074 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= SWIG_Py_Void();
17089 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17092 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
17093 return SWIG_Py_Void();
17096 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17097 return SWIG_Python_InitShadowInstance(args
);
17100 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
= 0;
17102 wxWindow
*arg1
= (wxWindow
*) 0 ;
17103 wxColourData
*arg2
= (wxColourData
*) NULL
;
17104 wxColourDialog
*result
= 0 ;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "parent",(char *) "data", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17120 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17123 if (!SWIG_IsOK(res2
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17126 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17129 if (!wxPyCheckForApp()) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17142 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17143 PyObject
*resultobj
= 0;
17144 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17145 wxColourData
*result
= 0 ;
17148 PyObject
*swig_obj
[1] ;
17150 if (!args
) SWIG_fail
;
17151 swig_obj
[0] = args
;
17152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17156 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17161 result
= (wxColourData
*) &_result_ref
;
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17173 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17176 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17177 return SWIG_Py_Void();
17180 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17181 return SWIG_Python_InitShadowInstance(args
);
17184 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
= 0;
17186 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17187 wxColour
const &arg2_defvalue
= wxNullColour
;
17188 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17195 bool temp3
= false ;
17196 PyObject
* obj0
= 0 ;
17197 PyObject
* obj1
= 0 ;
17198 PyObject
* obj2
= 0 ;
17199 char * kwnames
[] = {
17200 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17206 if (!SWIG_IsOK(res1
)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17214 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17219 arg3
= wxString_in_helper(obj2
);
17220 if (arg3
== NULL
) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17245 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
= 0;
17247 wxWindow
*arg1
= (wxWindow
*) 0 ;
17248 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17249 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17252 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17253 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17254 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17255 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17256 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17257 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17258 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17259 wxDirDialog
*result
= 0 ;
17262 bool temp2
= false ;
17263 bool temp3
= false ;
17268 bool temp7
= false ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 PyObject
* obj2
= 0 ;
17272 PyObject
* obj3
= 0 ;
17273 PyObject
* obj4
= 0 ;
17274 PyObject
* obj5
= 0 ;
17275 PyObject
* obj6
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17288 arg2
= wxString_in_helper(obj1
);
17289 if (arg2
== NULL
) SWIG_fail
;
17295 arg3
= wxString_in_helper(obj2
);
17296 if (arg3
== NULL
) SWIG_fail
;
17301 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17302 if (!SWIG_IsOK(ecode4
)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17305 arg4
= static_cast< long >(val4
);
17310 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17316 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17321 arg7
= wxString_in_helper(obj6
);
17322 if (arg7
== NULL
) SWIG_fail
;
17327 if (!wxPyCheckForApp()) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17364 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17365 PyObject
*resultobj
= 0;
17366 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17370 PyObject
*swig_obj
[1] ;
17372 if (!args
) SWIG_fail
;
17373 swig_obj
[0] = args
;
17374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17375 if (!SWIG_IsOK(res1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17378 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= (arg1
)->GetPath();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17398 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17399 PyObject
*resultobj
= 0;
17400 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17404 PyObject
*swig_obj
[1] ;
17406 if (!args
) SWIG_fail
;
17407 swig_obj
[0] = args
;
17408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17409 if (!SWIG_IsOK(res1
)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17412 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (arg1
)->GetMessage();
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17432 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
= 0;
17434 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17435 wxString
*arg2
= 0 ;
17438 bool temp2
= false ;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char * kwnames
[] = {
17442 (char *) "self",(char *) "message", NULL
17445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17447 if (!SWIG_IsOK(res1
)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17450 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17452 arg2
= wxString_in_helper(obj1
);
17453 if (arg2
== NULL
) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 (arg1
)->SetMessage((wxString
const &)*arg2
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_Py_Void();
17477 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
= 0;
17479 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17480 wxString
*arg2
= 0 ;
17483 bool temp2
= false ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char * kwnames
[] = {
17487 (char *) "self",(char *) "path", NULL
17490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17492 if (!SWIG_IsOK(res1
)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17495 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17497 arg2
= wxString_in_helper(obj1
);
17498 if (arg2
== NULL
) SWIG_fail
;
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 (arg1
)->SetPath((wxString
const &)*arg2
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_Py_Void();
17522 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17525 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17526 return SWIG_Py_Void();
17529 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17530 return SWIG_Python_InitShadowInstance(args
);
17533 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
= 0;
17535 wxWindow
*arg1
= (wxWindow
*) 0 ;
17536 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17537 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17540 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17542 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17543 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17544 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17545 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17546 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17547 wxFileDialog
*result
= 0 ;
17550 bool temp2
= false ;
17551 bool temp3
= false ;
17552 bool temp4
= false ;
17553 bool temp5
= false ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 PyObject
* obj3
= 0 ;
17561 PyObject
* obj4
= 0 ;
17562 PyObject
* obj5
= 0 ;
17563 PyObject
* obj6
= 0 ;
17564 char * kwnames
[] = {
17565 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17570 if (!SWIG_IsOK(res1
)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17573 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17576 arg2
= wxString_in_helper(obj1
);
17577 if (arg2
== NULL
) SWIG_fail
;
17583 arg3
= wxString_in_helper(obj2
);
17584 if (arg3
== NULL
) SWIG_fail
;
17590 arg4
= wxString_in_helper(obj3
);
17591 if (arg4
== NULL
) SWIG_fail
;
17597 arg5
= wxString_in_helper(obj4
);
17598 if (arg5
== NULL
) SWIG_fail
;
17603 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17604 if (!SWIG_IsOK(ecode6
)) {
17605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17607 arg6
= static_cast< long >(val6
);
17612 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17616 if (!wxPyCheckForApp()) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17661 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17664 wxString
*arg2
= 0 ;
17667 bool temp2
= false ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 char * kwnames
[] = {
17671 (char *) "self",(char *) "message", NULL
17674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17676 if (!SWIG_IsOK(res1
)) {
17677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17679 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17681 arg2
= wxString_in_helper(obj1
);
17682 if (arg2
== NULL
) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 (arg1
)->SetMessage((wxString
const &)*arg2
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= SWIG_Py_Void();
17706 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
= 0;
17708 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17709 wxString
*arg2
= 0 ;
17712 bool temp2
= false ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char * kwnames
[] = {
17716 (char *) "self",(char *) "path", NULL
17719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17721 if (!SWIG_IsOK(res1
)) {
17722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17724 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17726 arg2
= wxString_in_helper(obj1
);
17727 if (arg2
== NULL
) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->SetPath((wxString
const &)*arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_Py_Void();
17751 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
= 0;
17753 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17754 wxString
*arg2
= 0 ;
17757 bool temp2
= false ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 char * kwnames
[] = {
17761 (char *) "self",(char *) "dir", NULL
17764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17766 if (!SWIG_IsOK(res1
)) {
17767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17769 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17771 arg2
= wxString_in_helper(obj1
);
17772 if (arg2
== NULL
) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= SWIG_Py_Void();
17796 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
= 0;
17798 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17799 wxString
*arg2
= 0 ;
17802 bool temp2
= false ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char * kwnames
[] = {
17806 (char *) "self",(char *) "name", NULL
17809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17811 if (!SWIG_IsOK(res1
)) {
17812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17814 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17816 arg2
= wxString_in_helper(obj1
);
17817 if (arg2
== NULL
) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->SetFilename((wxString
const &)*arg2
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_Py_Void();
17841 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17844 wxString
*arg2
= 0 ;
17847 bool temp2
= false ;
17848 PyObject
* obj0
= 0 ;
17849 PyObject
* obj1
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "self",(char *) "wildCard", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17859 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17861 arg2
= wxString_in_helper(obj1
);
17862 if (arg2
== NULL
) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_Py_Void();
17886 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 PyObject
* obj1
= 0 ;
17896 char * kwnames
[] = {
17897 (char *) "self",(char *) "filterIndex", NULL
17900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17905 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17907 if (!SWIG_IsOK(ecode2
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17910 arg2
= static_cast< int >(val2
);
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->SetFilterIndex(arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= SWIG_Py_Void();
17924 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17925 PyObject
*resultobj
= 0;
17926 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17930 PyObject
*swig_obj
[1] ;
17932 if (!args
) SWIG_fail
;
17933 swig_obj
[0] = args
;
17934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17938 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17958 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17959 PyObject
*resultobj
= 0;
17960 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17964 PyObject
*swig_obj
[1] ;
17966 if (!args
) SWIG_fail
;
17967 swig_obj
[0] = args
;
17968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17969 if (!SWIG_IsOK(res1
)) {
17970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17972 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17992 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17993 PyObject
*resultobj
= 0;
17994 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17998 PyObject
*swig_obj
[1] ;
18000 if (!args
) SWIG_fail
;
18001 swig_obj
[0] = args
;
18002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18003 if (!SWIG_IsOK(res1
)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18006 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18026 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18027 PyObject
*resultobj
= 0;
18028 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18032 PyObject
*swig_obj
[1] ;
18034 if (!args
) SWIG_fail
;
18035 swig_obj
[0] = args
;
18036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18040 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18060 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18061 PyObject
*resultobj
= 0;
18062 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18066 PyObject
*swig_obj
[1] ;
18068 if (!args
) SWIG_fail
;
18069 swig_obj
[0] = args
;
18070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18071 if (!SWIG_IsOK(res1
)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18074 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18094 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18095 PyObject
*resultobj
= 0;
18096 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18100 PyObject
*swig_obj
[1] ;
18102 if (!args
) SWIG_fail
;
18103 swig_obj
[0] = args
;
18104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18105 if (!SWIG_IsOK(res1
)) {
18106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18108 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= SWIG_From_int(static_cast< int >(result
));
18122 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18123 PyObject
*resultobj
= 0;
18124 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18125 PyObject
*result
= 0 ;
18128 PyObject
*swig_obj
[1] ;
18130 if (!args
) SWIG_fail
;
18131 swig_obj
[0] = args
;
18132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18136 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= result
;
18150 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18151 PyObject
*resultobj
= 0;
18152 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18153 PyObject
*result
= 0 ;
18156 PyObject
*swig_obj
[1] ;
18158 if (!args
) SWIG_fail
;
18159 swig_obj
[0] = args
;
18160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18164 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= result
;
18178 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18182 return SWIG_Py_Void();
18185 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18186 return SWIG_Python_InitShadowInstance(args
);
18189 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
= 0;
18191 wxWindow
*arg1
= (wxWindow
*) 0 ;
18192 wxString
*arg2
= 0 ;
18193 wxString
*arg3
= 0 ;
18194 int arg4
= (int) 0 ;
18195 wxString
*arg5
= (wxString
*) NULL
;
18196 long arg6
= (long) wxCHOICEDLG_STYLE
;
18197 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18198 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18199 wxMultiChoiceDialog
*result
= 0 ;
18202 bool temp2
= false ;
18203 bool temp3
= false ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 PyObject
* obj5
= 0 ;
18213 char * kwnames
[] = {
18214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18222 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18224 arg2
= wxString_in_helper(obj1
);
18225 if (arg2
== NULL
) SWIG_fail
;
18229 arg3
= wxString_in_helper(obj2
);
18230 if (arg3
== NULL
) SWIG_fail
;
18235 arg4
= PyList_Size(obj3
);
18236 arg5
= wxString_LIST_helper(obj3
);
18237 if (arg5
== NULL
) SWIG_fail
;
18241 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18242 if (!SWIG_IsOK(ecode6
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18245 arg6
= static_cast< long >(val6
);
18250 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18254 if (!wxPyCheckForApp()) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18270 if (arg5
) delete [] arg5
;
18283 if (arg5
) delete [] arg5
;
18289 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= 0;
18291 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18292 wxArrayInt
*arg2
= 0 ;
18295 bool temp2
= false ;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 char * kwnames
[] = {
18299 (char *) "self",(char *) "selections", NULL
18302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18307 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18309 if (! PySequence_Check(obj1
)) {
18310 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18313 arg2
= new wxArrayInt
;
18315 int i
, len
=PySequence_Length(obj1
);
18316 for (i
=0; i
<len
; i
++) {
18317 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18318 PyObject
* number
= PyNumber_Int(item
);
18320 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18323 arg2
->Add(PyInt_AS_LONG(number
));
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18336 if (temp2
) delete arg2
;
18341 if (temp2
) delete arg2
;
18347 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18348 PyObject
*resultobj
= 0;
18349 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18350 PyObject
*result
= 0 ;
18353 PyObject
*swig_obj
[1] ;
18355 if (!args
) SWIG_fail
;
18356 swig_obj
[0] = args
;
18357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18358 if (!SWIG_IsOK(res1
)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18361 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= result
;
18375 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18378 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18379 return SWIG_Py_Void();
18382 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 return SWIG_Python_InitShadowInstance(args
);
18386 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
= 0;
18388 wxWindow
*arg1
= (wxWindow
*) 0 ;
18389 wxString
*arg2
= 0 ;
18390 wxString
*arg3
= 0 ;
18392 wxString
*arg5
= (wxString
*) 0 ;
18393 long arg6
= (long) wxCHOICEDLG_STYLE
;
18394 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18395 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18396 wxSingleChoiceDialog
*result
= 0 ;
18399 bool temp2
= false ;
18400 bool temp3
= false ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 PyObject
* obj4
= 0 ;
18409 PyObject
* obj5
= 0 ;
18410 char * kwnames
[] = {
18411 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18421 arg2
= wxString_in_helper(obj1
);
18422 if (arg2
== NULL
) SWIG_fail
;
18426 arg3
= wxString_in_helper(obj2
);
18427 if (arg3
== NULL
) SWIG_fail
;
18431 arg4
= PyList_Size(obj3
);
18432 arg5
= wxString_LIST_helper(obj3
);
18433 if (arg5
== NULL
) SWIG_fail
;
18436 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18437 if (!SWIG_IsOK(ecode6
)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18440 arg6
= static_cast< long >(val6
);
18445 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18449 if (!wxPyCheckForApp()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18465 if (arg5
) delete [] arg5
;
18478 if (arg5
) delete [] arg5
;
18484 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18485 PyObject
*resultobj
= 0;
18486 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18490 PyObject
*swig_obj
[1] ;
18492 if (!args
) SWIG_fail
;
18493 swig_obj
[0] = args
;
18494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18498 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)(arg1
)->GetSelection();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_From_int(static_cast< int >(result
));
18512 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 PyObject
*resultobj
= 0;
18514 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18518 PyObject
*swig_obj
[1] ;
18520 if (!args
) SWIG_fail
;
18521 swig_obj
[0] = args
;
18522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18523 if (!SWIG_IsOK(res1
)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18526 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (arg1
)->GetStringSelection();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18546 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
= 0;
18548 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "self",(char *) "sel", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18565 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18567 if (!SWIG_IsOK(ecode2
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18570 arg2
= static_cast< int >(val2
);
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetSelection(arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_Py_Void();
18584 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18587 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18588 return SWIG_Py_Void();
18591 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18592 return SWIG_Python_InitShadowInstance(args
);
18595 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
= 0;
18597 wxWindow
*arg1
= (wxWindow
*) 0 ;
18598 wxString
*arg2
= 0 ;
18599 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18600 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18603 long arg5
= (long) wxTextEntryDialogStyle
;
18604 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18605 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18606 wxTextEntryDialog
*result
= 0 ;
18609 bool temp2
= false ;
18610 bool temp3
= false ;
18611 bool temp4
= false ;
18615 PyObject
* obj0
= 0 ;
18616 PyObject
* obj1
= 0 ;
18617 PyObject
* obj2
= 0 ;
18618 PyObject
* obj3
= 0 ;
18619 PyObject
* obj4
= 0 ;
18620 PyObject
* obj5
= 0 ;
18621 char * kwnames
[] = {
18622 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18627 if (!SWIG_IsOK(res1
)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18630 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18632 arg2
= wxString_in_helper(obj1
);
18633 if (arg2
== NULL
) SWIG_fail
;
18638 arg3
= wxString_in_helper(obj2
);
18639 if (arg3
== NULL
) SWIG_fail
;
18645 arg4
= wxString_in_helper(obj3
);
18646 if (arg4
== NULL
) SWIG_fail
;
18651 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18652 if (!SWIG_IsOK(ecode5
)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18655 arg5
= static_cast< long >(val5
);
18660 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18664 if (!wxPyCheckForApp()) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18701 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18702 PyObject
*resultobj
= 0;
18703 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18707 PyObject
*swig_obj
[1] ;
18709 if (!args
) SWIG_fail
;
18710 swig_obj
[0] = args
;
18711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18712 if (!SWIG_IsOK(res1
)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18715 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (arg1
)->GetValue();
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18735 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
= 0;
18737 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18738 wxString
*arg2
= 0 ;
18741 bool temp2
= false ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "self",(char *) "value", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18753 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18755 arg2
= wxString_in_helper(obj1
);
18756 if (arg2
== NULL
) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 (arg1
)->SetValue((wxString
const &)*arg2
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= SWIG_Py_Void();
18780 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18783 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18784 return SWIG_Py_Void();
18787 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18788 return SWIG_Python_InitShadowInstance(args
);
18791 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18792 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18797 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18798 PyObject
*pyobj
= 0;
18802 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18804 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18811 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
= 0;
18813 wxWindow
*arg1
= (wxWindow
*) 0 ;
18814 wxString
*arg2
= 0 ;
18815 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18816 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18817 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18818 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18819 long arg5
= (long) wxTextEntryDialogStyle
;
18820 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18821 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18822 wxPasswordEntryDialog
*result
= 0 ;
18825 bool temp2
= false ;
18826 bool temp3
= false ;
18827 bool temp4
= false ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 PyObject
* obj2
= 0 ;
18834 PyObject
* obj3
= 0 ;
18835 PyObject
* obj4
= 0 ;
18836 PyObject
* obj5
= 0 ;
18837 char * kwnames
[] = {
18838 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18843 if (!SWIG_IsOK(res1
)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18848 arg2
= wxString_in_helper(obj1
);
18849 if (arg2
== NULL
) SWIG_fail
;
18854 arg3
= wxString_in_helper(obj2
);
18855 if (arg3
== NULL
) SWIG_fail
;
18861 arg4
= wxString_in_helper(obj3
);
18862 if (arg4
== NULL
) SWIG_fail
;
18867 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18868 if (!SWIG_IsOK(ecode5
)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18871 arg5
= static_cast< long >(val5
);
18876 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18916 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18919 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18920 return SWIG_Py_Void();
18923 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18924 return SWIG_Python_InitShadowInstance(args
);
18927 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
= 0;
18929 wxWindow
*arg1
= (wxWindow
*) 0 ;
18930 wxString
*arg2
= 0 ;
18931 wxString
*arg3
= 0 ;
18932 wxString
*arg4
= 0 ;
18936 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18937 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18938 wxNumberEntryDialog
*result
= 0 ;
18941 bool temp2
= false ;
18942 bool temp3
= false ;
18943 bool temp4
= false ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 PyObject
* obj3
= 0 ;
18955 PyObject
* obj4
= 0 ;
18956 PyObject
* obj5
= 0 ;
18957 PyObject
* obj6
= 0 ;
18958 PyObject
* obj7
= 0 ;
18959 char * kwnames
[] = {
18960 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18965 if (!SWIG_IsOK(res1
)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18970 arg2
= wxString_in_helper(obj1
);
18971 if (arg2
== NULL
) SWIG_fail
;
18975 arg3
= wxString_in_helper(obj2
);
18976 if (arg3
== NULL
) SWIG_fail
;
18980 arg4
= wxString_in_helper(obj3
);
18981 if (arg4
== NULL
) SWIG_fail
;
18984 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18985 if (!SWIG_IsOK(ecode5
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18988 arg5
= static_cast< long >(val5
);
18989 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18990 if (!SWIG_IsOK(ecode6
)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18993 arg6
= static_cast< long >(val6
);
18994 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18995 if (!SWIG_IsOK(ecode7
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18998 arg7
= static_cast< long >(val7
);
19002 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19006 if (!wxPyCheckForApp()) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
19043 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19044 PyObject
*resultobj
= 0;
19045 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
19049 PyObject
*swig_obj
[1] ;
19051 if (!args
) SWIG_fail
;
19052 swig_obj
[0] = args
;
19053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
19054 if (!SWIG_IsOK(res1
)) {
19055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
19057 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (long)(arg1
)->GetValue();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= SWIG_From_long(static_cast< long >(result
));
19071 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19074 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
19075 return SWIG_Py_Void();
19078 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19079 return SWIG_Python_InitShadowInstance(args
);
19082 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19083 PyObject
*resultobj
= 0;
19084 wxFontData
*result
= 0 ;
19086 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= (wxFontData
*)new wxFontData();
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
19100 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19101 PyObject
*resultobj
= 0;
19102 wxFontData
*arg1
= (wxFontData
*) 0 ;
19105 PyObject
*swig_obj
[1] ;
19107 if (!args
) SWIG_fail
;
19108 swig_obj
[0] = args
;
19109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19113 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_Py_Void();
19128 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
= 0;
19130 wxFontData
*arg1
= (wxFontData
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 char * kwnames
[] = {
19139 (char *) "self",(char *) "enable", NULL
19142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19147 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19148 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19149 if (!SWIG_IsOK(ecode2
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19152 arg2
= static_cast< bool >(val2
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 (arg1
)->EnableEffects(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_Py_Void();
19166 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19167 PyObject
*resultobj
= 0;
19168 wxFontData
*arg1
= (wxFontData
*) 0 ;
19172 PyObject
*swig_obj
[1] ;
19174 if (!args
) SWIG_fail
;
19175 swig_obj
[0] = args
;
19176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19180 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (bool)(arg1
)->GetAllowSymbols();
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19196 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19197 PyObject
*resultobj
= 0;
19198 wxFontData
*arg1
= (wxFontData
*) 0 ;
19202 PyObject
*swig_obj
[1] ;
19204 if (!args
) SWIG_fail
;
19205 swig_obj
[0] = args
;
19206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19207 if (!SWIG_IsOK(res1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19210 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (arg1
)->GetColour();
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19224 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19225 PyObject
*resultobj
= 0;
19226 wxFontData
*arg1
= (wxFontData
*) 0 ;
19230 PyObject
*swig_obj
[1] ;
19232 if (!args
) SWIG_fail
;
19233 swig_obj
[0] = args
;
19234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19235 if (!SWIG_IsOK(res1
)) {
19236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19238 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (arg1
)->GetChosenFont();
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19252 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19253 PyObject
*resultobj
= 0;
19254 wxFontData
*arg1
= (wxFontData
*) 0 ;
19258 PyObject
*swig_obj
[1] ;
19260 if (!args
) SWIG_fail
;
19261 swig_obj
[0] = args
;
19262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19266 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (bool)(arg1
)->GetEnableEffects();
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19282 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 PyObject
*resultobj
= 0;
19284 wxFontData
*arg1
= (wxFontData
*) 0 ;
19288 PyObject
*swig_obj
[1] ;
19290 if (!args
) SWIG_fail
;
19291 swig_obj
[0] = args
;
19292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19296 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (arg1
)->GetInitialFont();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19310 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19311 PyObject
*resultobj
= 0;
19312 wxFontData
*arg1
= (wxFontData
*) 0 ;
19316 PyObject
*swig_obj
[1] ;
19318 if (!args
) SWIG_fail
;
19319 swig_obj
[0] = args
;
19320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19321 if (!SWIG_IsOK(res1
)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19324 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)(arg1
)->GetShowHelp();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19340 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= 0;
19342 wxFontData
*arg1
= (wxFontData
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char * kwnames
[] = {
19351 (char *) "self",(char *) "allowSymbols", NULL
19354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19359 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19360 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19361 if (!SWIG_IsOK(ecode2
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19364 arg2
= static_cast< bool >(val2
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetAllowSymbols(arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_Py_Void();
19378 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxFontData
*arg1
= (wxFontData
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "font", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19397 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19399 if (!SWIG_IsOK(res2
)) {
19400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19405 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= SWIG_Py_Void();
19419 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxFontData
*arg1
= (wxFontData
*) 0 ;
19422 wxColour
*arg2
= 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 char * kwnames
[] = {
19429 (char *) "self",(char *) "colour", NULL
19432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19437 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->SetColour((wxColour
const &)*arg2
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_Py_Void();
19455 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxFontData
*arg1
= (wxFontData
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char * kwnames
[] = {
19466 (char *) "self",(char *) "font", NULL
19469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19471 if (!SWIG_IsOK(res1
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19474 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19476 if (!SWIG_IsOK(res2
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19482 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19496 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
= 0;
19498 wxFontData
*arg1
= (wxFontData
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 PyObject
* obj2
= 0 ;
19510 char * kwnames
[] = {
19511 (char *) "self",(char *) "min",(char *) "max", NULL
19514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19516 if (!SWIG_IsOK(res1
)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19519 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19521 if (!SWIG_IsOK(ecode2
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19524 arg2
= static_cast< int >(val2
);
19525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19526 if (!SWIG_IsOK(ecode3
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19529 arg3
= static_cast< int >(val3
);
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 (arg1
)->SetRange(arg2
,arg3
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxFontData
*arg1
= (wxFontData
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "showHelp", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19562 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19563 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19564 if (!SWIG_IsOK(ecode2
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19567 arg2
= static_cast< bool >(val2
);
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->SetShowHelp(arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= SWIG_Py_Void();
19581 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19584 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19585 return SWIG_Py_Void();
19588 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19589 return SWIG_Python_InitShadowInstance(args
);
19592 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
= 0;
19594 wxWindow
*arg1
= (wxWindow
*) 0 ;
19595 wxFontData
*arg2
= 0 ;
19596 wxFontDialog
*result
= 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 char * kwnames
[] = {
19604 (char *) "parent",(char *) "data", NULL
19607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19614 if (!SWIG_IsOK(res2
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19620 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19622 if (!wxPyCheckForApp()) SWIG_fail
;
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19635 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19636 PyObject
*resultobj
= 0;
19637 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19638 wxFontData
*result
= 0 ;
19641 PyObject
*swig_obj
[1] ;
19643 if (!args
) SWIG_fail
;
19644 swig_obj
[0] = args
;
19645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19646 if (!SWIG_IsOK(res1
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19649 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19654 result
= (wxFontData
*) &_result_ref
;
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19666 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19669 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19670 return SWIG_Py_Void();
19673 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19674 return SWIG_Python_InitShadowInstance(args
);
19677 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
= 0;
19679 wxWindow
*arg1
= (wxWindow
*) NULL
;
19680 wxFont
const &arg2_defvalue
= wxNullFont
;
19681 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19689 bool temp3
= false ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 PyObject
* obj2
= 0 ;
19693 char * kwnames
[] = {
19694 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19700 if (!SWIG_IsOK(res1
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19703 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19707 if (!SWIG_IsOK(res2
)) {
19708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19713 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19717 arg3
= wxString_in_helper(obj2
);
19718 if (arg3
== NULL
) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19743 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
= 0;
19745 wxWindow
*arg1
= (wxWindow
*) 0 ;
19746 wxString
*arg2
= 0 ;
19747 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19749 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19750 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19751 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19752 wxMessageDialog
*result
= 0 ;
19755 bool temp2
= false ;
19756 bool temp3
= false ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 PyObject
* obj2
= 0 ;
19763 PyObject
* obj3
= 0 ;
19764 PyObject
* obj4
= 0 ;
19765 char * kwnames
[] = {
19766 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19774 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19776 arg2
= wxString_in_helper(obj1
);
19777 if (arg2
== NULL
) SWIG_fail
;
19782 arg3
= wxString_in_helper(obj2
);
19783 if (arg3
== NULL
) SWIG_fail
;
19788 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19789 if (!SWIG_IsOK(ecode4
)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19792 arg4
= static_cast< long >(val4
);
19797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19801 if (!wxPyCheckForApp()) SWIG_fail
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19830 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19834 return SWIG_Py_Void();
19837 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19838 return SWIG_Python_InitShadowInstance(args
);
19841 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
= 0;
19843 wxString
*arg1
= 0 ;
19844 wxString
*arg2
= 0 ;
19845 int arg3
= (int) 100 ;
19846 wxWindow
*arg4
= (wxWindow
*) NULL
;
19847 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19848 wxProgressDialog
*result
= 0 ;
19849 bool temp1
= false ;
19850 bool temp2
= false ;
19857 PyObject
* obj0
= 0 ;
19858 PyObject
* obj1
= 0 ;
19859 PyObject
* obj2
= 0 ;
19860 PyObject
* obj3
= 0 ;
19861 PyObject
* obj4
= 0 ;
19862 char * kwnames
[] = {
19863 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19868 arg1
= wxString_in_helper(obj0
);
19869 if (arg1
== NULL
) SWIG_fail
;
19873 arg2
= wxString_in_helper(obj1
);
19874 if (arg2
== NULL
) SWIG_fail
;
19878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19879 if (!SWIG_IsOK(ecode3
)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19882 arg3
= static_cast< int >(val3
);
19885 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19886 if (!SWIG_IsOK(res4
)) {
19887 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19889 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19892 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19893 if (!SWIG_IsOK(ecode5
)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19896 arg5
= static_cast< int >(val5
);
19899 if (!wxPyCheckForApp()) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19928 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= 0;
19930 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19934 bool *arg4
= (bool *) 0 ;
19940 bool temp3
= false ;
19942 int res4
= SWIG_TMPOBJ
;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 PyObject
* obj2
= 0 ;
19946 char * kwnames
[] = {
19947 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19953 if (!SWIG_IsOK(res1
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19956 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19958 if (!SWIG_IsOK(ecode2
)) {
19959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19961 arg2
= static_cast< int >(val2
);
19964 arg3
= wxString_in_helper(obj2
);
19965 if (arg3
== NULL
) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19978 if (SWIG_IsTmpObj(res4
)) {
19979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19981 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19998 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
= 0;
20000 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20001 wxString
const &arg2_defvalue
= wxPyEmptyString
;
20002 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20003 bool *arg3
= (bool *) 0 ;
20007 bool temp2
= false ;
20009 int res3
= SWIG_TMPOBJ
;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 char * kwnames
[] = {
20013 (char *) "self",(char *) "newmsg", NULL
20017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20019 if (!SWIG_IsOK(res1
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20022 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20025 arg2
= wxString_in_helper(obj1
);
20026 if (arg2
== NULL
) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20039 if (SWIG_IsTmpObj(res3
)) {
20040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
20042 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
20059 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20060 PyObject
*resultobj
= 0;
20061 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20064 PyObject
*swig_obj
[1] ;
20066 if (!args
) SWIG_fail
;
20067 swig_obj
[0] = args
;
20068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20069 if (!SWIG_IsOK(res1
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20072 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_Py_Void();
20086 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20089 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
20090 return SWIG_Py_Void();
20093 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20094 return SWIG_Python_InitShadowInstance(args
);
20097 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
= 0;
20099 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20100 int arg2
= (int) 0 ;
20101 wxFindDialogEvent
*result
= 0 ;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 char * kwnames
[] = {
20109 (char *) "commandType",(char *) "id", NULL
20112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20115 if (!SWIG_IsOK(ecode1
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20118 arg1
= static_cast< wxEventType
>(val1
);
20121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20122 if (!SWIG_IsOK(ecode2
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20125 arg2
= static_cast< int >(val2
);
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20140 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 PyObject
*resultobj
= 0;
20142 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20146 PyObject
*swig_obj
[1] ;
20148 if (!args
) SWIG_fail
;
20149 swig_obj
[0] = args
;
20150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20154 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)(arg1
)->GetFlags();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_From_int(static_cast< int >(result
));
20168 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20169 PyObject
*resultobj
= 0;
20170 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20171 wxString
*result
= 0 ;
20174 PyObject
*swig_obj
[1] ;
20176 if (!args
) SWIG_fail
;
20177 swig_obj
[0] = args
;
20178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20179 if (!SWIG_IsOK(res1
)) {
20180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20182 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 wxString
const &_result_ref
= (arg1
)->GetFindString();
20187 result
= (wxString
*) &_result_ref
;
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20196 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20205 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20206 PyObject
*resultobj
= 0;
20207 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20208 wxString
*result
= 0 ;
20211 PyObject
*swig_obj
[1] ;
20213 if (!args
) SWIG_fail
;
20214 swig_obj
[0] = args
;
20215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20216 if (!SWIG_IsOK(res1
)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20219 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20224 result
= (wxString
*) &_result_ref
;
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20242 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20243 PyObject
*resultobj
= 0;
20244 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20245 wxFindReplaceDialog
*result
= 0 ;
20248 PyObject
*swig_obj
[1] ;
20250 if (!args
) SWIG_fail
;
20251 swig_obj
[0] = args
;
20252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20253 if (!SWIG_IsOK(res1
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20256 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20270 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
= 0;
20272 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char * kwnames
[] = {
20281 (char *) "self",(char *) "flags", NULL
20284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20286 if (!SWIG_IsOK(res1
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20289 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20291 if (!SWIG_IsOK(ecode2
)) {
20292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20294 arg2
= static_cast< int >(val2
);
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 (arg1
)->SetFlags(arg2
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_Py_Void();
20308 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
= 0;
20310 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20311 wxString
*arg2
= 0 ;
20314 bool temp2
= false ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char * kwnames
[] = {
20318 (char *) "self",(char *) "str", NULL
20321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20326 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20328 arg2
= wxString_in_helper(obj1
);
20329 if (arg2
== NULL
) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 (arg1
)->SetFindString((wxString
const &)*arg2
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_Py_Void();
20353 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
= 0;
20355 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20356 wxString
*arg2
= 0 ;
20359 bool temp2
= false ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char * kwnames
[] = {
20363 (char *) "self",(char *) "str", NULL
20366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20368 if (!SWIG_IsOK(res1
)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20371 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20373 arg2
= wxString_in_helper(obj1
);
20374 if (arg2
== NULL
) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20398 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20402 return SWIG_Py_Void();
20405 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 return SWIG_Python_InitShadowInstance(args
);
20409 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
= 0;
20411 int arg1
= (int) 0 ;
20412 wxFindReplaceData
*result
= 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char * kwnames
[] = {
20417 (char *) "flags", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20423 if (!SWIG_IsOK(ecode1
)) {
20424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20426 arg1
= static_cast< int >(val1
);
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20441 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20442 PyObject
*resultobj
= 0;
20443 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20446 PyObject
*swig_obj
[1] ;
20448 if (!args
) SWIG_fail
;
20449 swig_obj
[0] = args
;
20450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20451 if (!SWIG_IsOK(res1
)) {
20452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20454 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_Py_Void();
20469 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20470 PyObject
*resultobj
= 0;
20471 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20472 wxString
*result
= 0 ;
20475 PyObject
*swig_obj
[1] ;
20477 if (!args
) SWIG_fail
;
20478 swig_obj
[0] = args
;
20479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20483 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 wxString
const &_result_ref
= (arg1
)->GetFindString();
20488 result
= (wxString
*) &_result_ref
;
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20497 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20506 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20507 PyObject
*resultobj
= 0;
20508 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20509 wxString
*result
= 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20520 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20525 result
= (wxString
*) &_result_ref
;
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20543 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 PyObject
*resultobj
= 0;
20545 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20549 PyObject
*swig_obj
[1] ;
20551 if (!args
) SWIG_fail
;
20552 swig_obj
[0] = args
;
20553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20554 if (!SWIG_IsOK(res1
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20557 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (int)(arg1
)->GetFlags();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_From_int(static_cast< int >(result
));
20571 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= 0;
20573 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char * kwnames
[] = {
20582 (char *) "self",(char *) "flags", NULL
20585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20587 if (!SWIG_IsOK(res1
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20590 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20592 if (!SWIG_IsOK(ecode2
)) {
20593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20595 arg2
= static_cast< int >(val2
);
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 (arg1
)->SetFlags(arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_Py_Void();
20609 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
= 0;
20611 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20612 wxString
*arg2
= 0 ;
20615 bool temp2
= false ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 char * kwnames
[] = {
20619 (char *) "self",(char *) "str", NULL
20622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20624 if (!SWIG_IsOK(res1
)) {
20625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20627 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20629 arg2
= wxString_in_helper(obj1
);
20630 if (arg2
== NULL
) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 (arg1
)->SetFindString((wxString
const &)*arg2
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_Py_Void();
20654 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
= 0;
20656 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20657 wxString
*arg2
= 0 ;
20660 bool temp2
= false ;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 char * kwnames
[] = {
20664 (char *) "self",(char *) "str", NULL
20667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20669 if (!SWIG_IsOK(res1
)) {
20670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20672 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20674 arg2
= wxString_in_helper(obj1
);
20675 if (arg2
== NULL
) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_Py_Void();
20699 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20702 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20703 return SWIG_Py_Void();
20706 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20707 return SWIG_Python_InitShadowInstance(args
);
20710 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
= 0;
20712 wxWindow
*arg1
= (wxWindow
*) 0 ;
20713 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20714 wxString
*arg3
= 0 ;
20715 int arg4
= (int) 0 ;
20716 wxFindReplaceDialog
*result
= 0 ;
20721 bool temp3
= false ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20726 PyObject
* obj2
= 0 ;
20727 PyObject
* obj3
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20737 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20739 if (!SWIG_IsOK(res2
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20742 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20744 arg3
= wxString_in_helper(obj2
);
20745 if (arg3
== NULL
) SWIG_fail
;
20749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20750 if (!SWIG_IsOK(ecode4
)) {
20751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20753 arg4
= static_cast< int >(val4
);
20756 if (!wxPyCheckForApp()) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20777 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 PyObject
*resultobj
= 0;
20779 wxFindReplaceDialog
*result
= 0 ;
20781 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20783 if (!wxPyCheckForApp()) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20796 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
= 0;
20798 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20799 wxWindow
*arg2
= (wxWindow
*) 0 ;
20800 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20801 wxString
*arg4
= 0 ;
20802 int arg5
= (int) 0 ;
20810 bool temp4
= false ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 PyObject
* obj2
= 0 ;
20816 PyObject
* obj3
= 0 ;
20817 PyObject
* obj4
= 0 ;
20818 char * kwnames
[] = {
20819 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20824 if (!SWIG_IsOK(res1
)) {
20825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20827 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20829 if (!SWIG_IsOK(res2
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20834 if (!SWIG_IsOK(res3
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20837 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20839 arg4
= wxString_in_helper(obj3
);
20840 if (arg4
== NULL
) SWIG_fail
;
20844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20845 if (!SWIG_IsOK(ecode5
)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20848 arg5
= static_cast< int >(val5
);
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20873 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20874 PyObject
*resultobj
= 0;
20875 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20876 wxFindReplaceData
*result
= 0 ;
20879 PyObject
*swig_obj
[1] ;
20881 if (!args
) SWIG_fail
;
20882 swig_obj
[0] = args
;
20883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20884 if (!SWIG_IsOK(res1
)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20887 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20901 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
= 0;
20903 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20904 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 char * kwnames
[] = {
20912 (char *) "self",(char *) "data", NULL
20915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20917 if (!SWIG_IsOK(res1
)) {
20918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20920 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20922 if (!SWIG_IsOK(res2
)) {
20923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20925 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 (arg1
)->SetData(arg2
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_Py_Void();
20939 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20942 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20943 return SWIG_Py_Void();
20946 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20947 return SWIG_Python_InitShadowInstance(args
);
20950 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
= 0;
20952 wxWindow
*arg1
= (wxWindow
*) 0 ;
20953 int arg2
= (int) (int)-1 ;
20954 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20955 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20960 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20961 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20962 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20963 wxMDIParentFrame
*result
= 0 ;
20968 bool temp3
= false ;
20973 bool temp7
= false ;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 PyObject
* obj2
= 0 ;
20977 PyObject
* obj3
= 0 ;
20978 PyObject
* obj4
= 0 ;
20979 PyObject
* obj5
= 0 ;
20980 PyObject
* obj6
= 0 ;
20981 char * kwnames
[] = {
20982 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20987 if (!SWIG_IsOK(res1
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20993 if (!SWIG_IsOK(ecode2
)) {
20994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20996 arg2
= static_cast< int >(val2
);
21000 arg3
= wxString_in_helper(obj2
);
21001 if (arg3
== NULL
) SWIG_fail
;
21008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21019 if (!SWIG_IsOK(ecode6
)) {
21020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
21022 arg6
= static_cast< long >(val6
);
21026 arg7
= wxString_in_helper(obj6
);
21027 if (arg7
== NULL
) SWIG_fail
;
21032 if (!wxPyCheckForApp()) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
21061 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21062 PyObject
*resultobj
= 0;
21063 wxMDIParentFrame
*result
= 0 ;
21065 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
21067 if (!wxPyCheckForApp()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
21080 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
= 0;
21082 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21083 wxWindow
*arg2
= (wxWindow
*) 0 ;
21084 int arg3
= (int) (int)-1 ;
21085 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21086 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21087 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21088 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21089 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21090 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21091 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
21092 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21101 bool temp4
= false ;
21106 bool temp8
= false ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 PyObject
* obj2
= 0 ;
21110 PyObject
* obj3
= 0 ;
21111 PyObject
* obj4
= 0 ;
21112 PyObject
* obj5
= 0 ;
21113 PyObject
* obj6
= 0 ;
21114 PyObject
* obj7
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21124 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21126 if (!SWIG_IsOK(res2
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21132 if (!SWIG_IsOK(ecode3
)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21135 arg3
= static_cast< int >(val3
);
21139 arg4
= wxString_in_helper(obj3
);
21140 if (arg4
== NULL
) SWIG_fail
;
21147 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21153 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21157 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21158 if (!SWIG_IsOK(ecode7
)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21161 arg7
= static_cast< long >(val7
);
21165 arg8
= wxString_in_helper(obj7
);
21166 if (arg8
== NULL
) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21201 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 PyObject
*resultobj
= 0;
21203 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21206 PyObject
*swig_obj
[1] ;
21208 if (!args
) SWIG_fail
;
21209 swig_obj
[0] = args
;
21210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21214 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 (arg1
)->ActivateNext();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 resultobj
= SWIG_Py_Void();
21228 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21229 PyObject
*resultobj
= 0;
21230 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21233 PyObject
*swig_obj
[1] ;
21235 if (!args
) SWIG_fail
;
21236 swig_obj
[0] = args
;
21237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21238 if (!SWIG_IsOK(res1
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21241 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 (arg1
)->ActivatePrevious();
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= SWIG_Py_Void();
21255 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21256 PyObject
*resultobj
= 0;
21257 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21260 PyObject
*swig_obj
[1] ;
21262 if (!args
) SWIG_fail
;
21263 swig_obj
[0] = args
;
21264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21265 if (!SWIG_IsOK(res1
)) {
21266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21268 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 (arg1
)->ArrangeIcons();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_Py_Void();
21282 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21283 PyObject
*resultobj
= 0;
21284 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21287 PyObject
*swig_obj
[1] ;
21289 if (!args
) SWIG_fail
;
21290 swig_obj
[0] = args
;
21291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21295 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_Py_Void();
21309 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 PyObject
*resultobj
= 0;
21311 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21312 wxMDIChildFrame
*result
= 0 ;
21315 PyObject
*swig_obj
[1] ;
21317 if (!args
) SWIG_fail
;
21318 swig_obj
[0] = args
;
21319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21323 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21339 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21340 PyObject
*resultobj
= 0;
21341 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21342 wxMDIClientWindow
*result
= 0 ;
21345 PyObject
*swig_obj
[1] ;
21347 if (!args
) SWIG_fail
;
21348 swig_obj
[0] = args
;
21349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21350 if (!SWIG_IsOK(res1
)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21353 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21369 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21370 PyObject
*resultobj
= 0;
21371 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21372 wxMenu
*result
= 0 ;
21375 PyObject
*swig_obj
[1] ;
21377 if (!args
) SWIG_fail
;
21378 swig_obj
[0] = args
;
21379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21380 if (!SWIG_IsOK(res1
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21383 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= wxPyMake_wxObject(result
, 0);
21399 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
= 0;
21401 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21402 wxMenu
*arg2
= (wxMenu
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char * kwnames
[] = {
21410 (char *) "self",(char *) "menu", NULL
21413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21415 if (!SWIG_IsOK(res1
)) {
21416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21418 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21420 if (!SWIG_IsOK(res2
)) {
21421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21423 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetWindowMenu(arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_Py_Void();
21437 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21440 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "orient", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21456 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21459 if (!SWIG_IsOK(ecode2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21462 arg2
= static_cast< wxOrientation
>(val2
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 (arg1
)->Tile(arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_Py_Void();
21477 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21480 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21481 return SWIG_Py_Void();
21484 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21485 return SWIG_Python_InitShadowInstance(args
);
21488 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= 0;
21490 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21491 int arg2
= (int) (int)-1 ;
21492 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21493 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21498 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21499 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21500 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21501 wxMDIChildFrame
*result
= 0 ;
21506 bool temp3
= false ;
21511 bool temp7
= false ;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 PyObject
* obj2
= 0 ;
21515 PyObject
* obj3
= 0 ;
21516 PyObject
* obj4
= 0 ;
21517 PyObject
* obj5
= 0 ;
21518 PyObject
* obj6
= 0 ;
21519 char * kwnames
[] = {
21520 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21525 if (!SWIG_IsOK(res1
)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21528 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21531 if (!SWIG_IsOK(ecode2
)) {
21532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21534 arg2
= static_cast< int >(val2
);
21538 arg3
= wxString_in_helper(obj2
);
21539 if (arg3
== NULL
) SWIG_fail
;
21546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21556 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21557 if (!SWIG_IsOK(ecode6
)) {
21558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21560 arg6
= static_cast< long >(val6
);
21564 arg7
= wxString_in_helper(obj6
);
21565 if (arg7
== NULL
) SWIG_fail
;
21570 if (!wxPyCheckForApp()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21599 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21600 PyObject
*resultobj
= 0;
21601 wxMDIChildFrame
*result
= 0 ;
21603 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21605 if (!wxPyCheckForApp()) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21618 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= 0;
21620 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21621 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21622 int arg3
= (int) (int)-1 ;
21623 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21624 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21625 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21626 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21627 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21628 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21629 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21630 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21631 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21639 bool temp4
= false ;
21644 bool temp8
= false ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 PyObject
* obj2
= 0 ;
21648 PyObject
* obj3
= 0 ;
21649 PyObject
* obj4
= 0 ;
21650 PyObject
* obj5
= 0 ;
21651 PyObject
* obj6
= 0 ;
21652 PyObject
* obj7
= 0 ;
21653 char * kwnames
[] = {
21654 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21659 if (!SWIG_IsOK(res1
)) {
21660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21662 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21664 if (!SWIG_IsOK(res2
)) {
21665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21667 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21670 if (!SWIG_IsOK(ecode3
)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21673 arg3
= static_cast< int >(val3
);
21677 arg4
= wxString_in_helper(obj3
);
21678 if (arg4
== NULL
) SWIG_fail
;
21685 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21691 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21695 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21696 if (!SWIG_IsOK(ecode7
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21699 arg7
= static_cast< long >(val7
);
21703 arg8
= wxString_in_helper(obj7
);
21704 if (arg8
== NULL
) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21739 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 PyObject
*resultobj
= 0;
21741 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21744 PyObject
*swig_obj
[1] ;
21746 if (!args
) SWIG_fail
;
21747 swig_obj
[0] = args
;
21748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21749 if (!SWIG_IsOK(res1
)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21752 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->Activate();
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_Py_Void();
21766 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21770 return SWIG_Py_Void();
21773 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21774 return SWIG_Python_InitShadowInstance(args
);
21777 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
= 0;
21779 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21780 long arg2
= (long) 0 ;
21781 wxMDIClientWindow
*result
= 0 ;
21786 PyObject
* obj0
= 0 ;
21787 PyObject
* obj1
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "parent",(char *) "style", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21797 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21799 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21800 if (!SWIG_IsOK(ecode2
)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21803 arg2
= static_cast< long >(val2
);
21806 if (!wxPyCheckForApp()) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21819 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21820 PyObject
*resultobj
= 0;
21821 wxMDIClientWindow
*result
= 0 ;
21823 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21825 if (!wxPyCheckForApp()) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21838 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
= 0;
21840 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21841 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21842 long arg3
= (long) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 PyObject
* obj2
= 0 ;
21853 char * kwnames
[] = {
21854 (char *) "self",(char *) "parent",(char *) "style", NULL
21857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21862 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21864 if (!SWIG_IsOK(res2
)) {
21865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21867 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21869 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21870 if (!SWIG_IsOK(ecode3
)) {
21871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21873 arg3
= static_cast< long >(val3
);
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21890 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21893 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21894 return SWIG_Py_Void();
21897 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21898 return SWIG_Python_InitShadowInstance(args
);
21901 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
= 0;
21903 wxWindow
*arg1
= (wxWindow
*) 0 ;
21904 int arg2
= (int) (int)-1 ;
21905 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21906 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21907 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21908 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21909 long arg5
= (long) 0 ;
21910 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21911 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21912 wxPyWindow
*result
= 0 ;
21921 bool temp6
= false ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 PyObject
* obj3
= 0 ;
21926 PyObject
* obj4
= 0 ;
21927 PyObject
* obj5
= 0 ;
21928 char * kwnames
[] = {
21929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21934 if (!SWIG_IsOK(res1
)) {
21935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21940 if (!SWIG_IsOK(ecode2
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21943 arg2
= static_cast< int >(val2
);
21948 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21954 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21958 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21959 if (!SWIG_IsOK(ecode5
)) {
21960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21962 arg5
= static_cast< long >(val5
);
21966 arg6
= wxString_in_helper(obj5
);
21967 if (arg6
== NULL
) SWIG_fail
;
21972 if (!wxPyCheckForApp()) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21993 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21994 PyObject
*resultobj
= 0;
21995 wxPyWindow
*result
= 0 ;
21997 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21999 if (!wxPyCheckForApp()) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (wxPyWindow
*)new wxPyWindow();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
22012 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
= 0;
22014 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22015 PyObject
*arg2
= (PyObject
*) 0 ;
22016 PyObject
*arg3
= (PyObject
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 PyObject
* obj2
= 0 ;
22022 char * kwnames
[] = {
22023 (char *) "self",(char *) "self",(char *) "_class", NULL
22026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22031 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_Py_Void();
22047 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
= 0;
22049 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22050 wxDC
*arg2
= (wxDC
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char * kwnames
[] = {
22059 (char *) "self",(char *) "dc", NULL
22062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22064 if (!SWIG_IsOK(res1
)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22067 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22068 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22069 if (!SWIG_IsOK(res2
)) {
22070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22072 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
= 0;
22090 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 PyObject
* obj3
= 0 ;
22109 PyObject
* obj4
= 0 ;
22110 char * kwnames
[] = {
22111 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22119 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22121 if (!SWIG_IsOK(ecode2
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22124 arg2
= static_cast< int >(val2
);
22125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22126 if (!SWIG_IsOK(ecode3
)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22129 arg3
= static_cast< int >(val3
);
22130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22131 if (!SWIG_IsOK(ecode4
)) {
22132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22134 arg4
= static_cast< int >(val4
);
22135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22136 if (!SWIG_IsOK(ecode5
)) {
22137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22139 arg5
= static_cast< int >(val5
);
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= SWIG_Py_Void();
22153 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
= 0;
22155 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22160 int arg6
= (int) wxSIZE_AUTO
;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 PyObject
* obj2
= 0 ;
22176 PyObject
* obj3
= 0 ;
22177 PyObject
* obj4
= 0 ;
22178 PyObject
* obj5
= 0 ;
22179 char * kwnames
[] = {
22180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22188 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22190 if (!SWIG_IsOK(ecode2
)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22193 arg2
= static_cast< int >(val2
);
22194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22195 if (!SWIG_IsOK(ecode3
)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22198 arg3
= static_cast< int >(val3
);
22199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22200 if (!SWIG_IsOK(ecode4
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22203 arg4
= static_cast< int >(val4
);
22204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22205 if (!SWIG_IsOK(ecode5
)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22208 arg5
= static_cast< int >(val5
);
22210 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22211 if (!SWIG_IsOK(ecode6
)) {
22212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22214 arg6
= static_cast< int >(val6
);
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= SWIG_Py_Void();
22229 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= 0;
22231 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char * kwnames
[] = {
22244 (char *) "self",(char *) "width",(char *) "height", NULL
22247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22252 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22254 if (!SWIG_IsOK(ecode2
)) {
22255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22257 arg2
= static_cast< int >(val2
);
22258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22259 if (!SWIG_IsOK(ecode3
)) {
22260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22262 arg3
= static_cast< int >(val3
);
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->DoSetClientSize(arg2
,arg3
);
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= SWIG_Py_Void();
22276 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
= 0;
22278 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 PyObject
* obj1
= 0 ;
22289 PyObject
* obj2
= 0 ;
22290 char * kwnames
[] = {
22291 (char *) "self",(char *) "x",(char *) "y", NULL
22294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22296 if (!SWIG_IsOK(res1
)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22299 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22301 if (!SWIG_IsOK(ecode2
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22304 arg2
= static_cast< int >(val2
);
22305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22306 if (!SWIG_IsOK(ecode3
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22309 arg3
= static_cast< int >(val3
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_Py_Void();
22323 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22324 PyObject
*resultobj
= 0;
22325 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22326 int *arg2
= (int *) 0 ;
22327 int *arg3
= (int *) 0 ;
22331 int res2
= SWIG_TMPOBJ
;
22333 int res3
= SWIG_TMPOBJ
;
22334 PyObject
*swig_obj
[1] ;
22338 if (!args
) SWIG_fail
;
22339 swig_obj
[0] = args
;
22340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22341 if (!SWIG_IsOK(res1
)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22344 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_Py_Void();
22352 if (SWIG_IsTmpObj(res2
)) {
22353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22355 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22358 if (SWIG_IsTmpObj(res3
)) {
22359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22361 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22370 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22371 PyObject
*resultobj
= 0;
22372 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22373 int *arg2
= (int *) 0 ;
22374 int *arg3
= (int *) 0 ;
22378 int res2
= SWIG_TMPOBJ
;
22380 int res3
= SWIG_TMPOBJ
;
22381 PyObject
*swig_obj
[1] ;
22385 if (!args
) SWIG_fail
;
22386 swig_obj
[0] = args
;
22387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22388 if (!SWIG_IsOK(res1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22391 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_Py_Void();
22399 if (SWIG_IsTmpObj(res2
)) {
22400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22402 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22405 if (SWIG_IsTmpObj(res3
)) {
22406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22408 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22417 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22418 PyObject
*resultobj
= 0;
22419 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22420 int *arg2
= (int *) 0 ;
22421 int *arg3
= (int *) 0 ;
22425 int res2
= SWIG_TMPOBJ
;
22427 int res3
= SWIG_TMPOBJ
;
22428 PyObject
*swig_obj
[1] ;
22432 if (!args
) SWIG_fail
;
22433 swig_obj
[0] = args
;
22434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22435 if (!SWIG_IsOK(res1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22438 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_Py_Void();
22446 if (SWIG_IsTmpObj(res2
)) {
22447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22449 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22452 if (SWIG_IsTmpObj(res3
)) {
22453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22455 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22464 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22465 PyObject
*resultobj
= 0;
22466 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22470 PyObject
*swig_obj
[1] ;
22472 if (!args
) SWIG_fail
;
22473 swig_obj
[0] = args
;
22474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22475 if (!SWIG_IsOK(res1
)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22478 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22492 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22493 PyObject
*resultobj
= 0;
22494 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22498 PyObject
*swig_obj
[1] ;
22500 if (!args
) SWIG_fail
;
22501 swig_obj
[0] = args
;
22502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22503 if (!SWIG_IsOK(res1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22506 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22520 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22521 PyObject
*resultobj
= 0;
22522 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22523 SwigValueWrapper
<wxVisualAttributes
> result
;
22526 PyObject
*swig_obj
[1] ;
22528 if (!args
) SWIG_fail
;
22529 swig_obj
[0] = args
;
22530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22534 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 result
= (arg1
)->GetDefaultAttributes();
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22548 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22549 PyObject
*resultobj
= 0;
22550 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22553 PyObject
*swig_obj
[1] ;
22555 if (!args
) SWIG_fail
;
22556 swig_obj
[0] = args
;
22557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22558 if (!SWIG_IsOK(res1
)) {
22559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22561 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->OnInternalIdle();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_Py_Void();
22575 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22578 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22579 return SWIG_Py_Void();
22582 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22583 return SWIG_Python_InitShadowInstance(args
);
22586 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
= 0;
22588 wxWindow
*arg1
= (wxWindow
*) 0 ;
22589 int arg2
= (int) (int)-1 ;
22590 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22591 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22592 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22593 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22594 long arg5
= (long) 0 ;
22595 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22596 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22597 wxPyPanel
*result
= 0 ;
22606 bool temp6
= false ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 PyObject
* obj2
= 0 ;
22610 PyObject
* obj3
= 0 ;
22611 PyObject
* obj4
= 0 ;
22612 PyObject
* obj5
= 0 ;
22613 char * kwnames
[] = {
22614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22625 if (!SWIG_IsOK(ecode2
)) {
22626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22628 arg2
= static_cast< int >(val2
);
22633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22643 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22644 if (!SWIG_IsOK(ecode5
)) {
22645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22647 arg5
= static_cast< long >(val5
);
22651 arg6
= wxString_in_helper(obj5
);
22652 if (arg6
== NULL
) SWIG_fail
;
22657 if (!wxPyCheckForApp()) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22678 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22679 PyObject
*resultobj
= 0;
22680 wxPyPanel
*result
= 0 ;
22682 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22684 if (!wxPyCheckForApp()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (wxPyPanel
*)new wxPyPanel();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22697 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
= 0;
22699 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22700 PyObject
*arg2
= (PyObject
*) 0 ;
22701 PyObject
*arg3
= (PyObject
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 char * kwnames
[] = {
22708 (char *) "self",(char *) "self",(char *) "_class", NULL
22711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22713 if (!SWIG_IsOK(res1
)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22716 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_Py_Void();
22732 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= 0;
22734 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22735 wxDC
*arg2
= (wxDC
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 PyObject
* obj1
= 0 ;
22743 char * kwnames
[] = {
22744 (char *) "self",(char *) "dc", NULL
22747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22749 if (!SWIG_IsOK(res1
)) {
22750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22752 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22754 if (!SWIG_IsOK(res2
)) {
22755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22757 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22773 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
= 0;
22775 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 PyObject
* obj2
= 0 ;
22793 PyObject
* obj3
= 0 ;
22794 PyObject
* obj4
= 0 ;
22795 char * kwnames
[] = {
22796 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22804 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22806 if (!SWIG_IsOK(ecode2
)) {
22807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22809 arg2
= static_cast< int >(val2
);
22810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22811 if (!SWIG_IsOK(ecode3
)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22814 arg3
= static_cast< int >(val3
);
22815 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22816 if (!SWIG_IsOK(ecode4
)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22819 arg4
= static_cast< int >(val4
);
22820 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22821 if (!SWIG_IsOK(ecode5
)) {
22822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22824 arg5
= static_cast< int >(val5
);
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_Py_Void();
22838 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
= 0;
22840 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22845 int arg6
= (int) wxSIZE_AUTO
;
22858 PyObject
* obj0
= 0 ;
22859 PyObject
* obj1
= 0 ;
22860 PyObject
* obj2
= 0 ;
22861 PyObject
* obj3
= 0 ;
22862 PyObject
* obj4
= 0 ;
22863 PyObject
* obj5
= 0 ;
22864 char * kwnames
[] = {
22865 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22870 if (!SWIG_IsOK(res1
)) {
22871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22873 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22875 if (!SWIG_IsOK(ecode2
)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22878 arg2
= static_cast< int >(val2
);
22879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22880 if (!SWIG_IsOK(ecode3
)) {
22881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22883 arg3
= static_cast< int >(val3
);
22884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22885 if (!SWIG_IsOK(ecode4
)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22888 arg4
= static_cast< int >(val4
);
22889 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22890 if (!SWIG_IsOK(ecode5
)) {
22891 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22893 arg5
= static_cast< int >(val5
);
22895 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22896 if (!SWIG_IsOK(ecode6
)) {
22897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22899 arg6
= static_cast< int >(val6
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_Py_Void();
22914 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= 0;
22916 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 PyObject
* obj2
= 0 ;
22928 char * kwnames
[] = {
22929 (char *) "self",(char *) "width",(char *) "height", NULL
22932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22934 if (!SWIG_IsOK(res1
)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22937 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22939 if (!SWIG_IsOK(ecode2
)) {
22940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22942 arg2
= static_cast< int >(val2
);
22943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22944 if (!SWIG_IsOK(ecode3
)) {
22945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22947 arg3
= static_cast< int >(val3
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->DoSetClientSize(arg2
,arg3
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_Py_Void();
22961 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
= 0;
22963 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22972 PyObject
* obj0
= 0 ;
22973 PyObject
* obj1
= 0 ;
22974 PyObject
* obj2
= 0 ;
22975 char * kwnames
[] = {
22976 (char *) "self",(char *) "x",(char *) "y", NULL
22979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22984 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22986 if (!SWIG_IsOK(ecode2
)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22989 arg2
= static_cast< int >(val2
);
22990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22991 if (!SWIG_IsOK(ecode3
)) {
22992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22994 arg3
= static_cast< int >(val3
);
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= SWIG_Py_Void();
23008 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 PyObject
*resultobj
= 0;
23010 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23011 int *arg2
= (int *) 0 ;
23012 int *arg3
= (int *) 0 ;
23016 int res2
= SWIG_TMPOBJ
;
23018 int res3
= SWIG_TMPOBJ
;
23019 PyObject
*swig_obj
[1] ;
23023 if (!args
) SWIG_fail
;
23024 swig_obj
[0] = args
;
23025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23026 if (!SWIG_IsOK(res1
)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23029 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_Py_Void();
23037 if (SWIG_IsTmpObj(res2
)) {
23038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23040 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23043 if (SWIG_IsTmpObj(res3
)) {
23044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23046 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23055 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23056 PyObject
*resultobj
= 0;
23057 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23058 int *arg2
= (int *) 0 ;
23059 int *arg3
= (int *) 0 ;
23063 int res2
= SWIG_TMPOBJ
;
23065 int res3
= SWIG_TMPOBJ
;
23066 PyObject
*swig_obj
[1] ;
23070 if (!args
) SWIG_fail
;
23071 swig_obj
[0] = args
;
23072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23073 if (!SWIG_IsOK(res1
)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23076 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_Py_Void();
23084 if (SWIG_IsTmpObj(res2
)) {
23085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23087 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23090 if (SWIG_IsTmpObj(res3
)) {
23091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23093 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23102 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23105 int *arg2
= (int *) 0 ;
23106 int *arg3
= (int *) 0 ;
23110 int res2
= SWIG_TMPOBJ
;
23112 int res3
= SWIG_TMPOBJ
;
23113 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23123 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_Py_Void();
23131 if (SWIG_IsTmpObj(res2
)) {
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23134 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23137 if (SWIG_IsTmpObj(res3
)) {
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23149 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23150 PyObject
*resultobj
= 0;
23151 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23155 PyObject
*swig_obj
[1] ;
23157 if (!args
) SWIG_fail
;
23158 swig_obj
[0] = args
;
23159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23163 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23177 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23178 PyObject
*resultobj
= 0;
23179 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23183 PyObject
*swig_obj
[1] ;
23185 if (!args
) SWIG_fail
;
23186 swig_obj
[0] = args
;
23187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23191 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23205 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23206 PyObject
*resultobj
= 0;
23207 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23208 SwigValueWrapper
<wxVisualAttributes
> result
;
23211 PyObject
*swig_obj
[1] ;
23213 if (!args
) SWIG_fail
;
23214 swig_obj
[0] = args
;
23215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23216 if (!SWIG_IsOK(res1
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23219 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (arg1
)->GetDefaultAttributes();
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23233 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23234 PyObject
*resultobj
= 0;
23235 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23238 PyObject
*swig_obj
[1] ;
23240 if (!args
) SWIG_fail
;
23241 swig_obj
[0] = args
;
23242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23246 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 (arg1
)->OnInternalIdle();
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_Py_Void();
23260 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23263 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23264 return SWIG_Py_Void();
23267 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 return SWIG_Python_InitShadowInstance(args
);
23271 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
= 0;
23273 wxWindow
*arg1
= (wxWindow
*) 0 ;
23274 int arg2
= (int) (int)-1 ;
23275 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23276 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23277 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23278 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23279 long arg5
= (long) 0 ;
23280 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23281 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23282 wxPyScrolledWindow
*result
= 0 ;
23291 bool temp6
= false ;
23292 PyObject
* obj0
= 0 ;
23293 PyObject
* obj1
= 0 ;
23294 PyObject
* obj2
= 0 ;
23295 PyObject
* obj3
= 0 ;
23296 PyObject
* obj4
= 0 ;
23297 PyObject
* obj5
= 0 ;
23298 char * kwnames
[] = {
23299 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23307 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23310 if (!SWIG_IsOK(ecode2
)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23313 arg2
= static_cast< int >(val2
);
23318 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23324 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23328 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23329 if (!SWIG_IsOK(ecode5
)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23332 arg5
= static_cast< long >(val5
);
23336 arg6
= wxString_in_helper(obj5
);
23337 if (arg6
== NULL
) SWIG_fail
;
23342 if (!wxPyCheckForApp()) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23363 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxPyScrolledWindow
*result
= 0 ;
23367 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23369 if (!wxPyCheckForApp()) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23382 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
= 0;
23384 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23385 PyObject
*arg2
= (PyObject
*) 0 ;
23386 PyObject
*arg3
= (PyObject
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 char * kwnames
[] = {
23393 (char *) "self",(char *) "self",(char *) "_class", NULL
23396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23401 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_Py_Void();
23417 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
= 0;
23419 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23420 wxDC
*arg2
= (wxDC
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 char * kwnames
[] = {
23429 (char *) "self",(char *) "dc", NULL
23432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23434 if (!SWIG_IsOK(res1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23437 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23439 if (!SWIG_IsOK(res2
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23442 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23458 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23475 PyObject
* obj0
= 0 ;
23476 PyObject
* obj1
= 0 ;
23477 PyObject
* obj2
= 0 ;
23478 PyObject
* obj3
= 0 ;
23479 PyObject
* obj4
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23489 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23491 if (!SWIG_IsOK(ecode2
)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23494 arg2
= static_cast< int >(val2
);
23495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23496 if (!SWIG_IsOK(ecode3
)) {
23497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23499 arg3
= static_cast< int >(val3
);
23500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23501 if (!SWIG_IsOK(ecode4
)) {
23502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23504 arg4
= static_cast< int >(val4
);
23505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23506 if (!SWIG_IsOK(ecode5
)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23509 arg5
= static_cast< int >(val5
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_Py_Void();
23523 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= 0;
23525 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23530 int arg6
= (int) wxSIZE_AUTO
;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 PyObject
* obj2
= 0 ;
23546 PyObject
* obj3
= 0 ;
23547 PyObject
* obj4
= 0 ;
23548 PyObject
* obj5
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23558 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23560 if (!SWIG_IsOK(ecode2
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23563 arg2
= static_cast< int >(val2
);
23564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23565 if (!SWIG_IsOK(ecode3
)) {
23566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23568 arg3
= static_cast< int >(val3
);
23569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23570 if (!SWIG_IsOK(ecode4
)) {
23571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23573 arg4
= static_cast< int >(val4
);
23574 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23575 if (!SWIG_IsOK(ecode5
)) {
23576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23578 arg5
= static_cast< int >(val5
);
23580 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23581 if (!SWIG_IsOK(ecode6
)) {
23582 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23584 arg6
= static_cast< int >(val6
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_Py_Void();
23599 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
= 0;
23601 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 PyObject
* obj2
= 0 ;
23613 char * kwnames
[] = {
23614 (char *) "self",(char *) "width",(char *) "height", NULL
23617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23622 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23624 if (!SWIG_IsOK(ecode2
)) {
23625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23627 arg2
= static_cast< int >(val2
);
23628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23629 if (!SWIG_IsOK(ecode3
)) {
23630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23632 arg3
= static_cast< int >(val3
);
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->DoSetClientSize(arg2
,arg3
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= SWIG_Py_Void();
23646 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= 0;
23648 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 PyObject
* obj2
= 0 ;
23660 char * kwnames
[] = {
23661 (char *) "self",(char *) "x",(char *) "y", NULL
23664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23666 if (!SWIG_IsOK(res1
)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23669 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23671 if (!SWIG_IsOK(ecode2
)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23674 arg2
= static_cast< int >(val2
);
23675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23676 if (!SWIG_IsOK(ecode3
)) {
23677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23679 arg3
= static_cast< int >(val3
);
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_Py_Void();
23693 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23694 PyObject
*resultobj
= 0;
23695 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23696 int *arg2
= (int *) 0 ;
23697 int *arg3
= (int *) 0 ;
23701 int res2
= SWIG_TMPOBJ
;
23703 int res3
= SWIG_TMPOBJ
;
23704 PyObject
*swig_obj
[1] ;
23708 if (!args
) SWIG_fail
;
23709 swig_obj
[0] = args
;
23710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23711 if (!SWIG_IsOK(res1
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23714 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_Py_Void();
23722 if (SWIG_IsTmpObj(res2
)) {
23723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23725 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23728 if (SWIG_IsTmpObj(res3
)) {
23729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23731 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23740 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23741 PyObject
*resultobj
= 0;
23742 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23743 int *arg2
= (int *) 0 ;
23744 int *arg3
= (int *) 0 ;
23748 int res2
= SWIG_TMPOBJ
;
23750 int res3
= SWIG_TMPOBJ
;
23751 PyObject
*swig_obj
[1] ;
23755 if (!args
) SWIG_fail
;
23756 swig_obj
[0] = args
;
23757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23758 if (!SWIG_IsOK(res1
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23761 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_Py_Void();
23769 if (SWIG_IsTmpObj(res2
)) {
23770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23772 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23775 if (SWIG_IsTmpObj(res3
)) {
23776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23778 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23787 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23788 PyObject
*resultobj
= 0;
23789 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23790 int *arg2
= (int *) 0 ;
23791 int *arg3
= (int *) 0 ;
23795 int res2
= SWIG_TMPOBJ
;
23797 int res3
= SWIG_TMPOBJ
;
23798 PyObject
*swig_obj
[1] ;
23802 if (!args
) SWIG_fail
;
23803 swig_obj
[0] = args
;
23804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23808 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_Py_Void();
23816 if (SWIG_IsTmpObj(res2
)) {
23817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23819 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23822 if (SWIG_IsTmpObj(res3
)) {
23823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23825 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23834 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23835 PyObject
*resultobj
= 0;
23836 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23840 PyObject
*swig_obj
[1] ;
23842 if (!args
) SWIG_fail
;
23843 swig_obj
[0] = args
;
23844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23845 if (!SWIG_IsOK(res1
)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23848 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23862 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23863 PyObject
*resultobj
= 0;
23864 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23868 PyObject
*swig_obj
[1] ;
23870 if (!args
) SWIG_fail
;
23871 swig_obj
[0] = args
;
23872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23873 if (!SWIG_IsOK(res1
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23876 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23890 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23891 PyObject
*resultobj
= 0;
23892 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23893 SwigValueWrapper
<wxVisualAttributes
> result
;
23896 PyObject
*swig_obj
[1] ;
23898 if (!args
) SWIG_fail
;
23899 swig_obj
[0] = args
;
23900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23904 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (arg1
)->GetDefaultAttributes();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23918 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23919 PyObject
*resultobj
= 0;
23920 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23923 PyObject
*swig_obj
[1] ;
23925 if (!args
) SWIG_fail
;
23926 swig_obj
[0] = args
;
23927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23931 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 (arg1
)->OnInternalIdle();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_Py_Void();
23945 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23948 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23949 return SWIG_Py_Void();
23952 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23953 return SWIG_Python_InitShadowInstance(args
);
23956 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23957 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23962 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23963 PyObject
*pyobj
= 0;
23967 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23969 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23976 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23977 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23982 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23983 PyObject
*pyobj
= 0;
23987 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23989 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23996 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23997 PyObject
*resultobj
= 0;
23998 wxPrintData
*result
= 0 ;
24000 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (wxPrintData
*)new wxPrintData();
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
24014 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24015 PyObject
*resultobj
= 0;
24016 wxPrintData
*arg1
= 0 ;
24017 wxPrintData
*result
= 0 ;
24021 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24029 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
24043 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
24047 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
24050 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
24053 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
24057 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
24062 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24063 PyObject
*resultobj
= 0;
24064 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24067 PyObject
*swig_obj
[1] ;
24069 if (!args
) SWIG_fail
;
24070 swig_obj
[0] = args
;
24071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24075 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= SWIG_Py_Void();
24090 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 PyObject
*resultobj
= 0;
24092 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24096 PyObject
*swig_obj
[1] ;
24098 if (!args
) SWIG_fail
;
24099 swig_obj
[0] = args
;
24100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24104 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (int)(arg1
)->GetNoCopies();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_From_int(static_cast< int >(result
));
24118 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24119 PyObject
*resultobj
= 0;
24120 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24124 PyObject
*swig_obj
[1] ;
24126 if (!args
) SWIG_fail
;
24127 swig_obj
[0] = args
;
24128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24129 if (!SWIG_IsOK(res1
)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24132 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (bool)(arg1
)->GetCollate();
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24148 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24149 PyObject
*resultobj
= 0;
24150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24154 PyObject
*swig_obj
[1] ;
24156 if (!args
) SWIG_fail
;
24157 swig_obj
[0] = args
;
24158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24162 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (int)(arg1
)->GetOrientation();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_From_int(static_cast< int >(result
));
24176 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24177 PyObject
*resultobj
= 0;
24178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24182 PyObject
*swig_obj
[1] ;
24184 if (!args
) SWIG_fail
;
24185 swig_obj
[0] = args
;
24186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24190 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24206 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24207 PyObject
*resultobj
= 0;
24208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24212 PyObject
*swig_obj
[1] ;
24214 if (!args
) SWIG_fail
;
24215 swig_obj
[0] = args
;
24216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24220 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (bool)(arg1
)->IsOk();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24236 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24237 PyObject
*resultobj
= 0;
24238 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24239 wxString
*result
= 0 ;
24242 PyObject
*swig_obj
[1] ;
24244 if (!args
) SWIG_fail
;
24245 swig_obj
[0] = args
;
24246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24247 if (!SWIG_IsOK(res1
)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24250 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24255 result
= (wxString
*) &_result_ref
;
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24273 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24274 PyObject
*resultobj
= 0;
24275 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24279 PyObject
*swig_obj
[1] ;
24281 if (!args
) SWIG_fail
;
24282 swig_obj
[0] = args
;
24283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24287 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)(arg1
)->GetColour();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24303 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24304 PyObject
*resultobj
= 0;
24305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24306 wxDuplexMode result
;
24309 PyObject
*swig_obj
[1] ;
24311 if (!args
) SWIG_fail
;
24312 swig_obj
[0] = args
;
24313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24317 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_From_int(static_cast< int >(result
));
24331 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24332 PyObject
*resultobj
= 0;
24333 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24334 wxPaperSize result
;
24337 PyObject
*swig_obj
[1] ;
24339 if (!args
) SWIG_fail
;
24340 swig_obj
[0] = args
;
24341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24345 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 resultobj
= SWIG_From_int(static_cast< int >(result
));
24359 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24360 PyObject
*resultobj
= 0;
24361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24362 wxSize
*result
= 0 ;
24365 PyObject
*swig_obj
[1] ;
24367 if (!args
) SWIG_fail
;
24368 swig_obj
[0] = args
;
24369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24373 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24378 result
= (wxSize
*) &_result_ref
;
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24390 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24391 PyObject
*resultobj
= 0;
24392 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24396 PyObject
*swig_obj
[1] ;
24398 if (!args
) SWIG_fail
;
24399 swig_obj
[0] = args
;
24400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24401 if (!SWIG_IsOK(res1
)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24404 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (int)(arg1
)->GetQuality();
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= SWIG_From_int(static_cast< int >(result
));
24418 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24419 PyObject
*resultobj
= 0;
24420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24424 PyObject
*swig_obj
[1] ;
24426 if (!args
) SWIG_fail
;
24427 swig_obj
[0] = args
;
24428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24429 if (!SWIG_IsOK(res1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24432 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (wxPrintBin
)(arg1
)->GetBin();
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= SWIG_From_int(static_cast< int >(result
));
24446 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24447 PyObject
*resultobj
= 0;
24448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24449 wxPrintMode result
;
24452 PyObject
*swig_obj
[1] ;
24454 if (!args
) SWIG_fail
;
24455 swig_obj
[0] = args
;
24456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24457 if (!SWIG_IsOK(res1
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24460 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_From_int(static_cast< int >(result
));
24474 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24475 PyObject
*resultobj
= 0;
24476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24480 PyObject
*swig_obj
[1] ;
24482 if (!args
) SWIG_fail
;
24483 swig_obj
[0] = args
;
24484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24485 if (!SWIG_IsOK(res1
)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24488 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_From_int(static_cast< int >(result
));
24502 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
= 0;
24504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 char * kwnames
[] = {
24513 (char *) "self",(char *) "v", NULL
24516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24518 if (!SWIG_IsOK(res1
)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24521 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24523 if (!SWIG_IsOK(ecode2
)) {
24524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24526 arg2
= static_cast< int >(val2
);
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 (arg1
)->SetNoCopies(arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_Py_Void();
24540 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
= 0;
24542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char * kwnames
[] = {
24551 (char *) "self",(char *) "flag", NULL
24554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24559 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24560 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24561 if (!SWIG_IsOK(ecode2
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24564 arg2
= static_cast< bool >(val2
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 (arg1
)->SetCollate(arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_Py_Void();
24578 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
= 0;
24580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char * kwnames
[] = {
24589 (char *) "self",(char *) "orient", NULL
24592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24597 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24599 if (!SWIG_IsOK(ecode2
)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24602 arg2
= static_cast< int >(val2
);
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 (arg1
)->SetOrientation(arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_Py_Void();
24616 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= 0;
24618 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char * kwnames
[] = {
24627 (char *) "self",(char *) "reversed", NULL
24630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24635 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24637 if (!SWIG_IsOK(ecode2
)) {
24638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24640 arg2
= static_cast< bool >(val2
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 (arg1
)->SetOrientationReversed(arg2
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_Py_Void();
24654 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24657 wxString
*arg2
= 0 ;
24660 bool temp2
= false ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 char * kwnames
[] = {
24664 (char *) "self",(char *) "name", NULL
24667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24672 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24674 arg2
= wxString_in_helper(obj1
);
24675 if (arg2
== NULL
) SWIG_fail
;
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "colour", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24718 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24723 arg2
= static_cast< bool >(val2
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->SetColour(arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24740 wxDuplexMode arg2
;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "duplex", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24756 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24758 if (!SWIG_IsOK(ecode2
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24761 arg2
= static_cast< wxDuplexMode
>(val2
);
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->SetDuplex(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_Py_Void();
24775 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
= 0;
24777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char * kwnames
[] = {
24786 (char *) "self",(char *) "sizeId", NULL
24789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24794 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24796 if (!SWIG_IsOK(ecode2
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24799 arg2
= static_cast< wxPaperSize
>(val2
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->SetPaperId(arg2
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_Py_Void();
24813 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= 0;
24815 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "self",(char *) "sz", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24831 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_Py_Void();
24849 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
= 0;
24851 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 char * kwnames
[] = {
24860 (char *) "self",(char *) "quality", NULL
24863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24868 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24870 if (!SWIG_IsOK(ecode2
)) {
24871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24873 arg2
= static_cast< int >(val2
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->SetQuality(arg2
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_Py_Void();
24887 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24889 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char * kwnames
[] = {
24898 (char *) "self",(char *) "bin", NULL
24901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24906 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24908 if (!SWIG_IsOK(ecode2
)) {
24909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24911 arg2
= static_cast< wxPrintBin
>(val2
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->SetBin(arg2
);
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_Py_Void();
24925 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
= 0;
24927 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char * kwnames
[] = {
24936 (char *) "self",(char *) "printMode", NULL
24939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24944 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24946 if (!SWIG_IsOK(ecode2
)) {
24947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24949 arg2
= static_cast< wxPrintMode
>(val2
);
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->SetPrintMode(arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_Py_Void();
24963 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
= 0;
24965 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 char * kwnames
[] = {
24974 (char *) "self",(char *) "media", NULL
24977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24982 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24984 if (!SWIG_IsOK(ecode2
)) {
24985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24987 arg2
= static_cast< int >(val2
);
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->SetMedia(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_Py_Void();
25001 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 PyObject
*resultobj
= 0;
25003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25007 PyObject
*swig_obj
[1] ;
25009 if (!args
) SWIG_fail
;
25010 swig_obj
[0] = args
;
25011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
25015 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= ((wxPrintData
const *)arg1
)->GetFilename();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25035 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
= 0;
25037 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25038 wxString
*arg2
= 0 ;
25041 bool temp2
= false ;
25042 PyObject
* obj0
= 0 ;
25043 PyObject
* obj1
= 0 ;
25044 char * kwnames
[] = {
25045 (char *) "self",(char *) "filename", NULL
25048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
25053 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25055 arg2
= wxString_in_helper(obj1
);
25056 if (arg2
== NULL
) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 (arg1
)->SetFilename((wxString
const &)*arg2
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_Py_Void();
25080 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25081 PyObject
*resultobj
= 0;
25082 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25083 PyObject
*result
= 0 ;
25086 PyObject
*swig_obj
[1] ;
25088 if (!args
) SWIG_fail
;
25089 swig_obj
[0] = args
;
25090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25091 if (!SWIG_IsOK(res1
)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25094 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= result
;
25108 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
= 0;
25110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25111 PyObject
*arg2
= (PyObject
*) 0 ;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 char * kwnames
[] = {
25117 (char *) "self",(char *) "data", NULL
25120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25125 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 wxPrintData_SetPrivData(arg1
,arg2
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_Py_Void();
25140 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
25144 return SWIG_Py_Void();
25147 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25148 return SWIG_Python_InitShadowInstance(args
);
25151 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25152 PyObject
*resultobj
= 0;
25153 wxPageSetupDialogData
*result
= 0 ;
25155 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25169 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25170 PyObject
*resultobj
= 0;
25171 wxPageSetupDialogData
*arg1
= 0 ;
25172 wxPageSetupDialogData
*result
= 0 ;
25176 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25184 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25198 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25199 PyObject
*resultobj
= 0;
25200 wxPrintData
*arg1
= 0 ;
25201 wxPageSetupDialogData
*result
= 0 ;
25205 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25213 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25227 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25231 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25234 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25239 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25240 _v
= SWIG_CheckState(res
);
25242 if (!_v
) goto check_2
;
25243 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25248 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25252 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25257 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25258 PyObject
*resultobj
= 0;
25259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25262 PyObject
*swig_obj
[1] ;
25264 if (!args
) SWIG_fail
;
25265 swig_obj
[0] = args
;
25266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25270 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_Py_Void();
25285 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
= 0;
25287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 char * kwnames
[] = {
25296 (char *) "self",(char *) "flag", NULL
25299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25301 if (!SWIG_IsOK(res1
)) {
25302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25304 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25306 if (!SWIG_IsOK(ecode2
)) {
25307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25309 arg2
= static_cast< bool >(val2
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 (arg1
)->EnableHelp(arg2
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_Py_Void();
25323 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
= 0;
25325 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "self",(char *) "flag", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25342 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25343 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25344 if (!SWIG_IsOK(ecode2
)) {
25345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25347 arg2
= static_cast< bool >(val2
);
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 (arg1
)->EnableMargins(arg2
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_Py_Void();
25361 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
= 0;
25363 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char * kwnames
[] = {
25372 (char *) "self",(char *) "flag", NULL
25375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25377 if (!SWIG_IsOK(res1
)) {
25378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25380 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25382 if (!SWIG_IsOK(ecode2
)) {
25383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25385 arg2
= static_cast< bool >(val2
);
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 (arg1
)->EnableOrientation(arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= SWIG_Py_Void();
25399 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
= 0;
25401 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "self",(char *) "flag", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25418 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25419 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25420 if (!SWIG_IsOK(ecode2
)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25423 arg2
= static_cast< bool >(val2
);
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 (arg1
)->EnablePaper(arg2
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_Py_Void();
25437 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
= 0;
25439 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 char * kwnames
[] = {
25448 (char *) "self",(char *) "flag", NULL
25451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25456 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25457 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25458 if (!SWIG_IsOK(ecode2
)) {
25459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25461 arg2
= static_cast< bool >(val2
);
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->EnablePrinter(arg2
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_Py_Void();
25475 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25476 PyObject
*resultobj
= 0;
25477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25481 PyObject
*swig_obj
[1] ;
25483 if (!args
) SWIG_fail
;
25484 swig_obj
[0] = args
;
25485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25486 if (!SWIG_IsOK(res1
)) {
25487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25489 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (bool)(arg1
)->GetDefaultMinMargins();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25505 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25506 PyObject
*resultobj
= 0;
25507 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25511 PyObject
*swig_obj
[1] ;
25513 if (!args
) SWIG_fail
;
25514 swig_obj
[0] = args
;
25515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25516 if (!SWIG_IsOK(res1
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25519 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= (bool)(arg1
)->GetEnableMargins();
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25535 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25536 PyObject
*resultobj
= 0;
25537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25541 PyObject
*swig_obj
[1] ;
25543 if (!args
) SWIG_fail
;
25544 swig_obj
[0] = args
;
25545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25546 if (!SWIG_IsOK(res1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25549 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (bool)(arg1
)->GetEnableOrientation();
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25565 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25566 PyObject
*resultobj
= 0;
25567 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25571 PyObject
*swig_obj
[1] ;
25573 if (!args
) SWIG_fail
;
25574 swig_obj
[0] = args
;
25575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25576 if (!SWIG_IsOK(res1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25579 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (bool)(arg1
)->GetEnablePaper();
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25595 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25601 PyObject
*swig_obj
[1] ;
25603 if (!args
) SWIG_fail
;
25604 swig_obj
[0] = args
;
25605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25609 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (bool)(arg1
)->GetEnablePrinter();
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25625 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 PyObject
*resultobj
= 0;
25627 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25631 PyObject
*swig_obj
[1] ;
25633 if (!args
) SWIG_fail
;
25634 swig_obj
[0] = args
;
25635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25639 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (bool)(arg1
)->GetEnableHelp();
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25655 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25656 PyObject
*resultobj
= 0;
25657 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25661 PyObject
*swig_obj
[1] ;
25663 if (!args
) SWIG_fail
;
25664 swig_obj
[0] = args
;
25665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25666 if (!SWIG_IsOK(res1
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25669 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (bool)(arg1
)->GetDefaultInfo();
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25685 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25691 PyObject
*swig_obj
[1] ;
25693 if (!args
) SWIG_fail
;
25694 swig_obj
[0] = args
;
25695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25699 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (arg1
)->GetMarginTopLeft();
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25713 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25727 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (arg1
)->GetMarginBottomRight();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25741 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25742 PyObject
*resultobj
= 0;
25743 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25747 PyObject
*swig_obj
[1] ;
25749 if (!args
) SWIG_fail
;
25750 swig_obj
[0] = args
;
25751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25752 if (!SWIG_IsOK(res1
)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25755 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (arg1
)->GetMinMarginTopLeft();
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25769 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25770 PyObject
*resultobj
= 0;
25771 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25775 PyObject
*swig_obj
[1] ;
25777 if (!args
) SWIG_fail
;
25778 swig_obj
[0] = args
;
25779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25780 if (!SWIG_IsOK(res1
)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25783 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (arg1
)->GetMinMarginBottomRight();
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25797 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25798 PyObject
*resultobj
= 0;
25799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25800 wxPaperSize result
;
25803 PyObject
*swig_obj
[1] ;
25805 if (!args
) SWIG_fail
;
25806 swig_obj
[0] = args
;
25807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25811 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_From_int(static_cast< int >(result
));
25825 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25826 PyObject
*resultobj
= 0;
25827 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25831 PyObject
*swig_obj
[1] ;
25833 if (!args
) SWIG_fail
;
25834 swig_obj
[0] = args
;
25835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25839 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (arg1
)->GetPaperSize();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25853 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25854 PyObject
*resultobj
= 0;
25855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25856 wxPrintData
*result
= 0 ;
25859 PyObject
*swig_obj
[1] ;
25861 if (!args
) SWIG_fail
;
25862 swig_obj
[0] = args
;
25863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25864 if (!SWIG_IsOK(res1
)) {
25865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25867 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25872 result
= (wxPrintData
*) &_result_ref
;
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25884 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25885 PyObject
*resultobj
= 0;
25886 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25890 PyObject
*swig_obj
[1] ;
25892 if (!args
) SWIG_fail
;
25893 swig_obj
[0] = args
;
25894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25898 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (bool)(arg1
)->IsOk();
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25914 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
= 0;
25916 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 char * kwnames
[] = {
25925 (char *) "self",(char *) "flag", NULL
25928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25930 if (!SWIG_IsOK(res1
)) {
25931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25933 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25935 if (!SWIG_IsOK(ecode2
)) {
25936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25938 arg2
= static_cast< bool >(val2
);
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->SetDefaultInfo(arg2
);
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_Py_Void();
25952 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
= 0;
25954 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char * kwnames
[] = {
25963 (char *) "self",(char *) "flag", NULL
25966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25971 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25972 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25973 if (!SWIG_IsOK(ecode2
)) {
25974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25976 arg2
= static_cast< bool >(val2
);
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->SetDefaultMinMargins(arg2
);
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_Py_Void();
25990 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= 0;
25992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25993 wxPoint
*arg2
= 0 ;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 char * kwnames
[] = {
26000 (char *) "self",(char *) "pt", NULL
26003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26005 if (!SWIG_IsOK(res1
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26008 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_Py_Void();
26026 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
= 0;
26028 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26029 wxPoint
*arg2
= 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 char * kwnames
[] = {
26036 (char *) "self",(char *) "pt", NULL
26039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26041 if (!SWIG_IsOK(res1
)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26044 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_Py_Void();
26062 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
= 0;
26064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26065 wxPoint
*arg2
= 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 char * kwnames
[] = {
26072 (char *) "self",(char *) "pt", NULL
26075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26077 if (!SWIG_IsOK(res1
)) {
26078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26080 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_Py_Void();
26098 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
= 0;
26100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26101 wxPoint
*arg2
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char * kwnames
[] = {
26108 (char *) "self",(char *) "pt", NULL
26111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26116 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_Py_Void();
26134 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
= 0;
26136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char * kwnames
[] = {
26145 (char *) "self",(char *) "id", NULL
26148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26153 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26155 if (!SWIG_IsOK(ecode2
)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26158 arg2
= static_cast< wxPaperSize
>(val2
);
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->SetPaperId(arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char * kwnames
[] = {
26182 (char *) "self",(char *) "size", NULL
26185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26190 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26193 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_Py_Void();
26208 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
= 0;
26210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26211 wxPrintData
*arg2
= 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 char * kwnames
[] = {
26219 (char *) "self",(char *) "printData", NULL
26222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26227 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26229 if (!SWIG_IsOK(res2
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26235 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_Py_Void();
26249 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26250 PyObject
*resultobj
= 0;
26251 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26254 PyObject
*swig_obj
[1] ;
26256 if (!args
) SWIG_fail
;
26257 swig_obj
[0] = args
;
26258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26259 if (!SWIG_IsOK(res1
)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26262 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 (arg1
)->CalculateIdFromPaperSize();
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= SWIG_Py_Void();
26276 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26277 PyObject
*resultobj
= 0;
26278 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26281 PyObject
*swig_obj
[1] ;
26283 if (!args
) SWIG_fail
;
26284 swig_obj
[0] = args
;
26285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26289 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 (arg1
)->CalculatePaperSizeFromId();
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= SWIG_Py_Void();
26303 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26307 return SWIG_Py_Void();
26310 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26311 return SWIG_Python_InitShadowInstance(args
);
26314 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
= 0;
26316 wxWindow
*arg1
= (wxWindow
*) 0 ;
26317 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26318 wxPageSetupDialog
*result
= 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 char * kwnames
[] = {
26326 (char *) "parent",(char *) "data", NULL
26329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26331 if (!SWIG_IsOK(res1
)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26337 if (!SWIG_IsOK(res2
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26340 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26343 if (!wxPyCheckForApp()) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26356 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26361 PyObject
*swig_obj
[1] ;
26363 if (!args
) SWIG_fail
;
26364 swig_obj
[0] = args
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26369 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 PyObject
*resultobj
= 0;
26386 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26387 wxPageSetupDialogData
*result
= 0 ;
26390 PyObject
*swig_obj
[1] ;
26392 if (!args
) SWIG_fail
;
26393 swig_obj
[0] = args
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26398 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26403 result
= (wxPageSetupDialogData
*) &_result_ref
;
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26415 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26416 PyObject
*resultobj
= 0;
26417 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26418 wxPageSetupDialogData
*result
= 0 ;
26421 PyObject
*swig_obj
[1] ;
26423 if (!args
) SWIG_fail
;
26424 swig_obj
[0] = args
;
26425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26429 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26434 result
= (wxPageSetupDialogData
*) &_result_ref
;
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26446 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26447 PyObject
*resultobj
= 0;
26448 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26452 PyObject
*swig_obj
[1] ;
26454 if (!args
) SWIG_fail
;
26455 swig_obj
[0] = args
;
26456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26457 if (!SWIG_IsOK(res1
)) {
26458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26460 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (int)(arg1
)->ShowModal();
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26467 resultobj
= SWIG_From_int(static_cast< int >(result
));
26474 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26478 return SWIG_Py_Void();
26481 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26482 return SWIG_Python_InitShadowInstance(args
);
26485 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26486 PyObject
*resultobj
= 0;
26487 wxPrintDialogData
*result
= 0 ;
26489 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26503 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26504 PyObject
*resultobj
= 0;
26505 wxPrintData
*arg1
= 0 ;
26506 wxPrintDialogData
*result
= 0 ;
26510 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26512 if (!SWIG_IsOK(res1
)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26518 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26532 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26533 PyObject
*resultobj
= 0;
26534 wxPrintDialogData
*arg1
= 0 ;
26535 wxPrintDialogData
*result
= 0 ;
26539 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26547 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26561 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26565 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26568 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26573 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26574 _v
= SWIG_CheckState(res
);
26576 if (!_v
) goto check_2
;
26577 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26582 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26586 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26591 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26592 PyObject
*resultobj
= 0;
26593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26596 PyObject
*swig_obj
[1] ;
26598 if (!args
) SWIG_fail
;
26599 swig_obj
[0] = args
;
26600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26604 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_Py_Void();
26619 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26620 PyObject
*resultobj
= 0;
26621 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26625 PyObject
*swig_obj
[1] ;
26627 if (!args
) SWIG_fail
;
26628 swig_obj
[0] = args
;
26629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26630 if (!SWIG_IsOK(res1
)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26633 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26636 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= SWIG_From_int(static_cast< int >(result
));
26647 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26648 PyObject
*resultobj
= 0;
26649 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26653 PyObject
*swig_obj
[1] ;
26655 if (!args
) SWIG_fail
;
26656 swig_obj
[0] = args
;
26657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26658 if (!SWIG_IsOK(res1
)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26661 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_From_int(static_cast< int >(result
));
26675 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26676 PyObject
*resultobj
= 0;
26677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26681 PyObject
*swig_obj
[1] ;
26683 if (!args
) SWIG_fail
;
26684 swig_obj
[0] = args
;
26685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26686 if (!SWIG_IsOK(res1
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26689 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= SWIG_From_int(static_cast< int >(result
));
26703 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26704 PyObject
*resultobj
= 0;
26705 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26709 PyObject
*swig_obj
[1] ;
26711 if (!args
) SWIG_fail
;
26712 swig_obj
[0] = args
;
26713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26714 if (!SWIG_IsOK(res1
)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26717 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= SWIG_From_int(static_cast< int >(result
));
26731 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26732 PyObject
*resultobj
= 0;
26733 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26737 PyObject
*swig_obj
[1] ;
26739 if (!args
) SWIG_fail
;
26740 swig_obj
[0] = args
;
26741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26742 if (!SWIG_IsOK(res1
)) {
26743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26745 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_From_int(static_cast< int >(result
));
26759 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26760 PyObject
*resultobj
= 0;
26761 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26765 PyObject
*swig_obj
[1] ;
26767 if (!args
) SWIG_fail
;
26768 swig_obj
[0] = args
;
26769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26773 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26789 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26790 PyObject
*resultobj
= 0;
26791 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26795 PyObject
*swig_obj
[1] ;
26797 if (!args
) SWIG_fail
;
26798 swig_obj
[0] = args
;
26799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26803 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26819 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 PyObject
*resultobj
= 0;
26821 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26825 PyObject
*swig_obj
[1] ;
26827 if (!args
) SWIG_fail
;
26828 swig_obj
[0] = args
;
26829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26833 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26849 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26850 PyObject
*resultobj
= 0;
26851 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26855 PyObject
*swig_obj
[1] ;
26857 if (!args
) SWIG_fail
;
26858 swig_obj
[0] = args
;
26859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26863 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26879 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
= 0;
26881 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char * kwnames
[] = {
26890 (char *) "self",(char *) "v", NULL
26893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26898 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26900 if (!SWIG_IsOK(ecode2
)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26903 arg2
= static_cast< int >(val2
);
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetFromPage(arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_Py_Void();
26917 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
= 0;
26919 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char * kwnames
[] = {
26928 (char *) "self",(char *) "v", NULL
26931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26933 if (!SWIG_IsOK(res1
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26936 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26938 if (!SWIG_IsOK(ecode2
)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26941 arg2
= static_cast< int >(val2
);
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 (arg1
)->SetToPage(arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= SWIG_Py_Void();
26955 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
= 0;
26957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char * kwnames
[] = {
26966 (char *) "self",(char *) "v", NULL
26969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26971 if (!SWIG_IsOK(res1
)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26974 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26976 if (!SWIG_IsOK(ecode2
)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26979 arg2
= static_cast< int >(val2
);
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 (arg1
)->SetMinPage(arg2
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_Py_Void();
26993 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
= 0;
26995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char * kwnames
[] = {
27004 (char *) "self",(char *) "v", NULL
27007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27012 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27014 if (!SWIG_IsOK(ecode2
)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
27017 arg2
= static_cast< int >(val2
);
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->SetMaxPage(arg2
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_Py_Void();
27031 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
= 0;
27033 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char * kwnames
[] = {
27042 (char *) "self",(char *) "v", NULL
27045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27047 if (!SWIG_IsOK(res1
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27050 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27052 if (!SWIG_IsOK(ecode2
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
27055 arg2
= static_cast< int >(val2
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 (arg1
)->SetNoCopies(arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_Py_Void();
27069 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= 0;
27071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char * kwnames
[] = {
27080 (char *) "self",(char *) "flag", NULL
27083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27085 if (!SWIG_IsOK(res1
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27088 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27090 if (!SWIG_IsOK(ecode2
)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27093 arg2
= static_cast< bool >(val2
);
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 (arg1
)->SetAllPages(arg2
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= SWIG_Py_Void();
27107 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
= 0;
27109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 char * kwnames
[] = {
27118 (char *) "self",(char *) "flag", NULL
27121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27126 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27128 if (!SWIG_IsOK(ecode2
)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27131 arg2
= static_cast< bool >(val2
);
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 (arg1
)->SetSelection(arg2
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_Py_Void();
27145 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
= 0;
27147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 char * kwnames
[] = {
27156 (char *) "self",(char *) "flag", NULL
27159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27161 if (!SWIG_IsOK(res1
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27164 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27166 if (!SWIG_IsOK(ecode2
)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27169 arg2
= static_cast< bool >(val2
);
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->SetCollate(arg2
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_Py_Void();
27183 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char * kwnames
[] = {
27194 (char *) "self",(char *) "flag", NULL
27197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27199 if (!SWIG_IsOK(res1
)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27202 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27203 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27204 if (!SWIG_IsOK(ecode2
)) {
27205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27207 arg2
= static_cast< bool >(val2
);
27209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27210 (arg1
)->SetPrintToFile(arg2
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_Py_Void();
27221 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
= 0;
27223 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 char * kwnames
[] = {
27232 (char *) "self",(char *) "flag", NULL
27235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27240 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27241 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27242 if (!SWIG_IsOK(ecode2
)) {
27243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27245 arg2
= static_cast< bool >(val2
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 (arg1
)->EnablePrintToFile(arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_Py_Void();
27259 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
= 0;
27261 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char * kwnames
[] = {
27270 (char *) "self",(char *) "flag", NULL
27273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27275 if (!SWIG_IsOK(res1
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27278 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27280 if (!SWIG_IsOK(ecode2
)) {
27281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27283 arg2
= static_cast< bool >(val2
);
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 (arg1
)->EnableSelection(arg2
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_Py_Void();
27297 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
= 0;
27299 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27305 PyObject
* obj0
= 0 ;
27306 PyObject
* obj1
= 0 ;
27307 char * kwnames
[] = {
27308 (char *) "self",(char *) "flag", NULL
27311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27313 if (!SWIG_IsOK(res1
)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27316 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27318 if (!SWIG_IsOK(ecode2
)) {
27319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27321 arg2
= static_cast< bool >(val2
);
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 (arg1
)->EnablePageNumbers(arg2
);
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= SWIG_Py_Void();
27335 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
= 0;
27337 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27343 PyObject
* obj0
= 0 ;
27344 PyObject
* obj1
= 0 ;
27345 char * kwnames
[] = {
27346 (char *) "self",(char *) "flag", NULL
27349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27351 if (!SWIG_IsOK(res1
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27354 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27356 if (!SWIG_IsOK(ecode2
)) {
27357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27359 arg2
= static_cast< bool >(val2
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 (arg1
)->EnableHelp(arg2
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_Py_Void();
27373 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 PyObject
*resultobj
= 0;
27375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27379 PyObject
*swig_obj
[1] ;
27381 if (!args
) SWIG_fail
;
27382 swig_obj
[0] = args
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27387 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27403 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27404 PyObject
*resultobj
= 0;
27405 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27409 PyObject
*swig_obj
[1] ;
27411 if (!args
) SWIG_fail
;
27412 swig_obj
[0] = args
;
27413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27417 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27433 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27434 PyObject
*resultobj
= 0;
27435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27439 PyObject
*swig_obj
[1] ;
27441 if (!args
) SWIG_fail
;
27442 swig_obj
[0] = args
;
27443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27444 if (!SWIG_IsOK(res1
)) {
27445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27447 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27463 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27464 PyObject
*resultobj
= 0;
27465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27469 PyObject
*swig_obj
[1] ;
27471 if (!args
) SWIG_fail
;
27472 swig_obj
[0] = args
;
27473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27474 if (!SWIG_IsOK(res1
)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27477 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27493 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27494 PyObject
*resultobj
= 0;
27495 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27499 PyObject
*swig_obj
[1] ;
27501 if (!args
) SWIG_fail
;
27502 swig_obj
[0] = args
;
27503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27507 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27523 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27524 PyObject
*resultobj
= 0;
27525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27526 wxPrintData
*result
= 0 ;
27529 PyObject
*swig_obj
[1] ;
27531 if (!args
) SWIG_fail
;
27532 swig_obj
[0] = args
;
27533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27534 if (!SWIG_IsOK(res1
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27537 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27542 result
= (wxPrintData
*) &_result_ref
;
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27554 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
= 0;
27556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27557 wxPrintData
*arg2
= 0 ;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 char * kwnames
[] = {
27565 (char *) "self",(char *) "printData", NULL
27568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27570 if (!SWIG_IsOK(res1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27573 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27575 if (!SWIG_IsOK(res2
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27581 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= SWIG_Py_Void();
27595 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27599 return SWIG_Py_Void();
27602 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27603 return SWIG_Python_InitShadowInstance(args
);
27606 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
= 0;
27608 wxWindow
*arg1
= (wxWindow
*) 0 ;
27609 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27610 wxPrintDialog
*result
= 0 ;
27615 PyObject
* obj0
= 0 ;
27616 PyObject
* obj1
= 0 ;
27617 char * kwnames
[] = {
27618 (char *) "parent",(char *) "data", NULL
27621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27623 if (!SWIG_IsOK(res1
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27629 if (!SWIG_IsOK(res2
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27632 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27635 if (!wxPyCheckForApp()) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27648 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27649 PyObject
*resultobj
= 0;
27650 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27653 PyObject
*swig_obj
[1] ;
27655 if (!args
) SWIG_fail
;
27656 swig_obj
[0] = args
;
27657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27658 if (!SWIG_IsOK(res1
)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27661 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_Py_Void();
27676 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27677 PyObject
*resultobj
= 0;
27678 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27682 PyObject
*swig_obj
[1] ;
27684 if (!args
) SWIG_fail
;
27685 swig_obj
[0] = args
;
27686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27690 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (int)(arg1
)->ShowModal();
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= SWIG_From_int(static_cast< int >(result
));
27704 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27705 PyObject
*resultobj
= 0;
27706 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27707 wxPrintDialogData
*result
= 0 ;
27710 PyObject
*swig_obj
[1] ;
27712 if (!args
) SWIG_fail
;
27713 swig_obj
[0] = args
;
27714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27715 if (!SWIG_IsOK(res1
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27718 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27723 result
= (wxPrintDialogData
*) &_result_ref
;
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27735 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27736 PyObject
*resultobj
= 0;
27737 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27738 wxPrintData
*result
= 0 ;
27741 PyObject
*swig_obj
[1] ;
27743 if (!args
) SWIG_fail
;
27744 swig_obj
[0] = args
;
27745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27746 if (!SWIG_IsOK(res1
)) {
27747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27749 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27754 result
= (wxPrintData
*) &_result_ref
;
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27766 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27767 PyObject
*resultobj
= 0;
27768 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27772 PyObject
*swig_obj
[1] ;
27774 if (!args
) SWIG_fail
;
27775 swig_obj
[0] = args
;
27776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27780 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (wxDC
*)(arg1
)->GetPrintDC();
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27796 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27799 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27800 return SWIG_Py_Void();
27803 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 return SWIG_Python_InitShadowInstance(args
);
27807 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
= 0;
27809 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27810 wxPrinter
*result
= 0 ;
27813 PyObject
* obj0
= 0 ;
27814 char * kwnames
[] = {
27815 (char *) "data", NULL
27818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27821 if (!SWIG_IsOK(res1
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27824 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27827 if (!wxPyCheckForApp()) SWIG_fail
;
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= (wxPrinter
*)new wxPrinter(arg1
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27840 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27841 PyObject
*resultobj
= 0;
27842 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27845 PyObject
*swig_obj
[1] ;
27847 if (!args
) SWIG_fail
;
27848 swig_obj
[0] = args
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27853 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_Py_Void();
27868 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
= 0;
27870 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27871 wxWindow
*arg2
= (wxWindow
*) 0 ;
27872 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27873 wxWindow
*result
= 0 ;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 PyObject
* obj2
= 0 ;
27883 char * kwnames
[] = {
27884 (char *) "self",(char *) "parent",(char *) "printout", NULL
27887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27889 if (!SWIG_IsOK(res1
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27892 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27894 if (!SWIG_IsOK(res2
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27899 if (!SWIG_IsOK(res3
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27902 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= wxPyMake_wxObject(result
, 0);
27918 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
= 0;
27920 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27921 wxWindow
*arg2
= (wxWindow
*) 0 ;
27922 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27923 wxString
*arg4
= 0 ;
27930 bool temp4
= false ;
27931 PyObject
* obj0
= 0 ;
27932 PyObject
* obj1
= 0 ;
27933 PyObject
* obj2
= 0 ;
27934 PyObject
* obj3
= 0 ;
27935 char * kwnames
[] = {
27936 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27941 if (!SWIG_IsOK(res1
)) {
27942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27944 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27946 if (!SWIG_IsOK(res2
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27949 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27950 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27951 if (!SWIG_IsOK(res3
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27954 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27956 arg4
= wxString_in_helper(obj3
);
27957 if (arg4
== NULL
) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_Py_Void();
27981 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
= 0;
27983 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27984 wxWindow
*arg2
= (wxWindow
*) 0 ;
27990 PyObject
* obj0
= 0 ;
27991 PyObject
* obj1
= 0 ;
27992 char * kwnames
[] = {
27993 (char *) "self",(char *) "parent", NULL
27996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
28001 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28003 if (!SWIG_IsOK(res2
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
28006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= (bool)(arg1
)->Setup(arg2
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28022 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
= 0;
28024 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28025 wxWindow
*arg2
= (wxWindow
*) 0 ;
28026 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
28027 bool arg4
= (bool) true ;
28037 PyObject
* obj0
= 0 ;
28038 PyObject
* obj1
= 0 ;
28039 PyObject
* obj2
= 0 ;
28040 PyObject
* obj3
= 0 ;
28041 char * kwnames
[] = {
28042 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
28045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28047 if (!SWIG_IsOK(res1
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
28050 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28051 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28052 if (!SWIG_IsOK(res2
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
28055 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28056 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28057 if (!SWIG_IsOK(res3
)) {
28058 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28060 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
28062 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
28063 if (!SWIG_IsOK(ecode4
)) {
28064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28066 arg4
= static_cast< bool >(val4
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28083 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
= 0;
28085 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28086 wxWindow
*arg2
= (wxWindow
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char * kwnames
[] = {
28095 (char *) "self",(char *) "parent", NULL
28098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28100 if (!SWIG_IsOK(res1
)) {
28101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28103 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28104 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28105 if (!SWIG_IsOK(res2
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28108 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28124 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28125 PyObject
*resultobj
= 0;
28126 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28127 wxPrintDialogData
*result
= 0 ;
28130 PyObject
*swig_obj
[1] ;
28132 if (!args
) SWIG_fail
;
28133 swig_obj
[0] = args
;
28134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28135 if (!SWIG_IsOK(res1
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28138 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
28143 result
= (wxPrintDialogData
*) &_result_ref
;
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28155 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28156 PyObject
*resultobj
= 0;
28157 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28161 PyObject
*swig_obj
[1] ;
28163 if (!args
) SWIG_fail
;
28164 swig_obj
[0] = args
;
28165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28166 if (!SWIG_IsOK(res1
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28169 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (bool)(arg1
)->GetAbort();
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28185 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28186 PyObject
*resultobj
= 0;
28187 wxPrinterError result
;
28189 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (wxPrinterError
)wxPrinter::GetLastError();
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= SWIG_From_int(static_cast< int >(result
));
28203 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28207 return SWIG_Py_Void();
28210 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28211 return SWIG_Python_InitShadowInstance(args
);
28214 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
= 0;
28216 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28217 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28218 wxPyPrintout
*result
= 0 ;
28219 bool temp1
= false ;
28220 PyObject
* obj0
= 0 ;
28221 char * kwnames
[] = {
28222 (char *) "title", NULL
28225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28228 arg1
= wxString_in_helper(obj0
);
28229 if (arg1
== NULL
) SWIG_fail
;
28234 if (!wxPyCheckForApp()) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28255 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28256 PyObject
*resultobj
= 0;
28257 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28260 PyObject
*swig_obj
[1] ;
28262 if (!args
) SWIG_fail
;
28263 swig_obj
[0] = args
;
28264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28268 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= SWIG_Py_Void();
28283 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
= 0;
28285 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28286 PyObject
*arg2
= (PyObject
*) 0 ;
28287 PyObject
*arg3
= (PyObject
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 PyObject
* obj2
= 0 ;
28293 char * kwnames
[] = {
28294 (char *) "self",(char *) "self",(char *) "_class", NULL
28297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28302 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_Py_Void();
28318 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28319 PyObject
*resultobj
= 0;
28320 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28324 PyObject
*swig_obj
[1] ;
28326 if (!args
) SWIG_fail
;
28327 swig_obj
[0] = args
;
28328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28329 if (!SWIG_IsOK(res1
)) {
28330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28332 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28352 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28353 PyObject
*resultobj
= 0;
28354 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28358 PyObject
*swig_obj
[1] ;
28360 if (!args
) SWIG_fail
;
28361 swig_obj
[0] = args
;
28362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28363 if (!SWIG_IsOK(res1
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28366 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (wxDC
*)(arg1
)->GetDC();
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28382 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28383 PyObject
*resultobj
= 0;
28384 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28385 wxDC
*arg2
= (wxDC
*) 0 ;
28390 PyObject
* obj0
= 0 ;
28391 PyObject
* obj1
= 0 ;
28392 char * kwnames
[] = {
28393 (char *) "self",(char *) "dc", NULL
28396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28398 if (!SWIG_IsOK(res1
)) {
28399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28401 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28403 if (!SWIG_IsOK(res2
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28406 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 (arg1
)->SetDC(arg2
);
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_Py_Void();
28420 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
= 0;
28422 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 PyObject
* obj1
= 0 ;
28429 char * kwnames
[] = {
28430 (char *) "self",(char *) "imageSize", NULL
28433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28435 if (!SWIG_IsOK(res1
)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28438 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28441 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_Py_Void();
28456 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
= 0;
28458 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 char * kwnames
[] = {
28466 (char *) "self",(char *) "imageSize", NULL
28469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28471 if (!SWIG_IsOK(res1
)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28474 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_Py_Void();
28492 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
= 0;
28494 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28496 wxPageSetupDialogData
*arg3
= 0 ;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 PyObject
* obj2
= 0 ;
28505 char * kwnames
[] = {
28506 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28514 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28517 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28519 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28520 if (!SWIG_IsOK(res3
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28526 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= SWIG_Py_Void();
28540 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28541 PyObject
*resultobj
= 0;
28542 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28545 PyObject
*swig_obj
[1] ;
28547 if (!args
) SWIG_fail
;
28548 swig_obj
[0] = args
;
28549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28550 if (!SWIG_IsOK(res1
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28553 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 (arg1
)->MapScreenSizeToPaper();
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_Py_Void();
28567 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 PyObject
*resultobj
= 0;
28569 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28572 PyObject
*swig_obj
[1] ;
28574 if (!args
) SWIG_fail
;
28575 swig_obj
[0] = args
;
28576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28577 if (!SWIG_IsOK(res1
)) {
28578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28580 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 (arg1
)->MapScreenSizeToPage();
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_Py_Void();
28594 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
= 0;
28596 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28597 wxPageSetupDialogData
*arg2
= 0 ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char * kwnames
[] = {
28605 (char *) "self",(char *) "pageSetupData", NULL
28608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28613 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28615 if (!SWIG_IsOK(res2
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28621 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= SWIG_Py_Void();
28635 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28636 PyObject
*resultobj
= 0;
28637 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28640 PyObject
*swig_obj
[1] ;
28642 if (!args
) SWIG_fail
;
28643 swig_obj
[0] = args
;
28644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28648 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->MapScreenSizeToDevice();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_Py_Void();
28662 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28676 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28690 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28691 PyObject
*resultobj
= 0;
28692 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28696 PyObject
*swig_obj
[1] ;
28698 if (!args
) SWIG_fail
;
28699 swig_obj
[0] = args
;
28700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28701 if (!SWIG_IsOK(res1
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28704 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28718 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28721 wxPageSetupDialogData
*arg2
= 0 ;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 char * kwnames
[] = {
28730 (char *) "self",(char *) "pageSetupData", NULL
28733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28735 if (!SWIG_IsOK(res1
)) {
28736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28738 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28740 if (!SWIG_IsOK(res2
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28746 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28760 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
= 0;
28762 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 PyObject
* obj2
= 0 ;
28774 char * kwnames
[] = {
28775 (char *) "self",(char *) "x",(char *) "y", NULL
28778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28783 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28785 if (!SWIG_IsOK(ecode2
)) {
28786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28788 arg2
= static_cast< int >(val2
);
28789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28790 if (!SWIG_IsOK(ecode3
)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28793 arg3
= static_cast< int >(val3
);
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= SWIG_Py_Void();
28807 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
= 0;
28809 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 PyObject
* obj2
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28830 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28832 if (!SWIG_IsOK(ecode2
)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28835 arg2
= static_cast< int >(val2
);
28836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28837 if (!SWIG_IsOK(ecode3
)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28840 arg3
= static_cast< int >(val3
);
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_Py_Void();
28854 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
= 0;
28856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 PyObject
* obj2
= 0 ;
28868 char * kwnames
[] = {
28869 (char *) "self",(char *) "w",(char *) "h", NULL
28872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28874 if (!SWIG_IsOK(res1
)) {
28875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28877 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28879 if (!SWIG_IsOK(ecode2
)) {
28880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28882 arg2
= static_cast< int >(val2
);
28883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28884 if (!SWIG_IsOK(ecode3
)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28887 arg3
= static_cast< int >(val3
);
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_Py_Void();
28901 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28902 PyObject
*resultobj
= 0;
28903 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28904 int *arg2
= (int *) 0 ;
28905 int *arg3
= (int *) 0 ;
28909 int res2
= SWIG_TMPOBJ
;
28911 int res3
= SWIG_TMPOBJ
;
28912 PyObject
*swig_obj
[1] ;
28916 if (!args
) SWIG_fail
;
28917 swig_obj
[0] = args
;
28918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28919 if (!SWIG_IsOK(res1
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28922 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= SWIG_Py_Void();
28930 if (SWIG_IsTmpObj(res2
)) {
28931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28933 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28936 if (SWIG_IsTmpObj(res3
)) {
28937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28939 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28948 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
= 0;
28950 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28959 PyObject
* obj0
= 0 ;
28960 PyObject
* obj1
= 0 ;
28961 PyObject
* obj2
= 0 ;
28962 char * kwnames
[] = {
28963 (char *) "self",(char *) "w",(char *) "h", NULL
28966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28971 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28973 if (!SWIG_IsOK(ecode2
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28976 arg2
= static_cast< int >(val2
);
28977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28978 if (!SWIG_IsOK(ecode3
)) {
28979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28981 arg3
= static_cast< int >(val3
);
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_Py_Void();
28995 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28996 PyObject
*resultobj
= 0;
28997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28998 int *arg2
= (int *) 0 ;
28999 int *arg3
= (int *) 0 ;
29003 int res2
= SWIG_TMPOBJ
;
29005 int res3
= SWIG_TMPOBJ
;
29006 PyObject
*swig_obj
[1] ;
29010 if (!args
) SWIG_fail
;
29011 swig_obj
[0] = args
;
29012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29013 if (!SWIG_IsOK(res1
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29016 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 (arg1
)->GetPageSizeMM(arg2
,arg3
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= SWIG_Py_Void();
29024 if (SWIG_IsTmpObj(res2
)) {
29025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29027 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29030 if (SWIG_IsTmpObj(res3
)) {
29031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29033 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29042 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= 0;
29044 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 PyObject
* obj2
= 0 ;
29056 char * kwnames
[] = {
29057 (char *) "self",(char *) "x",(char *) "y", NULL
29060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29065 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29067 if (!SWIG_IsOK(ecode2
)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29070 arg2
= static_cast< int >(val2
);
29071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29072 if (!SWIG_IsOK(ecode3
)) {
29073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29075 arg3
= static_cast< int >(val3
);
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->SetPPIScreen(arg2
,arg3
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_Py_Void();
29089 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29090 PyObject
*resultobj
= 0;
29091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29092 int *arg2
= (int *) 0 ;
29093 int *arg3
= (int *) 0 ;
29097 int res2
= SWIG_TMPOBJ
;
29099 int res3
= SWIG_TMPOBJ
;
29100 PyObject
*swig_obj
[1] ;
29104 if (!args
) SWIG_fail
;
29105 swig_obj
[0] = args
;
29106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29107 if (!SWIG_IsOK(res1
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29110 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 (arg1
)->GetPPIScreen(arg2
,arg3
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_Py_Void();
29118 if (SWIG_IsTmpObj(res2
)) {
29119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29121 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29124 if (SWIG_IsTmpObj(res3
)) {
29125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29127 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29136 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
= 0;
29138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 PyObject
* obj2
= 0 ;
29150 char * kwnames
[] = {
29151 (char *) "self",(char *) "x",(char *) "y", NULL
29154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29156 if (!SWIG_IsOK(res1
)) {
29157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29159 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29161 if (!SWIG_IsOK(ecode2
)) {
29162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29164 arg2
= static_cast< int >(val2
);
29165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29166 if (!SWIG_IsOK(ecode3
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29169 arg3
= static_cast< int >(val3
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 (arg1
)->SetPPIPrinter(arg2
,arg3
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= SWIG_Py_Void();
29183 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29184 PyObject
*resultobj
= 0;
29185 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29186 int *arg2
= (int *) 0 ;
29187 int *arg3
= (int *) 0 ;
29191 int res2
= SWIG_TMPOBJ
;
29193 int res3
= SWIG_TMPOBJ
;
29194 PyObject
*swig_obj
[1] ;
29198 if (!args
) SWIG_fail
;
29199 swig_obj
[0] = args
;
29200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29204 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29212 if (SWIG_IsTmpObj(res2
)) {
29213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29215 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29218 if (SWIG_IsTmpObj(res3
)) {
29219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29221 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29230 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
= 0;
29232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 char * kwnames
[] = {
29240 (char *) "self",(char *) "paperRectPixels", NULL
29243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29248 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29251 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= SWIG_Py_Void();
29266 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29267 PyObject
*resultobj
= 0;
29268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29272 PyObject
*swig_obj
[1] ;
29274 if (!args
) SWIG_fail
;
29275 swig_obj
[0] = args
;
29276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29280 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29294 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29295 PyObject
*resultobj
= 0;
29296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29300 PyObject
*swig_obj
[1] ;
29302 if (!args
) SWIG_fail
;
29303 swig_obj
[0] = args
;
29304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29305 if (!SWIG_IsOK(res1
)) {
29306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29308 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= (bool)(arg1
)->IsPreview();
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29324 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 char * kwnames
[] = {
29335 (char *) "self",(char *) "p", NULL
29338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29340 if (!SWIG_IsOK(res1
)) {
29341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29343 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29345 if (!SWIG_IsOK(ecode2
)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29348 arg2
= static_cast< bool >(val2
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 (arg1
)->SetIsPreview(arg2
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= SWIG_Py_Void();
29362 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29363 PyObject
*resultobj
= 0;
29364 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 PyObject
* obj2
= 0 ;
29377 char * kwnames
[] = {
29378 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29386 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29388 if (!SWIG_IsOK(ecode2
)) {
29389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29391 arg2
= static_cast< int >(val2
);
29392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29393 if (!SWIG_IsOK(ecode3
)) {
29394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29396 arg3
= static_cast< int >(val3
);
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29412 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29413 PyObject
*resultobj
= 0;
29414 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29417 PyObject
*swig_obj
[1] ;
29419 if (!args
) SWIG_fail
;
29420 swig_obj
[0] = args
;
29421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29422 if (!SWIG_IsOK(res1
)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29425 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 (arg1
)->OnEndDocument();
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= SWIG_Py_Void();
29439 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29440 PyObject
*resultobj
= 0;
29441 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29444 PyObject
*swig_obj
[1] ;
29446 if (!args
) SWIG_fail
;
29447 swig_obj
[0] = args
;
29448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29452 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 (arg1
)->OnBeginPrinting();
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_Py_Void();
29466 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29467 PyObject
*resultobj
= 0;
29468 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29471 PyObject
*swig_obj
[1] ;
29473 if (!args
) SWIG_fail
;
29474 swig_obj
[0] = args
;
29475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29476 if (!SWIG_IsOK(res1
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29479 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 (arg1
)->OnEndPrinting();
29483 wxPyEndAllowThreads(__tstate
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= SWIG_Py_Void();
29493 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29494 PyObject
*resultobj
= 0;
29495 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29498 PyObject
*swig_obj
[1] ;
29500 if (!args
) SWIG_fail
;
29501 swig_obj
[0] = args
;
29502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29503 if (!SWIG_IsOK(res1
)) {
29504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29506 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 (arg1
)->OnPreparePrinting();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_Py_Void();
29520 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
= 0;
29522 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 char * kwnames
[] = {
29532 (char *) "self",(char *) "page", NULL
29535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29537 if (!SWIG_IsOK(res1
)) {
29538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29540 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29542 if (!SWIG_IsOK(ecode2
)) {
29543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29545 arg2
= static_cast< int >(val2
);
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (bool)(arg1
)->HasPage(arg2
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29561 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29562 PyObject
*resultobj
= 0;
29563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29564 int *arg2
= (int *) 0 ;
29565 int *arg3
= (int *) 0 ;
29566 int *arg4
= (int *) 0 ;
29567 int *arg5
= (int *) 0 ;
29571 int res2
= SWIG_TMPOBJ
;
29573 int res3
= SWIG_TMPOBJ
;
29575 int res4
= SWIG_TMPOBJ
;
29577 int res5
= SWIG_TMPOBJ
;
29578 PyObject
*swig_obj
[1] ;
29584 if (!args
) SWIG_fail
;
29585 swig_obj
[0] = args
;
29586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29590 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= SWIG_Py_Void();
29598 if (SWIG_IsTmpObj(res2
)) {
29599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29601 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29604 if (SWIG_IsTmpObj(res3
)) {
29605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29607 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29610 if (SWIG_IsTmpObj(res4
)) {
29611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29613 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29616 if (SWIG_IsTmpObj(res5
)) {
29617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29619 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29628 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29631 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29632 return SWIG_Py_Void();
29635 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 return SWIG_Python_InitShadowInstance(args
);
29639 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
= 0;
29641 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29642 wxWindow
*arg2
= (wxWindow
*) 0 ;
29643 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29644 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29645 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29646 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29647 long arg5
= (long) 0 ;
29648 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29649 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29650 wxPreviewCanvas
*result
= 0 ;
29659 bool temp6
= false ;
29660 PyObject
* obj0
= 0 ;
29661 PyObject
* obj1
= 0 ;
29662 PyObject
* obj2
= 0 ;
29663 PyObject
* obj3
= 0 ;
29664 PyObject
* obj4
= 0 ;
29665 PyObject
* obj5
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29675 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29677 if (!SWIG_IsOK(res2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29694 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29695 if (!SWIG_IsOK(ecode5
)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29698 arg5
= static_cast< long >(val5
);
29702 arg6
= wxString_in_helper(obj5
);
29703 if (arg6
== NULL
) SWIG_fail
;
29708 if (!wxPyCheckForApp()) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29729 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29732 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29733 return SWIG_Py_Void();
29736 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29737 return SWIG_Python_InitShadowInstance(args
);
29740 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
= 0;
29742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29743 wxFrame
*arg2
= (wxFrame
*) 0 ;
29744 wxString
*arg3
= 0 ;
29745 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29746 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29747 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29748 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29749 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29750 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29752 wxPreviewFrame
*result
= 0 ;
29756 bool temp3
= false ;
29761 bool temp7
= false ;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 PyObject
* obj2
= 0 ;
29765 PyObject
* obj3
= 0 ;
29766 PyObject
* obj4
= 0 ;
29767 PyObject
* obj5
= 0 ;
29768 PyObject
* obj6
= 0 ;
29769 char * kwnames
[] = {
29770 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29774 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29775 if (!SWIG_IsOK(res1
)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29779 if (!SWIG_IsOK(res2
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29782 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29784 arg3
= wxString_in_helper(obj2
);
29785 if (arg3
== NULL
) SWIG_fail
;
29791 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29797 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29801 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29802 if (!SWIG_IsOK(ecode6
)) {
29803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29805 arg6
= static_cast< long >(val6
);
29809 arg7
= wxString_in_helper(obj6
);
29810 if (arg7
== NULL
) SWIG_fail
;
29815 if (!wxPyCheckForApp()) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29818 wxPyEndAllowThreads(__tstate
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29844 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29845 PyObject
*resultobj
= 0;
29846 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29849 PyObject
*swig_obj
[1] ;
29851 if (!args
) SWIG_fail
;
29852 swig_obj
[0] = args
;
29853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29854 if (!SWIG_IsOK(res1
)) {
29855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29857 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 (arg1
)->Initialize();
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= SWIG_Py_Void();
29871 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29872 PyObject
*resultobj
= 0;
29873 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29876 PyObject
*swig_obj
[1] ;
29878 if (!args
) SWIG_fail
;
29879 swig_obj
[0] = args
;
29880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29884 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 (arg1
)->CreateControlBar();
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= SWIG_Py_Void();
29898 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29899 PyObject
*resultobj
= 0;
29900 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29903 PyObject
*swig_obj
[1] ;
29905 if (!args
) SWIG_fail
;
29906 swig_obj
[0] = args
;
29907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29911 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 (arg1
)->CreateCanvas();
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= SWIG_Py_Void();
29925 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29926 PyObject
*resultobj
= 0;
29927 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29928 wxPreviewControlBar
*result
= 0 ;
29931 PyObject
*swig_obj
[1] ;
29933 if (!args
) SWIG_fail
;
29934 swig_obj
[0] = args
;
29935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29939 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29953 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29957 return SWIG_Py_Void();
29960 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29961 return SWIG_Python_InitShadowInstance(args
);
29964 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
= 0;
29966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29968 wxWindow
*arg3
= (wxWindow
*) 0 ;
29969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29973 long arg6
= (long) wxTAB_TRAVERSAL
;
29974 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29975 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29976 wxPreviewControlBar
*result
= 0 ;
29987 bool temp7
= false ;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 PyObject
* obj2
= 0 ;
29991 PyObject
* obj3
= 0 ;
29992 PyObject
* obj4
= 0 ;
29993 PyObject
* obj5
= 0 ;
29994 PyObject
* obj6
= 0 ;
29995 char * kwnames
[] = {
29996 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30004 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30006 if (!SWIG_IsOK(ecode2
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30009 arg2
= static_cast< long >(val2
);
30010 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30011 if (!SWIG_IsOK(res3
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30014 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30028 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30029 if (!SWIG_IsOK(ecode6
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30032 arg6
= static_cast< long >(val6
);
30036 arg7
= wxString_in_helper(obj6
);
30037 if (arg7
== NULL
) SWIG_fail
;
30042 if (!wxPyCheckForApp()) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30063 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30064 PyObject
*resultobj
= 0;
30065 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30069 PyObject
*swig_obj
[1] ;
30071 if (!args
) SWIG_fail
;
30072 swig_obj
[0] = args
;
30073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30077 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= (int)(arg1
)->GetZoomControl();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 resultobj
= SWIG_From_int(static_cast< int >(result
));
30091 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
= 0;
30093 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30099 PyObject
* obj0
= 0 ;
30100 PyObject
* obj1
= 0 ;
30101 char * kwnames
[] = {
30102 (char *) "self",(char *) "zoom", NULL
30105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30110 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30112 if (!SWIG_IsOK(ecode2
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30115 arg2
= static_cast< int >(val2
);
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 (arg1
)->SetZoomControl(arg2
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_Py_Void();
30129 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30130 PyObject
*resultobj
= 0;
30131 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30132 wxPrintPreview
*result
= 0 ;
30135 PyObject
*swig_obj
[1] ;
30137 if (!args
) SWIG_fail
;
30138 swig_obj
[0] = args
;
30139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30140 if (!SWIG_IsOK(res1
)) {
30141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30143 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30157 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30158 PyObject
*resultobj
= 0;
30159 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30162 PyObject
*swig_obj
[1] ;
30164 if (!args
) SWIG_fail
;
30165 swig_obj
[0] = args
;
30166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30170 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_Py_Void();
30184 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30185 PyObject
*resultobj
= 0;
30186 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30189 PyObject
*swig_obj
[1] ;
30191 if (!args
) SWIG_fail
;
30192 swig_obj
[0] = args
;
30193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30197 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 (arg1
)->OnPrevious();
30201 wxPyEndAllowThreads(__tstate
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 resultobj
= SWIG_Py_Void();
30211 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30212 PyObject
*resultobj
= 0;
30213 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30216 PyObject
*swig_obj
[1] ;
30218 if (!args
) SWIG_fail
;
30219 swig_obj
[0] = args
;
30220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30224 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_Py_Void();
30238 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30239 PyObject
*resultobj
= 0;
30240 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30243 PyObject
*swig_obj
[1] ;
30245 if (!args
) SWIG_fail
;
30246 swig_obj
[0] = args
;
30247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30251 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= SWIG_Py_Void();
30265 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30266 PyObject
*resultobj
= 0;
30267 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30270 PyObject
*swig_obj
[1] ;
30272 if (!args
) SWIG_fail
;
30273 swig_obj
[0] = args
;
30274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30278 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 resultobj
= SWIG_Py_Void();
30292 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30295 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30296 return SWIG_Py_Void();
30299 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30300 return SWIG_Python_InitShadowInstance(args
);
30303 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30304 PyObject
*resultobj
= 0;
30305 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30306 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30307 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30308 wxPrintPreview
*result
= 0 ;
30314 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30315 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30316 if (!SWIG_IsOK(res1
)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30319 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30320 if (!SWIG_IsOK(res2
)) {
30321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30324 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30325 if (!SWIG_IsOK(res3
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30328 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30331 if (!wxPyCheckForApp()) SWIG_fail
;
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30344 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30345 PyObject
*resultobj
= 0;
30346 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30347 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30348 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30349 wxPrintPreview
*result
= 0 ;
30355 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30356 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30360 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30361 if (!SWIG_IsOK(res2
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30364 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30365 if (!SWIG_IsOK(res3
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30368 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30370 if (!wxPyCheckForApp()) SWIG_fail
;
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30383 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30387 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30389 if ((argc
>= 2) && (argc
<= 3)) {
30394 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30395 _v
= SWIG_CheckState(res
);
30397 if (!_v
) goto check_1
;
30399 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30404 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30408 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30413 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30414 PyObject
*resultobj
= 0;
30415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30418 PyObject
*swig_obj
[1] ;
30420 if (!args
) SWIG_fail
;
30421 swig_obj
[0] = args
;
30422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30423 if (!SWIG_IsOK(res1
)) {
30424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30426 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= SWIG_Py_Void();
30441 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= 0;
30443 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30450 PyObject
* obj0
= 0 ;
30451 PyObject
* obj1
= 0 ;
30452 char * kwnames
[] = {
30453 (char *) "self",(char *) "pageNum", NULL
30456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30458 if (!SWIG_IsOK(res1
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30461 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30463 if (!SWIG_IsOK(ecode2
)) {
30464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30466 arg2
= static_cast< int >(val2
);
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30482 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30483 PyObject
*resultobj
= 0;
30484 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30488 PyObject
*swig_obj
[1] ;
30490 if (!args
) SWIG_fail
;
30491 swig_obj
[0] = args
;
30492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30493 if (!SWIG_IsOK(res1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30496 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (int)(arg1
)->GetCurrentPage();
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_From_int(static_cast< int >(result
));
30510 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
= 0;
30512 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30513 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 char * kwnames
[] = {
30520 (char *) "self",(char *) "printout", NULL
30523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30525 if (!SWIG_IsOK(res1
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30528 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30529 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30530 if (!SWIG_IsOK(res2
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 (arg1
)->SetPrintout(arg2
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 resultobj
= SWIG_Py_Void();
30546 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30547 PyObject
*resultobj
= 0;
30548 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30549 wxPyPrintout
*result
= 0 ;
30552 PyObject
*swig_obj
[1] ;
30554 if (!args
) SWIG_fail
;
30555 swig_obj
[0] = args
;
30556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30557 if (!SWIG_IsOK(res1
)) {
30558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30560 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= wxPyMake_wxObject(result
, 0);
30576 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30577 PyObject
*resultobj
= 0;
30578 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30579 wxPyPrintout
*result
= 0 ;
30582 PyObject
*swig_obj
[1] ;
30584 if (!args
) SWIG_fail
;
30585 swig_obj
[0] = args
;
30586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30590 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= wxPyMake_wxObject(result
, 0);
30606 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= 0;
30608 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30609 wxFrame
*arg2
= (wxFrame
*) 0 ;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 char * kwnames
[] = {
30617 (char *) "self",(char *) "frame", NULL
30620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30625 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30627 if (!SWIG_IsOK(res2
)) {
30628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30630 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 (arg1
)->SetFrame(arg2
);
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 resultobj
= SWIG_Py_Void();
30644 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
= 0;
30646 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30647 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30652 PyObject
* obj0
= 0 ;
30653 PyObject
* obj1
= 0 ;
30654 char * kwnames
[] = {
30655 (char *) "self",(char *) "canvas", NULL
30658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30660 if (!SWIG_IsOK(res1
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30663 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30665 if (!SWIG_IsOK(res2
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30668 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 (arg1
)->SetCanvas(arg2
);
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_Py_Void();
30682 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30683 PyObject
*resultobj
= 0;
30684 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30685 wxFrame
*result
= 0 ;
30688 PyObject
*swig_obj
[1] ;
30690 if (!args
) SWIG_fail
;
30691 swig_obj
[0] = args
;
30692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30696 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 result
= (wxFrame
*)(arg1
)->GetFrame();
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= wxPyMake_wxObject(result
, 0);
30712 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30713 PyObject
*resultobj
= 0;
30714 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30715 wxPreviewCanvas
*result
= 0 ;
30718 PyObject
*swig_obj
[1] ;
30720 if (!args
) SWIG_fail
;
30721 swig_obj
[0] = args
;
30722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30723 if (!SWIG_IsOK(res1
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30726 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30740 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
= 0;
30742 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30743 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30752 PyObject
* obj0
= 0 ;
30753 PyObject
* obj1
= 0 ;
30754 PyObject
* obj2
= 0 ;
30755 char * kwnames
[] = {
30756 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30761 if (!SWIG_IsOK(res1
)) {
30762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30764 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30766 if (!SWIG_IsOK(res2
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30769 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30770 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30771 if (!SWIG_IsOK(res3
)) {
30772 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30777 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30793 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
= 0;
30795 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30796 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30805 PyObject
* obj0
= 0 ;
30806 PyObject
* obj1
= 0 ;
30807 PyObject
* obj2
= 0 ;
30808 char * kwnames
[] = {
30809 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30814 if (!SWIG_IsOK(res1
)) {
30815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30817 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30819 if (!SWIG_IsOK(res2
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30822 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30824 if (!SWIG_IsOK(res3
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30830 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
= 0;
30848 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char * kwnames
[] = {
30858 (char *) "self",(char *) "pageNum", NULL
30861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30863 if (!SWIG_IsOK(res1
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30866 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30868 if (!SWIG_IsOK(ecode2
)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30871 arg2
= static_cast< int >(val2
);
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= (bool)(arg1
)->RenderPage(arg2
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30887 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
= 0;
30889 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30890 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 char * kwnames
[] = {
30898 (char *) "self",(char *) "canvas", NULL
30901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30906 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30908 if (!SWIG_IsOK(res2
)) {
30909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30911 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 (arg1
)->AdjustScrollbars(arg2
);
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30918 resultobj
= SWIG_Py_Void();
30925 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30926 PyObject
*resultobj
= 0;
30927 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30928 wxPrintDialogData
*result
= 0 ;
30931 PyObject
*swig_obj
[1] ;
30933 if (!args
) SWIG_fail
;
30934 swig_obj
[0] = args
;
30935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30936 if (!SWIG_IsOK(res1
)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30939 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30944 result
= (wxPrintDialogData
*) &_result_ref
;
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30956 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
= 0;
30958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30964 PyObject
* obj0
= 0 ;
30965 PyObject
* obj1
= 0 ;
30966 char * kwnames
[] = {
30967 (char *) "self",(char *) "percent", NULL
30970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30972 if (!SWIG_IsOK(res1
)) {
30973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30975 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30977 if (!SWIG_IsOK(ecode2
)) {
30978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30980 arg2
= static_cast< int >(val2
);
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 (arg1
)->SetZoom(arg2
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_Py_Void();
30994 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30995 PyObject
*resultobj
= 0;
30996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31000 PyObject
*swig_obj
[1] ;
31002 if (!args
) SWIG_fail
;
31003 swig_obj
[0] = args
;
31004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31005 if (!SWIG_IsOK(res1
)) {
31006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31008 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (int)(arg1
)->GetZoom();
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_From_int(static_cast< int >(result
));
31022 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31023 PyObject
*resultobj
= 0;
31024 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31028 PyObject
*swig_obj
[1] ;
31030 if (!args
) SWIG_fail
;
31031 swig_obj
[0] = args
;
31032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31036 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (int)(arg1
)->GetMaxPage();
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= SWIG_From_int(static_cast< int >(result
));
31050 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31051 PyObject
*resultobj
= 0;
31052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31056 PyObject
*swig_obj
[1] ;
31058 if (!args
) SWIG_fail
;
31059 swig_obj
[0] = args
;
31060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31061 if (!SWIG_IsOK(res1
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31064 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= (int)(arg1
)->GetMinPage();
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= SWIG_From_int(static_cast< int >(result
));
31078 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31079 PyObject
*resultobj
= 0;
31080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31084 PyObject
*swig_obj
[1] ;
31086 if (!args
) SWIG_fail
;
31087 swig_obj
[0] = args
;
31088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31092 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 result
= (bool)(arg1
)->IsOk();
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31108 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
= 0;
31110 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "self",(char *) "ok", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31127 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31128 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31129 if (!SWIG_IsOK(ecode2
)) {
31130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31132 arg2
= static_cast< bool >(val2
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 (arg1
)->SetOk(arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_Py_Void();
31146 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31155 PyObject
* obj0
= 0 ;
31156 PyObject
* obj1
= 0 ;
31157 char * kwnames
[] = {
31158 (char *) "self",(char *) "interactive", NULL
31161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31163 if (!SWIG_IsOK(res1
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31166 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31168 if (!SWIG_IsOK(ecode2
)) {
31169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31171 arg2
= static_cast< bool >(val2
);
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 result
= (bool)(arg1
)->Print(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31187 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31188 PyObject
*resultobj
= 0;
31189 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31192 PyObject
*swig_obj
[1] ;
31194 if (!args
) SWIG_fail
;
31195 swig_obj
[0] = args
;
31196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31197 if (!SWIG_IsOK(res1
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31200 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31203 (arg1
)->DetermineScaling();
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_Py_Void();
31214 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31218 return SWIG_Py_Void();
31221 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31222 return SWIG_Python_InitShadowInstance(args
);
31225 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31226 PyObject
*resultobj
= 0;
31227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31228 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31229 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31230 wxPyPrintPreview
*result
= 0 ;
31236 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31237 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31238 if (!SWIG_IsOK(res1
)) {
31239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31241 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31242 if (!SWIG_IsOK(res2
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31246 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31247 if (!SWIG_IsOK(res3
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31250 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31253 if (!wxPyCheckForApp()) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31266 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31267 PyObject
*resultobj
= 0;
31268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31269 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31270 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31271 wxPyPrintPreview
*result
= 0 ;
31277 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31278 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31279 if (!SWIG_IsOK(res1
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31282 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31283 if (!SWIG_IsOK(res2
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31286 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31287 if (!SWIG_IsOK(res3
)) {
31288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31290 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31292 if (!wxPyCheckForApp()) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31305 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31309 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31311 if ((argc
>= 2) && (argc
<= 3)) {
31316 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31317 _v
= SWIG_CheckState(res
);
31319 if (!_v
) goto check_1
;
31321 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31326 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31330 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31335 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
= 0;
31337 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31338 PyObject
*arg2
= (PyObject
*) 0 ;
31339 PyObject
*arg3
= (PyObject
*) 0 ;
31342 PyObject
* obj0
= 0 ;
31343 PyObject
* obj1
= 0 ;
31344 PyObject
* obj2
= 0 ;
31345 char * kwnames
[] = {
31346 (char *) "self",(char *) "self",(char *) "_class", NULL
31349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31351 if (!SWIG_IsOK(res1
)) {
31352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31354 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= SWIG_Py_Void();
31370 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31374 return SWIG_Py_Void();
31377 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31378 return SWIG_Python_InitShadowInstance(args
);
31381 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
= 0;
31383 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31384 wxFrame
*arg2
= (wxFrame
*) 0 ;
31385 wxString
*arg3
= 0 ;
31386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31390 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31391 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31392 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31393 wxPyPreviewFrame
*result
= 0 ;
31397 bool temp3
= false ;
31402 bool temp7
= false ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 PyObject
* obj2
= 0 ;
31406 PyObject
* obj3
= 0 ;
31407 PyObject
* obj4
= 0 ;
31408 PyObject
* obj5
= 0 ;
31409 PyObject
* obj6
= 0 ;
31410 char * kwnames
[] = {
31411 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31420 if (!SWIG_IsOK(res2
)) {
31421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31423 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31425 arg3
= wxString_in_helper(obj2
);
31426 if (arg3
== NULL
) SWIG_fail
;
31432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31442 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31443 if (!SWIG_IsOK(ecode6
)) {
31444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31446 arg6
= static_cast< long >(val6
);
31450 arg7
= wxString_in_helper(obj6
);
31451 if (arg7
== NULL
) SWIG_fail
;
31456 if (!wxPyCheckForApp()) SWIG_fail
;
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31458 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31485 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
= 0;
31487 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31488 PyObject
*arg2
= (PyObject
*) 0 ;
31489 PyObject
*arg3
= (PyObject
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 PyObject
* obj2
= 0 ;
31495 char * kwnames
[] = {
31496 (char *) "self",(char *) "self",(char *) "_class", NULL
31499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31504 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_Py_Void();
31520 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31523 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 char * kwnames
[] = {
31531 (char *) "self",(char *) "canvas", NULL
31534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31536 if (!SWIG_IsOK(res1
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31539 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31541 if (!SWIG_IsOK(res2
)) {
31542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31544 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 (arg1
)->SetPreviewCanvas(arg2
);
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 resultobj
= SWIG_Py_Void();
31558 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
= 0;
31560 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31561 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31566 PyObject
* obj0
= 0 ;
31567 PyObject
* obj1
= 0 ;
31568 char * kwnames
[] = {
31569 (char *) "self",(char *) "bar", NULL
31572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31574 if (!SWIG_IsOK(res1
)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31577 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31579 if (!SWIG_IsOK(res2
)) {
31580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31582 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 (arg1
)->SetControlBar(arg2
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_Py_Void();
31596 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31597 PyObject
*resultobj
= 0;
31598 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31601 PyObject
*swig_obj
[1] ;
31603 if (!args
) SWIG_fail
;
31604 swig_obj
[0] = args
;
31605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31606 if (!SWIG_IsOK(res1
)) {
31607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31609 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 (arg1
)->Initialize();
31613 wxPyEndAllowThreads(__tstate
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31616 resultobj
= SWIG_Py_Void();
31623 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31624 PyObject
*resultobj
= 0;
31625 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31628 PyObject
*swig_obj
[1] ;
31630 if (!args
) SWIG_fail
;
31631 swig_obj
[0] = args
;
31632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31633 if (!SWIG_IsOK(res1
)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31636 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 (arg1
)->CreateCanvas();
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= SWIG_Py_Void();
31650 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31651 PyObject
*resultobj
= 0;
31652 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31655 PyObject
*swig_obj
[1] ;
31657 if (!args
) SWIG_fail
;
31658 swig_obj
[0] = args
;
31659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31660 if (!SWIG_IsOK(res1
)) {
31661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31663 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 (arg1
)->CreateControlBar();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= SWIG_Py_Void();
31677 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31680 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31681 return SWIG_Py_Void();
31684 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31685 return SWIG_Python_InitShadowInstance(args
);
31688 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31689 PyObject
*resultobj
= 0;
31690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31692 wxWindow
*arg3
= (wxWindow
*) 0 ;
31693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31697 long arg6
= (long) 0 ;
31698 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31700 wxPyPreviewControlBar
*result
= 0 ;
31710 bool temp7
= false ;
31711 PyObject
* obj0
= 0 ;
31712 PyObject
* obj1
= 0 ;
31713 PyObject
* obj2
= 0 ;
31714 PyObject
* obj3
= 0 ;
31715 PyObject
* obj4
= 0 ;
31716 PyObject
* obj5
= 0 ;
31717 PyObject
* obj6
= 0 ;
31718 char * kwnames
[] = {
31719 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31723 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31724 if (!SWIG_IsOK(res1
)) {
31725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31727 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31728 if (!SWIG_IsOK(ecode2
)) {
31729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31731 arg2
= static_cast< long >(val2
);
31732 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31733 if (!SWIG_IsOK(res3
)) {
31734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31736 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31750 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31751 if (!SWIG_IsOK(ecode6
)) {
31752 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31754 arg6
= static_cast< long >(val6
);
31758 arg7
= wxString_in_helper(obj6
);
31759 if (arg7
== NULL
) SWIG_fail
;
31764 if (!wxPyCheckForApp()) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31785 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
= 0;
31787 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31788 PyObject
*arg2
= (PyObject
*) 0 ;
31789 PyObject
*arg3
= (PyObject
*) 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 PyObject
* obj2
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "self",(char *) "self",(char *) "_class", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31804 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 resultobj
= SWIG_Py_Void();
31820 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
= 0;
31822 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31823 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31827 PyObject
* obj0
= 0 ;
31828 PyObject
* obj1
= 0 ;
31829 char * kwnames
[] = {
31830 (char *) "self",(char *) "preview", NULL
31833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31838 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31839 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31840 if (!SWIG_IsOK(res2
)) {
31841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 (arg1
)->SetPrintPreview(arg2
);
31846 wxPyEndAllowThreads(__tstate
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31849 resultobj
= SWIG_Py_Void();
31856 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31857 PyObject
*resultobj
= 0;
31858 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31861 PyObject
*swig_obj
[1] ;
31863 if (!args
) SWIG_fail
;
31864 swig_obj
[0] = args
;
31865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31866 if (!SWIG_IsOK(res1
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31869 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 (arg1
)->CreateButtons();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= SWIG_Py_Void();
31883 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
= 0;
31885 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 PyObject
* obj1
= 0 ;
31893 char * kwnames
[] = {
31894 (char *) "self",(char *) "zoom", NULL
31897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31899 if (!SWIG_IsOK(res1
)) {
31900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31902 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31904 if (!SWIG_IsOK(ecode2
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31907 arg2
= static_cast< int >(val2
);
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 (arg1
)->SetZoomControl(arg2
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_Py_Void();
31921 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31924 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31925 return SWIG_Py_Void();
31928 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31929 return SWIG_Python_InitShadowInstance(args
);
31932 static PyMethodDef SwigMethods
[] = {
31933 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31935 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31937 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31939 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31940 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31942 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31949 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31951 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31953 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31954 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31955 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31956 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31957 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31960 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31962 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31966 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31968 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31970 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31971 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31972 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31973 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31977 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31979 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31983 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31985 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31987 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31990 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31993 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31995 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31997 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
32000 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
32007 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
32009 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
32014 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
32015 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
32017 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
32020 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
32022 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
32024 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
32029 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
32030 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
32033 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
32034 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
32036 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
32042 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
32043 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
32044 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
32046 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
32047 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
32048 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
32049 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
32050 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
32052 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
32055 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
32064 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
32065 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
32067 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
32068 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
32070 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
32072 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
32073 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
32075 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
32081 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
32082 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
32085 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
32086 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
32088 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
32090 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
32092 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
32094 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
32096 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
32098 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
32099 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
32102 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
32103 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
32104 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
32105 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
32106 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
32107 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
32109 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
32117 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
32119 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
32122 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
32123 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
32126 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
32127 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
32129 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
32130 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
32131 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
32134 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
32136 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
32138 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
32139 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
32140 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
32143 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
32145 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
32147 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
32149 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
32151 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
32152 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
32153 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
32156 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
32158 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
32160 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
32162 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
32164 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
32165 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
32169 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
32170 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
32171 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
32172 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
32176 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
32177 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
32179 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
32182 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
32183 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
32185 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
32188 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
32189 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
32190 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
32193 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32194 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32195 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32197 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32206 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32207 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32208 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32209 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32211 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32212 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32215 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32216 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32218 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32221 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32222 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32223 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32226 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32227 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32229 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32230 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32232 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32237 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32238 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32244 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32245 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32247 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32251 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32253 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32254 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32256 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32258 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32259 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32260 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32261 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32263 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32264 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32265 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32267 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32269 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32270 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32272 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32273 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32274 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32275 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32276 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32277 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32282 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32283 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32285 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32286 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32287 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32290 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32291 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32294 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32295 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32303 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32304 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32305 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32306 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32307 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32308 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32309 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32310 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32311 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32312 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32315 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32316 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32317 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32319 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32320 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32322 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32323 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32325 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32327 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32328 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32330 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32331 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32333 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32334 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32335 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32336 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32337 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32339 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32340 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32341 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32342 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32343 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32344 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32351 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32352 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32354 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32355 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32356 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32359 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32360 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32364 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32365 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32366 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32368 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32369 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32370 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32371 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32375 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32376 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32378 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32379 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32380 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32381 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32385 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32386 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32388 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32390 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32392 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32393 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32395 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32397 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32398 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32399 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32400 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32401 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32402 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
32403 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32406 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32407 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32409 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32411 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32412 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32413 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32415 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32417 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32418 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32420 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32427 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32428 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32429 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32430 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32431 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32432 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32433 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32434 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32435 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32437 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32444 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32445 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32446 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32447 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32448 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32449 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32450 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32451 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32452 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32454 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32461 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32462 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32463 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32464 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32465 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32466 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32467 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32468 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32469 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32470 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32471 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32472 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32473 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32474 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32475 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32476 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32477 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32478 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32479 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32480 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32481 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32482 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32483 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32484 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32485 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32499 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32501 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32503 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32504 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32505 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32506 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32512 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32513 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32514 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32515 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32516 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32517 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32518 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32519 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32520 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32521 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32522 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32523 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32524 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32525 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32526 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32536 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32537 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32538 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32539 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32541 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32542 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32543 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32544 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32545 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32546 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32547 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32548 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32549 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32550 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32551 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32552 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32553 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32554 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32555 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32556 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32557 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32571 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32572 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32573 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32574 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32575 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32576 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32578 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32579 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32581 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32582 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32583 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32584 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32585 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32586 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32587 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32589 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32595 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32596 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32597 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32598 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32599 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32601 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32603 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32604 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32609 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32610 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32612 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32613 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32614 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32619 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32621 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32623 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32625 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32627 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32628 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32631 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32632 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32633 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32634 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32636 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32637 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32638 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32640 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32641 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32643 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32644 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32645 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32646 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32647 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32648 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32650 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32652 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32653 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32654 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32655 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32656 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32657 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32658 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32659 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32660 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32661 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32663 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32665 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32666 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32669 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32670 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32675 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32677 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32678 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32679 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32680 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32683 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32684 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32685 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32686 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32688 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32689 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32694 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32695 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32696 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32697 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32698 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32702 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32704 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32705 { NULL
, NULL
, 0, NULL
}
32709 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32711 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32712 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32714 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32717 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32718 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32720 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32721 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32723 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32724 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32726 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32727 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32729 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32730 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32732 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32733 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32735 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32736 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32738 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32739 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32741 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32744 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32745 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32747 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32748 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32750 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32751 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32753 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32754 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32756 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32757 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32759 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32762 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32763 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32765 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32766 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32768 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32769 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32771 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32772 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32774 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32775 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32777 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32778 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32780 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32783 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32784 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32786 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32787 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32789 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32790 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32792 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32793 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32795 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32796 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32798 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32799 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32801 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32802 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32804 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32805 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32807 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32808 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32810 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32811 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32813 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32814 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32816 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32819 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32820 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32822 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32823 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32825 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32826 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32828 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32831 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32834 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32835 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32837 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32838 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32840 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32841 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32843 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32844 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32846 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32847 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32849 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32850 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32852 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32853 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32855 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32856 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32858 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32861 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32864 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32867 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32868 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32870 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32871 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32873 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32874 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32876 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32877 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32879 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32882 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32885 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32888 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32891 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32892 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32894 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32897 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32898 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32900 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32903 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32906 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32907 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32909 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32910 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32912 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32915 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32916 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32918 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32921 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32922 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32924 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32927 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32930 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32931 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32933 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32934 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32936 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32937 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32939 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32940 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32942 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32943 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32945 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32946 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32948 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32949 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32951 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32952 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32954 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32955 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32957 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32958 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32960 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32961 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32963 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32964 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32966 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32969 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32970 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32972 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32973 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32975 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32976 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32978 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32979 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32981 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32982 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32984 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32987 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32990 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32991 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32993 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32996 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32999 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
33000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33002 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
33003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33005 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
33006 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33008 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
33009 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33011 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
33012 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33014 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
33015 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33017 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
33018 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33020 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
33021 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
33023 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
33024 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
33026 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
33027 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
33029 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
33030 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33032 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
33033 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
33035 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
33036 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
33038 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
33039 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
33041 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33042 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33044 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
33045 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
33047 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
33048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33050 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
33051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33053 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33054 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33056 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33057 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33059 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33062 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33063 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33065 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33066 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33068 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33069 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33071 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33072 return (void *)((wxObject
*) ((wxSizer
*) x
));
33074 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33075 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33077 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33080 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33083 static void *_p_wxEventTo_p_wxObject(void *x
) {
33084 return (void *)((wxObject
*) ((wxEvent
*) x
));
33086 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33087 return (void *)((wxObject
*) ((wxFontData
*) x
));
33089 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33090 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33092 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33093 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33095 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33096 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33098 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33099 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33101 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33102 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33104 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
33105 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
33107 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33108 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33110 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
33111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33113 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33114 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33116 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33117 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33119 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33120 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33122 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33123 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33125 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33126 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33128 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33129 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33131 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33134 static void *_p_wxControlTo_p_wxObject(void *x
) {
33135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33137 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33138 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33140 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33143 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33144 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33146 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33147 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33149 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33150 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33152 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33155 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33156 return (void *)((wxObject
*) ((wxColourData
*) x
));
33158 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33159 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33161 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33164 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33167 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33170 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33173 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33176 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33179 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33182 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33185 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
33186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33188 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33191 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33194 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33197 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33198 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33200 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33201 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33203 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33204 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33206 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33207 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33209 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33210 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33212 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33213 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33215 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33216 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33218 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33219 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33221 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33222 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33224 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33225 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33227 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33228 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33230 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33231 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33233 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33234 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33236 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33239 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33242 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33243 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33245 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33246 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33248 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33249 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33251 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33252 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33254 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33255 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33257 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33258 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33260 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33261 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33263 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33264 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33266 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33267 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33269 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33270 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33272 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33275 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33276 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33278 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33279 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33281 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33282 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33284 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33287 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33290 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33293 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33294 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33296 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33297 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33299 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33302 static void *_p_wxImageTo_p_wxObject(void *x
) {
33303 return (void *)((wxObject
*) ((wxImage
*) x
));
33305 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33308 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33309 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33311 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33312 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33314 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33315 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33317 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33320 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33323 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33326 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33327 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33329 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33330 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33332 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33333 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33335 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33336 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33338 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33341 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33344 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33347 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33350 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33353 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33356 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33359 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33362 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33365 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33368 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33371 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33374 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33377 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33380 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33381 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33383 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33384 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33386 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33389 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33392 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33395 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33398 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33401 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33402 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33404 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33405 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33407 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33408 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33410 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33413 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33414 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33416 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33417 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33419 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33420 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33422 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33423 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33425 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33426 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33428 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33431 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33432 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33434 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33437 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33440 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33441 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33443 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33444 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33446 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33449 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33452 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33453 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33455 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33456 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33458 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33461 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33462 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33464 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33465 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33467 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33468 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33470 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33471 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33473 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33474 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33476 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33477 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33479 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33480 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33482 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33483 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33485 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33486 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33488 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33489 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33491 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33492 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33494 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33495 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33497 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33498 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33500 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33501 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33503 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33504 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33506 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33507 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33509 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33510 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33512 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33513 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33515 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33516 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33518 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33519 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33521 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33522 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33524 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33525 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33527 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33528 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33530 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33531 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33533 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33534 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33536 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33537 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33539 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33540 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33542 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33543 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33545 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33546 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33548 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33549 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33551 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33552 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33554 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33555 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33557 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33558 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33560 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33561 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33563 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33564 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33566 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33567 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33569 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33570 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33572 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33573 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33575 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33576 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33578 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33579 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33581 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33582 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33584 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33585 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33587 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33588 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33590 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33591 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33593 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33594 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33596 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33597 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33599 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33600 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33602 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33603 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33605 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33606 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33608 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33609 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33611 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33612 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33614 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33615 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33617 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33618 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33620 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33621 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33623 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33624 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33626 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33627 return (void *)((wxWindow
*) ((wxControl
*) x
));
33629 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33632 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33633 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33635 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33636 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33638 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33639 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33641 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33642 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33644 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33645 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33647 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33648 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33650 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33651 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33653 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33654 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33656 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33657 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33659 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33660 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33662 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33663 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33665 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33666 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33668 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33669 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33671 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33672 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33674 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33675 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33677 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33678 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33680 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33681 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33683 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33684 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33686 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33687 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33689 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33690 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33692 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33693 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33695 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33696 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33698 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33699 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33701 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33702 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33704 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33705 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33707 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33708 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33710 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33711 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33713 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33714 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33716 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33717 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33719 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33720 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33722 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33723 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33725 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33726 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33728 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33729 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33731 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33732 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33734 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33735 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33737 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33738 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33740 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33741 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33743 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33744 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33746 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33747 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33749 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33750 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33752 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33753 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33755 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33756 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33758 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33759 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33761 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33762 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33764 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33765 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33767 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33768 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33770 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33771 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33773 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33774 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33776 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33777 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33779 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33780 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33782 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33783 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33785 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33786 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33788 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33789 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33791 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33792 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33794 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33795 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33797 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33798 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33799 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};
33800 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33801 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33802 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33813 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33814 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33815 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33816 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33817 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33818 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33819 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33820 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33821 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33827 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33828 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33829 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33830 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33831 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33832 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33833 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33834 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33835 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33836 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33837 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33838 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33839 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33840 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33841 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33842 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33843 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33844 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33845 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33846 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33847 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33848 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33849 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33850 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33851 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33852 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33853 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33854 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33855 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33856 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33857 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33858 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33859 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33860 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33861 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33862 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33863 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33864 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33865 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33866 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33867 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33868 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33869 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33870 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33871 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33872 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33873 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33874 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33875 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33876 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33877 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33878 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33879 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33880 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33881 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33882 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33883 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33884 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33885 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33886 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33887 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33888 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33889 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33890 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33891 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33892 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33893 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33894 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33895 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33896 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33897 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33898 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33899 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33900 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33901 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33902 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33903 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33904 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33905 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33906 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33907 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33908 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33909 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33910 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33911 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33912 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33913 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33914 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33915 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33916 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33917 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33918 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33919 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33920 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33921 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33922 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33923 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33924 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33925 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33926 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33927 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33928 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33929 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33930 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33931 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33932 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33933 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33934 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33935 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33936 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33937 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33938 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33939 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33940 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33941 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33942 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33943 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33944 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33945 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33946 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33947 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33948 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33949 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33950 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33951 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33952 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33953 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33954 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33955 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33956 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33957 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33958 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33959 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33960 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33961 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33962 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33963 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33964 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33965 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33967 static swig_type_info
*swig_type_initial
[] = {
33970 &_swigt__p_form_ops_t
,
33972 &_swigt__p_unsigned_char
,
33973 &_swigt__p_unsigned_int
,
33974 &_swigt__p_unsigned_long
,
33975 &_swigt__p_wxANIHandler
,
33976 &_swigt__p_wxAcceleratorTable
,
33977 &_swigt__p_wxActivateEvent
,
33978 &_swigt__p_wxArrayInt
,
33979 &_swigt__p_wxArrayString
,
33980 &_swigt__p_wxBMPHandler
,
33981 &_swigt__p_wxBitmap
,
33982 &_swigt__p_wxBoxSizer
,
33983 &_swigt__p_wxCURHandler
,
33984 &_swigt__p_wxCalculateLayoutEvent
,
33985 &_swigt__p_wxChildFocusEvent
,
33986 &_swigt__p_wxClipboardTextEvent
,
33987 &_swigt__p_wxCloseEvent
,
33988 &_swigt__p_wxColour
,
33989 &_swigt__p_wxColourData
,
33990 &_swigt__p_wxColourDialog
,
33991 &_swigt__p_wxCommandEvent
,
33992 &_swigt__p_wxContextMenuEvent
,
33993 &_swigt__p_wxControl
,
33994 &_swigt__p_wxControlWithItems
,
33996 &_swigt__p_wxDateEvent
,
33997 &_swigt__p_wxDialog
,
33998 &_swigt__p_wxDirDialog
,
33999 &_swigt__p_wxDisplayChangedEvent
,
34000 &_swigt__p_wxDropFilesEvent
,
34001 &_swigt__p_wxDuplexMode
,
34002 &_swigt__p_wxEraseEvent
,
34003 &_swigt__p_wxEvent
,
34004 &_swigt__p_wxEvtHandler
,
34005 &_swigt__p_wxFSFile
,
34006 &_swigt__p_wxFileDialog
,
34007 &_swigt__p_wxFileSystem
,
34008 &_swigt__p_wxFindDialogEvent
,
34009 &_swigt__p_wxFindReplaceData
,
34010 &_swigt__p_wxFindReplaceDialog
,
34011 &_swigt__p_wxFlexGridSizer
,
34012 &_swigt__p_wxFocusEvent
,
34014 &_swigt__p_wxFontData
,
34015 &_swigt__p_wxFontDialog
,
34016 &_swigt__p_wxFrame
,
34017 &_swigt__p_wxGBSizerItem
,
34018 &_swigt__p_wxGIFHandler
,
34019 &_swigt__p_wxGridBagSizer
,
34020 &_swigt__p_wxGridSizer
,
34021 &_swigt__p_wxHtmlLinkInfo
,
34022 &_swigt__p_wxICOHandler
,
34024 &_swigt__p_wxIconBundle
,
34025 &_swigt__p_wxIconizeEvent
,
34026 &_swigt__p_wxIdleEvent
,
34027 &_swigt__p_wxImage
,
34028 &_swigt__p_wxImageHandler
,
34029 &_swigt__p_wxIndividualLayoutConstraint
,
34030 &_swigt__p_wxInitDialogEvent
,
34031 &_swigt__p_wxItemContainer
,
34032 &_swigt__p_wxJPEGHandler
,
34033 &_swigt__p_wxKeyEvent
,
34034 &_swigt__p_wxLayoutAlgorithm
,
34035 &_swigt__p_wxLayoutConstraints
,
34036 &_swigt__p_wxMDIChildFrame
,
34037 &_swigt__p_wxMDIClientWindow
,
34038 &_swigt__p_wxMDIParentFrame
,
34039 &_swigt__p_wxMaximizeEvent
,
34041 &_swigt__p_wxMenuBar
,
34042 &_swigt__p_wxMenuEvent
,
34043 &_swigt__p_wxMenuItem
,
34044 &_swigt__p_wxMessageDialog
,
34045 &_swigt__p_wxMiniFrame
,
34046 &_swigt__p_wxMouseCaptureChangedEvent
,
34047 &_swigt__p_wxMouseCaptureLostEvent
,
34048 &_swigt__p_wxMouseEvent
,
34049 &_swigt__p_wxMoveEvent
,
34050 &_swigt__p_wxMultiChoiceDialog
,
34051 &_swigt__p_wxNavigationKeyEvent
,
34052 &_swigt__p_wxNcPaintEvent
,
34053 &_swigt__p_wxNotifyEvent
,
34054 &_swigt__p_wxNumberEntryDialog
,
34055 &_swigt__p_wxObject
,
34056 &_swigt__p_wxPCXHandler
,
34057 &_swigt__p_wxPNGHandler
,
34058 &_swigt__p_wxPNMHandler
,
34059 &_swigt__p_wxPageSetupDialog
,
34060 &_swigt__p_wxPageSetupDialogData
,
34061 &_swigt__p_wxPaintEvent
,
34062 &_swigt__p_wxPaletteChangedEvent
,
34063 &_swigt__p_wxPanel
,
34064 &_swigt__p_wxPaperSize
,
34065 &_swigt__p_wxPasswordEntryDialog
,
34066 &_swigt__p_wxPoint
,
34067 &_swigt__p_wxPopupWindow
,
34068 &_swigt__p_wxPreviewCanvas
,
34069 &_swigt__p_wxPreviewControlBar
,
34070 &_swigt__p_wxPreviewFrame
,
34071 &_swigt__p_wxPrintData
,
34072 &_swigt__p_wxPrintDialog
,
34073 &_swigt__p_wxPrintDialogData
,
34074 &_swigt__p_wxPrintPreview
,
34075 &_swigt__p_wxPrinter
,
34076 &_swigt__p_wxProgressDialog
,
34077 &_swigt__p_wxPyApp
,
34078 &_swigt__p_wxPyCommandEvent
,
34079 &_swigt__p_wxPyEvent
,
34080 &_swigt__p_wxPyHtmlListBox
,
34081 &_swigt__p_wxPyImageHandler
,
34082 &_swigt__p_wxPyPanel
,
34083 &_swigt__p_wxPyPopupTransientWindow
,
34084 &_swigt__p_wxPyPreviewControlBar
,
34085 &_swigt__p_wxPyPreviewFrame
,
34086 &_swigt__p_wxPyPrintPreview
,
34087 &_swigt__p_wxPyPrintout
,
34088 &_swigt__p_wxPyScrolledWindow
,
34089 &_swigt__p_wxPySizer
,
34090 &_swigt__p_wxPyTaskBarIcon
,
34091 &_swigt__p_wxPyVListBox
,
34092 &_swigt__p_wxPyVScrolledWindow
,
34093 &_swigt__p_wxPyValidator
,
34094 &_swigt__p_wxPyWindow
,
34095 &_swigt__p_wxQueryLayoutInfoEvent
,
34096 &_swigt__p_wxQueryNewPaletteEvent
,
34098 &_swigt__p_wxRegion
,
34099 &_swigt__p_wxSashEvent
,
34100 &_swigt__p_wxSashLayoutWindow
,
34101 &_swigt__p_wxSashWindow
,
34102 &_swigt__p_wxScrollEvent
,
34103 &_swigt__p_wxScrollWinEvent
,
34104 &_swigt__p_wxScrolledWindow
,
34105 &_swigt__p_wxSetCursorEvent
,
34106 &_swigt__p_wxShowEvent
,
34107 &_swigt__p_wxSimpleHtmlListBox
,
34108 &_swigt__p_wxSingleChoiceDialog
,
34110 &_swigt__p_wxSizeEvent
,
34111 &_swigt__p_wxSizer
,
34112 &_swigt__p_wxSizerItem
,
34113 &_swigt__p_wxSplashScreen
,
34114 &_swigt__p_wxSplashScreenWindow
,
34115 &_swigt__p_wxSplitterEvent
,
34116 &_swigt__p_wxSplitterWindow
,
34117 &_swigt__p_wxStaticBoxSizer
,
34118 &_swigt__p_wxStatusBar
,
34119 &_swigt__p_wxStdDialogButtonSizer
,
34120 &_swigt__p_wxString
,
34121 &_swigt__p_wxSysColourChangedEvent
,
34122 &_swigt__p_wxTGAHandler
,
34123 &_swigt__p_wxTIFFHandler
,
34124 &_swigt__p_wxTaskBarIcon
,
34125 &_swigt__p_wxTaskBarIconEvent
,
34126 &_swigt__p_wxTextEntryDialog
,
34127 &_swigt__p_wxTipWindow
,
34128 &_swigt__p_wxToolBar
,
34129 &_swigt__p_wxTopLevelWindow
,
34130 &_swigt__p_wxUpdateUIEvent
,
34131 &_swigt__p_wxValidator
,
34132 &_swigt__p_wxVisualAttributes
,
34133 &_swigt__p_wxWindow
,
34134 &_swigt__p_wxWindowCreateEvent
,
34135 &_swigt__p_wxWindowDestroyEvent
,
34136 &_swigt__p_wxXPMHandler
,
34139 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34142 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34143 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34148 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34162 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}};
34163 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34164 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}};
34165 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34177 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34178 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34180 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34181 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34183 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34184 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34185 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34186 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34187 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34188 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34189 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34190 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34191 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34192 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34193 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}};
34194 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34195 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34196 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34197 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34198 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_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34199 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34200 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34201 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34202 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34203 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34204 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34205 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34206 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34207 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}};
34208 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34209 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34210 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34211 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
34212 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34213 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34214 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34215 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34216 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34217 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34218 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34219 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34220 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34221 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}};
34222 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34223 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34224 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34225 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34226 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34227 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34228 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34229 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34230 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34231 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34232 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34233 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34234 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34235 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34236 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34237 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34238 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34239 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34240 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34241 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34242 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34243 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34244 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34245 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34246 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34247 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34248 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34249 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34250 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34251 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34252 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34253 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34254 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34255 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34256 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34257 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34258 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34259 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}};
34260 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34261 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}};
34262 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}};
34263 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34264 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34265 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34266 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}};
34267 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34268 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34269 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
34270 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34271 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}};
34272 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34273 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34274 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34275 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34276 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34277 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34278 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
34279 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}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
34280 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34281 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34282 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34283 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34284 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34285 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34286 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}};
34287 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34288 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}};
34289 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34290 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34291 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34292 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34293 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34294 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34295 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34296 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34297 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34298 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34299 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34300 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34301 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}};
34302 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34303 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34304 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}};
34305 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
34306 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34307 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_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
34309 static swig_cast_info
*swig_cast_initial
[] = {
34312 _swigc__p_form_ops_t
,
34314 _swigc__p_unsigned_char
,
34315 _swigc__p_unsigned_int
,
34316 _swigc__p_unsigned_long
,
34317 _swigc__p_wxANIHandler
,
34318 _swigc__p_wxAcceleratorTable
,
34319 _swigc__p_wxActivateEvent
,
34320 _swigc__p_wxArrayInt
,
34321 _swigc__p_wxArrayString
,
34322 _swigc__p_wxBMPHandler
,
34323 _swigc__p_wxBitmap
,
34324 _swigc__p_wxBoxSizer
,
34325 _swigc__p_wxCURHandler
,
34326 _swigc__p_wxCalculateLayoutEvent
,
34327 _swigc__p_wxChildFocusEvent
,
34328 _swigc__p_wxClipboardTextEvent
,
34329 _swigc__p_wxCloseEvent
,
34330 _swigc__p_wxColour
,
34331 _swigc__p_wxColourData
,
34332 _swigc__p_wxColourDialog
,
34333 _swigc__p_wxCommandEvent
,
34334 _swigc__p_wxContextMenuEvent
,
34335 _swigc__p_wxControl
,
34336 _swigc__p_wxControlWithItems
,
34338 _swigc__p_wxDateEvent
,
34339 _swigc__p_wxDialog
,
34340 _swigc__p_wxDirDialog
,
34341 _swigc__p_wxDisplayChangedEvent
,
34342 _swigc__p_wxDropFilesEvent
,
34343 _swigc__p_wxDuplexMode
,
34344 _swigc__p_wxEraseEvent
,
34346 _swigc__p_wxEvtHandler
,
34347 _swigc__p_wxFSFile
,
34348 _swigc__p_wxFileDialog
,
34349 _swigc__p_wxFileSystem
,
34350 _swigc__p_wxFindDialogEvent
,
34351 _swigc__p_wxFindReplaceData
,
34352 _swigc__p_wxFindReplaceDialog
,
34353 _swigc__p_wxFlexGridSizer
,
34354 _swigc__p_wxFocusEvent
,
34356 _swigc__p_wxFontData
,
34357 _swigc__p_wxFontDialog
,
34359 _swigc__p_wxGBSizerItem
,
34360 _swigc__p_wxGIFHandler
,
34361 _swigc__p_wxGridBagSizer
,
34362 _swigc__p_wxGridSizer
,
34363 _swigc__p_wxHtmlLinkInfo
,
34364 _swigc__p_wxICOHandler
,
34366 _swigc__p_wxIconBundle
,
34367 _swigc__p_wxIconizeEvent
,
34368 _swigc__p_wxIdleEvent
,
34370 _swigc__p_wxImageHandler
,
34371 _swigc__p_wxIndividualLayoutConstraint
,
34372 _swigc__p_wxInitDialogEvent
,
34373 _swigc__p_wxItemContainer
,
34374 _swigc__p_wxJPEGHandler
,
34375 _swigc__p_wxKeyEvent
,
34376 _swigc__p_wxLayoutAlgorithm
,
34377 _swigc__p_wxLayoutConstraints
,
34378 _swigc__p_wxMDIChildFrame
,
34379 _swigc__p_wxMDIClientWindow
,
34380 _swigc__p_wxMDIParentFrame
,
34381 _swigc__p_wxMaximizeEvent
,
34383 _swigc__p_wxMenuBar
,
34384 _swigc__p_wxMenuEvent
,
34385 _swigc__p_wxMenuItem
,
34386 _swigc__p_wxMessageDialog
,
34387 _swigc__p_wxMiniFrame
,
34388 _swigc__p_wxMouseCaptureChangedEvent
,
34389 _swigc__p_wxMouseCaptureLostEvent
,
34390 _swigc__p_wxMouseEvent
,
34391 _swigc__p_wxMoveEvent
,
34392 _swigc__p_wxMultiChoiceDialog
,
34393 _swigc__p_wxNavigationKeyEvent
,
34394 _swigc__p_wxNcPaintEvent
,
34395 _swigc__p_wxNotifyEvent
,
34396 _swigc__p_wxNumberEntryDialog
,
34397 _swigc__p_wxObject
,
34398 _swigc__p_wxPCXHandler
,
34399 _swigc__p_wxPNGHandler
,
34400 _swigc__p_wxPNMHandler
,
34401 _swigc__p_wxPageSetupDialog
,
34402 _swigc__p_wxPageSetupDialogData
,
34403 _swigc__p_wxPaintEvent
,
34404 _swigc__p_wxPaletteChangedEvent
,
34406 _swigc__p_wxPaperSize
,
34407 _swigc__p_wxPasswordEntryDialog
,
34409 _swigc__p_wxPopupWindow
,
34410 _swigc__p_wxPreviewCanvas
,
34411 _swigc__p_wxPreviewControlBar
,
34412 _swigc__p_wxPreviewFrame
,
34413 _swigc__p_wxPrintData
,
34414 _swigc__p_wxPrintDialog
,
34415 _swigc__p_wxPrintDialogData
,
34416 _swigc__p_wxPrintPreview
,
34417 _swigc__p_wxPrinter
,
34418 _swigc__p_wxProgressDialog
,
34420 _swigc__p_wxPyCommandEvent
,
34421 _swigc__p_wxPyEvent
,
34422 _swigc__p_wxPyHtmlListBox
,
34423 _swigc__p_wxPyImageHandler
,
34424 _swigc__p_wxPyPanel
,
34425 _swigc__p_wxPyPopupTransientWindow
,
34426 _swigc__p_wxPyPreviewControlBar
,
34427 _swigc__p_wxPyPreviewFrame
,
34428 _swigc__p_wxPyPrintPreview
,
34429 _swigc__p_wxPyPrintout
,
34430 _swigc__p_wxPyScrolledWindow
,
34431 _swigc__p_wxPySizer
,
34432 _swigc__p_wxPyTaskBarIcon
,
34433 _swigc__p_wxPyVListBox
,
34434 _swigc__p_wxPyVScrolledWindow
,
34435 _swigc__p_wxPyValidator
,
34436 _swigc__p_wxPyWindow
,
34437 _swigc__p_wxQueryLayoutInfoEvent
,
34438 _swigc__p_wxQueryNewPaletteEvent
,
34440 _swigc__p_wxRegion
,
34441 _swigc__p_wxSashEvent
,
34442 _swigc__p_wxSashLayoutWindow
,
34443 _swigc__p_wxSashWindow
,
34444 _swigc__p_wxScrollEvent
,
34445 _swigc__p_wxScrollWinEvent
,
34446 _swigc__p_wxScrolledWindow
,
34447 _swigc__p_wxSetCursorEvent
,
34448 _swigc__p_wxShowEvent
,
34449 _swigc__p_wxSimpleHtmlListBox
,
34450 _swigc__p_wxSingleChoiceDialog
,
34452 _swigc__p_wxSizeEvent
,
34454 _swigc__p_wxSizerItem
,
34455 _swigc__p_wxSplashScreen
,
34456 _swigc__p_wxSplashScreenWindow
,
34457 _swigc__p_wxSplitterEvent
,
34458 _swigc__p_wxSplitterWindow
,
34459 _swigc__p_wxStaticBoxSizer
,
34460 _swigc__p_wxStatusBar
,
34461 _swigc__p_wxStdDialogButtonSizer
,
34462 _swigc__p_wxString
,
34463 _swigc__p_wxSysColourChangedEvent
,
34464 _swigc__p_wxTGAHandler
,
34465 _swigc__p_wxTIFFHandler
,
34466 _swigc__p_wxTaskBarIcon
,
34467 _swigc__p_wxTaskBarIconEvent
,
34468 _swigc__p_wxTextEntryDialog
,
34469 _swigc__p_wxTipWindow
,
34470 _swigc__p_wxToolBar
,
34471 _swigc__p_wxTopLevelWindow
,
34472 _swigc__p_wxUpdateUIEvent
,
34473 _swigc__p_wxValidator
,
34474 _swigc__p_wxVisualAttributes
,
34475 _swigc__p_wxWindow
,
34476 _swigc__p_wxWindowCreateEvent
,
34477 _swigc__p_wxWindowDestroyEvent
,
34478 _swigc__p_wxXPMHandler
,
34482 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34484 static swig_const_info swig_const_table
[] = {
34485 {0, 0, 0, 0.0, 0, 0}};
34490 /* -----------------------------------------------------------------------------
34491 * Type initialization:
34492 * This problem is tough by the requirement that no dynamic
34493 * memory is used. Also, since swig_type_info structures store pointers to
34494 * swig_cast_info structures and swig_cast_info structures store pointers back
34495 * to swig_type_info structures, we need some lookup code at initialization.
34496 * The idea is that swig generates all the structures that are needed.
34497 * The runtime then collects these partially filled structures.
34498 * The SWIG_InitializeModule function takes these initial arrays out of
34499 * swig_module, and does all the lookup, filling in the swig_module.types
34500 * array with the correct data and linking the correct swig_cast_info
34501 * structures together.
34503 * The generated swig_type_info structures are assigned staticly to an initial
34504 * array. We just loop though that array, and handle each type individually.
34505 * First we lookup if this type has been already loaded, and if so, use the
34506 * loaded structure instead of the generated one. Then we have to fill in the
34507 * cast linked list. The cast data is initially stored in something like a
34508 * two-dimensional array. Each row corresponds to a type (there are the same
34509 * number of rows as there are in the swig_type_initial array). Each entry in
34510 * a column is one of the swig_cast_info structures for that type.
34511 * The cast_initial array is actually an array of arrays, because each row has
34512 * a variable number of columns. So to actually build the cast linked list,
34513 * we find the array of casts associated with the type, and loop through it
34514 * adding the casts to the list. The one last trick we need to do is making
34515 * sure the type pointer in the swig_cast_info struct is correct.
34517 * First off, we lookup the cast->type name to see if it is already loaded.
34518 * There are three cases to handle:
34519 * 1) If the cast->type has already been loaded AND the type we are adding
34520 * casting info to has not been loaded (it is in this module), THEN we
34521 * replace the cast->type pointer with the type pointer that has already
34523 * 2) If BOTH types (the one we are adding casting info to, and the
34524 * cast->type) are loaded, THEN the cast info has already been loaded by
34525 * the previous module so we just ignore it.
34526 * 3) Finally, if cast->type has not already been loaded, then we add that
34527 * swig_cast_info to the linked list (because the cast->type) pointer will
34529 * ----------------------------------------------------------------------------- */
34539 #define SWIGRUNTIME_DEBUG
34543 SWIG_InitializeModule(void *clientdata
) {
34545 swig_module_info
*module_head
;
34546 static int init_run
= 0;
34548 clientdata
= clientdata
;
34550 if (init_run
) return;
34553 /* Initialize the swig_module */
34554 swig_module
.type_initial
= swig_type_initial
;
34555 swig_module
.cast_initial
= swig_cast_initial
;
34557 /* Try and load any already created modules */
34558 module_head
= SWIG_GetModule(clientdata
);
34560 swig_module
.next
= module_head
->next
;
34561 module_head
->next
= &swig_module
;
34563 /* This is the first module loaded */
34564 swig_module
.next
= &swig_module
;
34565 SWIG_SetModule(clientdata
, &swig_module
);
34568 /* Now work on filling in swig_module.types */
34569 #ifdef SWIGRUNTIME_DEBUG
34570 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34572 for (i
= 0; i
< swig_module
.size
; ++i
) {
34573 swig_type_info
*type
= 0;
34574 swig_type_info
*ret
;
34575 swig_cast_info
*cast
;
34577 #ifdef SWIGRUNTIME_DEBUG
34578 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34581 /* if there is another module already loaded */
34582 if (swig_module
.next
!= &swig_module
) {
34583 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34586 /* Overwrite clientdata field */
34587 #ifdef SWIGRUNTIME_DEBUG
34588 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34590 if (swig_module
.type_initial
[i
]->clientdata
) {
34591 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34592 #ifdef SWIGRUNTIME_DEBUG
34593 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34597 type
= swig_module
.type_initial
[i
];
34600 /* Insert casting types */
34601 cast
= swig_module
.cast_initial
[i
];
34602 while (cast
->type
) {
34603 /* Don't need to add information already in the list */
34605 #ifdef SWIGRUNTIME_DEBUG
34606 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34608 if (swig_module
.next
!= &swig_module
) {
34609 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34610 #ifdef SWIGRUNTIME_DEBUG
34611 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34615 if (type
== swig_module
.type_initial
[i
]) {
34616 #ifdef SWIGRUNTIME_DEBUG
34617 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34622 /* Check for casting already in the list */
34623 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34624 #ifdef SWIGRUNTIME_DEBUG
34625 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34627 if (!ocast
) ret
= 0;
34632 #ifdef SWIGRUNTIME_DEBUG
34633 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34636 type
->cast
->prev
= cast
;
34637 cast
->next
= type
->cast
;
34643 /* Set entry in modules->types array equal to the type */
34644 swig_module
.types
[i
] = type
;
34646 swig_module
.types
[i
] = 0;
34648 #ifdef SWIGRUNTIME_DEBUG
34649 printf("**** SWIG_InitializeModule: Cast List ******\n");
34650 for (i
= 0; i
< swig_module
.size
; ++i
) {
34652 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34653 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34654 while (cast
->type
) {
34655 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34659 printf("---- Total casts: %d\n",j
);
34661 printf("**** SWIG_InitializeModule: Cast List ******\n");
34665 /* This function will propagate the clientdata field of type to
34666 * any new swig_type_info structures that have been added into the list
34667 * of equivalent types. It is like calling
34668 * SWIG_TypeClientData(type, clientdata) a second time.
34671 SWIG_PropagateClientData(void) {
34673 swig_cast_info
*equiv
;
34674 static int init_run
= 0;
34676 if (init_run
) return;
34679 for (i
= 0; i
< swig_module
.size
; i
++) {
34680 if (swig_module
.types
[i
]->clientdata
) {
34681 equiv
= swig_module
.types
[i
]->cast
;
34683 if (!equiv
->converter
) {
34684 if (equiv
->type
&& !equiv
->type
->clientdata
)
34685 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34687 equiv
= equiv
->next
;
34707 /* Python-specific SWIG API */
34708 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34709 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34710 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34712 /* -----------------------------------------------------------------------------
34713 * global variable support code.
34714 * ----------------------------------------------------------------------------- */
34716 typedef struct swig_globalvar
{
34717 char *name
; /* Name of global variable */
34718 PyObject
*(*get_attr
)(void); /* Return the current value */
34719 int (*set_attr
)(PyObject
*); /* Set the value */
34720 struct swig_globalvar
*next
;
34723 typedef struct swig_varlinkobject
{
34725 swig_globalvar
*vars
;
34726 } swig_varlinkobject
;
34728 SWIGINTERN PyObject
*
34729 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34730 return PyString_FromString("<Swig global variables>");
34733 SWIGINTERN PyObject
*
34734 swig_varlink_str(swig_varlinkobject
*v
) {
34735 PyObject
*str
= PyString_FromString("(");
34736 swig_globalvar
*var
;
34737 for (var
= v
->vars
; var
; var
=var
->next
) {
34738 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34739 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34741 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34746 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34747 PyObject
*str
= swig_varlink_str(v
);
34748 fprintf(fp
,"Swig global variables ");
34749 fprintf(fp
,"%s\n", PyString_AsString(str
));
34755 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34756 swig_globalvar
*var
= v
->vars
;
34758 swig_globalvar
*n
= var
->next
;
34765 SWIGINTERN PyObject
*
34766 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34767 PyObject
*res
= NULL
;
34768 swig_globalvar
*var
= v
->vars
;
34770 if (strcmp(var
->name
,n
) == 0) {
34771 res
= (*var
->get_attr
)();
34776 if (res
== NULL
&& !PyErr_Occurred()) {
34777 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34783 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34785 swig_globalvar
*var
= v
->vars
;
34787 if (strcmp(var
->name
,n
) == 0) {
34788 res
= (*var
->set_attr
)(p
);
34793 if (res
== 1 && !PyErr_Occurred()) {
34794 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34799 SWIGINTERN PyTypeObject
*
34800 swig_varlink_type(void) {
34801 static char varlink__doc__
[] = "Swig var link object";
34802 static PyTypeObject varlink_type
;
34803 static int type_init
= 0;
34805 const PyTypeObject tmp
34807 PyObject_HEAD_INIT(NULL
)
34808 0, /* Number of items in variable part (ob_size) */
34809 (char *)"swigvarlink", /* Type name (tp_name) */
34810 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34811 0, /* Itemsize (tp_itemsize) */
34812 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34813 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34814 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34815 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34816 0, /* tp_compare */
34817 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34818 0, /* tp_as_number */
34819 0, /* tp_as_sequence */
34820 0, /* tp_as_mapping */
34823 (reprfunc
)swig_varlink_str
, /* tp_str */
34824 0, /* tp_getattro */
34825 0, /* tp_setattro */
34826 0, /* tp_as_buffer */
34828 varlink__doc__
, /* tp_doc */
34829 0, /* tp_traverse */
34831 0, /* tp_richcompare */
34832 0, /* tp_weaklistoffset */
34833 #if PY_VERSION_HEX >= 0x02020000
34834 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34836 #if PY_VERSION_HEX >= 0x02030000
34839 #ifdef COUNT_ALLOCS
34840 0,0,0,0 /* tp_alloc -> tp_next */
34843 varlink_type
= tmp
;
34844 varlink_type
.ob_type
= &PyType_Type
;
34847 return &varlink_type
;
34850 /* Create a variable linking object for use later */
34851 SWIGINTERN PyObject
*
34852 SWIG_Python_newvarlink(void) {
34853 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34857 return ((PyObject
*) result
);
34861 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34862 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34863 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34865 size_t size
= strlen(name
)+1;
34866 gv
->name
= (char *)malloc(size
);
34868 strncpy(gv
->name
,name
,size
);
34869 gv
->get_attr
= get_attr
;
34870 gv
->set_attr
= set_attr
;
34871 gv
->next
= v
->vars
;
34877 SWIGINTERN PyObject
*
34879 static PyObject
*_SWIG_globals
= 0;
34880 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34881 return _SWIG_globals
;
34884 /* -----------------------------------------------------------------------------
34885 * constants/methods manipulation
34886 * ----------------------------------------------------------------------------- */
34888 /* Install Constants */
34890 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34893 for (i
= 0; constants
[i
].type
; ++i
) {
34894 switch(constants
[i
].type
) {
34895 case SWIG_PY_POINTER
:
34896 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34898 case SWIG_PY_BINARY
:
34899 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34906 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34912 /* -----------------------------------------------------------------------------*/
34913 /* Fix SwigMethods to carry the callback ptrs when needed */
34914 /* -----------------------------------------------------------------------------*/
34917 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34918 swig_const_info
*const_table
,
34919 swig_type_info
**types
,
34920 swig_type_info
**types_initial
) {
34922 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34923 const char *c
= methods
[i
].ml_doc
;
34924 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34926 swig_const_info
*ci
= 0;
34927 const char *name
= c
+ 10;
34928 for (j
= 0; const_table
[j
].type
; ++j
) {
34929 if (strncmp(const_table
[j
].name
, name
,
34930 strlen(const_table
[j
].name
)) == 0) {
34931 ci
= &(const_table
[j
]);
34936 size_t shift
= (ci
->ptype
) - types
;
34937 swig_type_info
*ty
= types_initial
[shift
];
34938 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34939 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34940 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34943 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34945 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34947 strncpy(buff
, "swig_ptr: ", 10);
34949 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34950 methods
[i
].ml_doc
= ndoc
;
34962 /* -----------------------------------------------------------------------------*
34963 * Partial Init method
34964 * -----------------------------------------------------------------------------*/
34969 SWIGEXPORT
void SWIG_init(void) {
34972 /* Fix SwigMethods to carry the callback ptrs when needed */
34973 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34975 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34976 d
= PyModule_GetDict(m
);
34978 SWIG_InitializeModule(0);
34979 SWIG_InstallConstants(d
,swig_const_table
);
34982 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34983 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34984 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34985 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34986 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34987 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34988 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34989 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34990 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34991 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34992 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34993 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34994 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34995 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34996 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34997 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34998 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34999 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
35000 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
35001 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
35002 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
35003 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
35004 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
35005 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
35006 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
35007 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
35008 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
35009 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
35010 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
35011 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
35012 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
35013 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
35014 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
35015 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
35016 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
35017 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
35018 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
35019 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
35020 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
35021 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
35022 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
35023 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
35024 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
35025 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
35026 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
35027 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
35028 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
35029 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
35030 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
35031 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
35032 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
35033 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
35034 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
35035 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
35036 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
35037 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
35038 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
35039 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
35040 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
35041 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
35042 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
35043 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
35044 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
35045 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
35046 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
35047 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
35048 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
35049 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
35050 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
35051 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
35052 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
35053 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
35054 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
35055 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
35056 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
35057 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
35058 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
35059 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
35060 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
35061 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
35062 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
35063 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
35064 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
35065 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
35066 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
35067 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
35068 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
35069 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
35070 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
35071 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
35072 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
35073 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
35074 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
35075 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
35076 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
35077 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
35078 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
35079 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
35080 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
35081 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
35082 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
35083 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
35084 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
35085 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
35086 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
35087 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
35088 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
35089 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
35090 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
35092 // Map renamed classes back to their common name for OOR
35093 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35094 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35095 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35097 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
35098 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
35099 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
35100 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
35101 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
35102 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
35103 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
35104 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
35105 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
35106 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
35107 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
35108 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
35109 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
35110 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
35111 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
35112 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
35113 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
35114 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
35115 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
35116 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
35117 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
35118 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
35119 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
35120 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
35121 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
35122 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
35123 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
35124 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
35125 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
35126 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
35127 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
35128 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
35129 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
35130 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
35131 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
35132 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
35133 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
35134 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
35135 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
35136 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
35137 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
35138 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
35139 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
35140 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
35141 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
35142 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
35143 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
35144 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
35145 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
35146 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
35147 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
35148 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
35149 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
35150 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
35151 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35152 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35153 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35154 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35155 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35156 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35157 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35158 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35159 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35160 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
35161 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
35162 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
35163 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
35164 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
35165 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
35166 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
35167 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
35168 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
35169 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
35170 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
35171 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
35172 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
35173 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
35174 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
35175 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
35176 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
35177 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
35178 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
35179 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
35180 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
35181 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
35182 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
35183 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
35184 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
35185 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
35186 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
35187 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
35188 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
35189 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
35190 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
35191 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
35192 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
35193 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
35194 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
35195 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35196 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35197 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35198 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35199 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35200 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35202 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");