1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2825 int style
= self
->GetExtraStyle();
2827 style
|= wxFRAME_EX_METAL
;
2829 style
&= ~wxFRAME_EX_METAL
;
2830 self
->SetExtraStyle(style
);
2833 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2837 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2839 self
->GetFieldRect(i
, r
);
2842 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2843 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2844 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2846 #include <wx/popupwin.h>
2849 class wxPopupWindow
: public wxWindow
{
2851 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2852 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2855 class wxPyPopupTransientWindow
: public wxPopupWindow
2858 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2859 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2863 #include <wx/tipwin.h>
2865 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2866 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2869 #include <wx/tipwin.h>
2872 #include <wx/vscroll.h>
2875 class wxPyVScrolledWindow
: public wxVScrolledWindow
2877 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2879 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2881 wxPyVScrolledWindow(wxWindow
*parent
,
2882 wxWindowID id
= wxID_ANY
,
2883 const wxPoint
& pos
= wxDefaultPosition
,
2884 const wxSize
& size
= wxDefaultSize
,
2886 const wxString
& name
= wxPyPanelNameStr
)
2887 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2890 // Overridable virtuals
2892 // this function must be overridden in the derived class and it should
2893 // return the height of the given line in pixels
2894 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2897 // this function doesn't have to be overridden but it may be useful to do
2898 // it if calculating the lines heights is a relatively expensive operation
2899 // as it gives the user code a possibility to calculate several of them at
2902 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2903 // shouldn't rely on the latter being called for all lines in the interval
2904 // specified here. It is also possible that OnGetLineHeight() will be
2905 // called for the lines outside of this interval, so this is really just a
2906 // hint, not a promise.
2908 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2910 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2913 // when the number of lines changes, we try to estimate the total height
2914 // of all lines which is a rather expensive operation in terms of lines
2915 // access, so if the user code may estimate the average height
2916 // better/faster than we do, it should override this function to implement
2919 // this function should return the best guess for the total height it may
2921 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2924 // Also expose some other interesting protected methods
2927 // find the index of the line we need to show at the top of the window such
2928 // that the last (fully or partially) visible line is the given one
2929 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2930 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2932 // get the total height of the lines between lineMin (inclusive) and
2933 // lineMax (exclusive)
2934 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2935 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2937 // update the thumb size shown by the scrollbar
2938 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2940 // remove the scrollbar completely because we don't need it
2941 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2946 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2948 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2949 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2950 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2954 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2957 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2958 return SWIG_TypeError
;
2961 *val
= (unsigned long)v
;
2966 SWIGINTERNINLINE
int
2967 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2970 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2971 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2976 SWIGINTERNINLINE PyObject
*
2977 SWIG_From_unsigned_SS_long (unsigned long value
)
2979 return (value
> LONG_MAX
) ?
2980 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2984 SWIGINTERNINLINE PyObject
*
2985 SWIG_From_size_t (size_t value
)
2987 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2991 #include <wx/vlbox.h>
2993 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2995 class wxPyVListBox
: public wxVListBox
2997 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2999 wxPyVListBox() : wxVListBox() {}
3001 wxPyVListBox(wxWindow
*parent
,
3002 wxWindowID id
= wxID_ANY
,
3003 const wxPoint
& pos
= wxDefaultPosition
,
3004 const wxSize
& size
= wxDefaultSize
,
3006 const wxString
& name
= wxPyVListBoxNameStr
)
3007 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3010 // Overridable virtuals
3012 // the derived class must implement this function to actually draw the item
3013 // with the given index on the provided DC
3014 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3015 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3018 // the derived class must implement this method to return the height of the
3020 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3021 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3024 // this method may be used to draw separators between the lines; note that
3025 // the rectangle may be modified, typically to deflate it a bit before
3026 // passing to OnDrawItem()
3028 // the base class version doesn't do anything
3029 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3033 // this method is used to draw the items background and, maybe, a border
3036 // the base class version implements a reasonable default behaviour which
3037 // consists in drawing the selected item with the standard background
3038 // colour and drawing a border around the item if it is either selected or
3040 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3041 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3047 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3049 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3050 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3051 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3052 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3055 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3056 unsigned long cookie
= 0;
3057 int selected
= self
->GetFirstSelected(cookie
);
3058 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3059 PyObject
* tup
= PyTuple_New(2);
3060 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3061 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3062 wxPyEndBlockThreads(blocked
);
3065 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3066 int selected
= self
->GetNextSelected(cookie
);
3067 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3068 PyObject
* tup
= PyTuple_New(2);
3069 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3070 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3071 wxPyEndBlockThreads(blocked
);
3075 #include <wx/htmllbox.h>
3078 class wxPyHtmlListBox
: public wxHtmlListBox
3080 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3082 wxPyHtmlListBox() : wxHtmlListBox() {}
3084 wxPyHtmlListBox(wxWindow
*parent
,
3085 wxWindowID id
= wxID_ANY
,
3086 const wxPoint
& pos
= wxDefaultPosition
,
3087 const wxSize
& size
= wxDefaultSize
,
3089 const wxString
& name
= wxPyVListBoxNameStr
)
3090 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3093 // Overridable virtuals
3095 // this method must be implemented in the derived class and should return
3096 // the body (i.e. without <html>) of the HTML for the given item
3097 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3099 // this function may be overridden to decorate HTML returned by OnGetItem()
3100 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3102 // These are from wxVListBox
3103 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3104 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3107 // // this method allows to customize the selection appearance: it may be used
3108 // // to specify the colour of the text which normally has the given colour
3109 // // colFg when it is inside the selection
3111 // // by default, the original colour is not used at all and all text has the
3112 // // same (default for this system) colour inside selection
3113 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3115 // // this is the same as GetSelectedTextColour() but allows to customize the
3116 // // background colour -- this is even more rarely used as you can change it
3117 // // globally using SetSelectionBackground()
3118 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3121 // This method may be overriden to handle clicking on a link in
3122 // the listbox. By default, clicking links is ignored.
3123 virtual void OnLinkClicked(size_t n
,
3124 const wxHtmlLinkInfo
& link
);
3130 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3132 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3133 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3134 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3135 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3138 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3139 const wxHtmlLinkInfo
& link
) {
3141 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3142 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3143 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3144 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3147 wxPyEndBlockThreads(blocked
);
3149 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3156 #ifndef wxHAS_TASK_BAR_ICON
3157 // implement dummy classes for platforms that don't have it
3159 class wxTaskBarIcon
: public wxEvtHandler
3162 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3166 class wxTaskBarIconEvent
: public wxEvent
3169 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3170 { wxPyRaiseNotImplemented(); }
3171 virtual wxEvent
* Clone() const { return NULL
; }
3172 bool IsOk() const { return false; }
3173 bool IsIconInstalled() const { return false; }
3174 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3175 bool RemoveIcon() { return false; }
3176 bool PopupMenu(wxMenu
*menu
) { return false; }
3180 wxEVT_TASKBAR_MOVE
= 0,
3181 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3182 wxEVT_TASKBAR_LEFT_UP
= 0,
3183 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3184 wxEVT_TASKBAR_RIGHT_UP
= 0,
3185 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3186 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3191 // Otherwise make a class that can virtualize CreatePopupMenu
3192 class wxPyTaskBarIcon
: public wxTaskBarIcon
3194 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3196 wxPyTaskBarIcon() : wxTaskBarIcon()
3199 wxMenu
* CreatePopupMenu() {
3200 wxMenu
*rval
= NULL
;
3202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3203 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3206 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3208 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3213 wxPyEndBlockThreads(blocked
);
3215 rval
= wxTaskBarIcon::CreatePopupMenu();
3222 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3226 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3230 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3231 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3232 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3233 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3234 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3235 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3237 // for compatibility only
3238 #define wxHIDE_READONLY 0
3240 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3242 self
->GetFilenames(arr
);
3243 return wxArrayString2PyList_helper(arr
);
3245 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3247 self
->GetPaths(arr
);
3248 return wxArrayString2PyList_helper(arr
);
3250 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3251 return wxArrayInt2PyList_helper(self
->GetSelections());
3253 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
){
3254 return new wxSingleChoiceDialog(parent
, message
, caption
,
3255 choices
, choices_array
, NULL
, style
, pos
);
3257 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3259 SWIGINTERNINLINE PyObject
*
3260 SWIG_From_bool (bool value
)
3262 return PyBool_FromLong(value
? 1 : 0);
3268 // C++ version of Python aware wxWindow
3269 class wxPyWindow
: public wxWindow
3271 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3273 wxPyWindow() : wxWindow() {}
3274 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3275 const wxPoint
& pos
= wxDefaultPosition
,
3276 const wxSize
& size
= wxDefaultSize
,
3278 const wxString
& name
= wxPyPanelNameStr
)
3279 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3282 bool DoEraseBackground(wxDC
* dc
) {
3284 return wxWindow::DoEraseBackground(dc
->GetHDC());
3286 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3292 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3293 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3299 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3301 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3302 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3304 DEC_PYCALLBACK__(InitDialog
);
3305 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3306 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3307 DEC_PYCALLBACK_BOOL_(Validate
);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3310 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3311 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3314 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3316 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3317 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3319 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3321 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3326 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3328 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3329 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3335 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3340 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3343 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3346 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3347 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3350 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3353 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3357 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3359 // C++ version of Python aware wxPanel
3360 class wxPyPanel
: public wxPanel
3362 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3364 wxPyPanel() : wxPanel() {}
3365 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3366 const wxPoint
& pos
= wxDefaultPosition
,
3367 const wxSize
& size
= wxDefaultSize
,
3369 const wxString
& name
= wxPyPanelNameStr
)
3370 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3372 bool DoEraseBackground(wxDC
* dc
) {
3374 return wxWindow::DoEraseBackground(dc
->GetHDC());
3376 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3383 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3384 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3386 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3390 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3393 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3395 DEC_PYCALLBACK__(InitDialog
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3397 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3398 DEC_PYCALLBACK_BOOL_(Validate
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3401 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3402 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3405 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3407 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3408 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3410 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3412 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3417 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3419 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3420 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3422 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3426 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3429 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3431 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3434 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3437 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3438 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3441 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3444 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3448 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3450 // C++ version of Python aware wxScrolledWindow
3451 class wxPyScrolledWindow
: public wxScrolledWindow
3453 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3455 wxPyScrolledWindow() : wxScrolledWindow() {}
3456 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3457 const wxPoint
& pos
= wxDefaultPosition
,
3458 const wxSize
& size
= wxDefaultSize
,
3460 const wxString
& name
= wxPyPanelNameStr
)
3461 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3463 bool DoEraseBackground(wxDC
* dc
) {
3465 return wxWindow::DoEraseBackground(dc
->GetHDC());
3467 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3485 DEC_PYCALLBACK__(InitDialog
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3488 DEC_PYCALLBACK_BOOL_(Validate
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3521 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3541 #include "wx/wxPython/printfw.h"
3544 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3550 self
->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked
);
3554 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3555 if (! PyString_Check(data
)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3557 "Expected string object"));
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3563 wxPyEndBlockThreads(blocked
);
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3571 bool hadErr
= false;
3574 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3576 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3577 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3580 val
= PyTuple_GetItem(result
, 0);
3581 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 1);
3585 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 2);
3589 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3592 val
= PyTuple_GetItem(result
, 3);
3593 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3600 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3605 wxPyEndBlockThreads(blocked
);
3607 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3616 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3640 wxPyEndBlockThreads(blocked); \
3642 rval = PCLASS::CBNAME(a, b); \
3649 class wxPyPrintPreview
: public wxPrintPreview
3651 DECLARE_CLASS(wxPyPrintPreview
)
3653 wxPyPrintPreview(wxPyPrintout
* printout
,
3654 wxPyPrintout
* printoutForPrinting
,
3655 wxPrintDialogData
* data
=NULL
)
3656 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3658 wxPyPrintPreview(wxPyPrintout
* printout
,
3659 wxPyPrintout
* printoutForPrinting
,
3661 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3681 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3693 class wxPyPreviewFrame
: public wxPreviewFrame
3695 DECLARE_CLASS(wxPyPreviewFrame
)
3697 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3698 const wxString
& title
,
3699 const wxPoint
& pos
= wxDefaultPosition
,
3700 const wxSize
& size
= wxDefaultSize
,
3701 long style
= wxDEFAULT_FRAME_STYLE
,
3702 const wxString
& name
= wxPyFrameNameStr
)
3703 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3706 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3707 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3709 DEC_PYCALLBACK_VOID_(Initialize
);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3716 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3723 class wxPyPreviewControlBar
: public wxPreviewControlBar
3725 DECLARE_CLASS(wxPyPreviewControlBar
)
3727 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3730 const wxPoint
& pos
= wxDefaultPosition
,
3731 const wxSize
& size
= wxDefaultSize
,
3733 const wxString
& name
= wxPyPanelNameStr
)
3734 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3737 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3739 DEC_PYCALLBACK_VOID_(CreateButtons
);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3752 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
= 0;
3754 wxWindow
*arg1
= (wxWindow
*) 0 ;
3755 int arg2
= (int) (int)-1 ;
3756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3760 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3761 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3763 wxPanel
*result
= 0 ;
3772 bool temp6
= false ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3777 PyObject
* obj4
= 0 ;
3778 PyObject
* obj5
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3809 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3810 if (!SWIG_IsOK(ecode5
)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3813 arg5
= static_cast< long >(val5
);
3817 arg6
= wxString_in_helper(obj5
);
3818 if (arg6
== NULL
) SWIG_fail
;
3823 if (!wxPyCheckForApp()) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3844 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3845 PyObject
*resultobj
= 0;
3846 wxPanel
*result
= 0 ;
3848 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxPanel
*)new wxPanel();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3863 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
= 0;
3865 wxPanel
*arg1
= (wxPanel
*) 0 ;
3866 wxWindow
*arg2
= (wxWindow
*) 0 ;
3867 int arg3
= (int) (int)-1 ;
3868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3872 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3873 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3886 bool temp7
= false ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3889 PyObject
* obj2
= 0 ;
3890 PyObject
* obj3
= 0 ;
3891 PyObject
* obj4
= 0 ;
3892 PyObject
* obj5
= 0 ;
3893 PyObject
* obj6
= 0 ;
3894 char * kwnames
[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3900 if (!SWIG_IsOK(res1
)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3903 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3905 if (!SWIG_IsOK(res2
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3911 if (!SWIG_IsOK(ecode3
)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3914 arg3
= static_cast< int >(val3
);
3919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3929 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3930 if (!SWIG_IsOK(ecode6
)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3933 arg6
= static_cast< long >(val6
);
3937 arg7
= wxString_in_helper(obj6
);
3938 if (arg7
== NULL
) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3965 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3966 PyObject
*resultobj
= 0;
3967 wxPanel
*arg1
= (wxPanel
*) 0 ;
3970 PyObject
*swig_obj
[1] ;
3972 if (!args
) SWIG_fail
;
3974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3975 if (!SWIG_IsOK(res1
)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3978 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_Py_Void();
3992 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
= 0;
3994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3995 SwigValueWrapper
<wxVisualAttributes
> result
;
3998 PyObject
* obj0
= 0 ;
3999 char * kwnames
[] = {
4000 (char *) "variant", NULL
4003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4006 if (!SWIG_IsOK(ecode1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4009 arg1
= static_cast< wxWindowVariant
>(val1
);
4012 if (!wxPyCheckForApp()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4025 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4029 return SWIG_Py_Void();
4032 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 return SWIG_Python_InitShadowInstance(args
);
4036 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
= 0;
4038 wxWindow
*arg1
= (wxWindow
*) 0 ;
4039 int arg2
= (int) (int)-1 ;
4040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4044 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4045 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4046 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4047 wxScrolledWindow
*result
= 0 ;
4056 bool temp6
= false ;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 char * kwnames
[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4069 if (!SWIG_IsOK(res1
)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4075 if (!SWIG_IsOK(ecode2
)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4078 arg2
= static_cast< int >(val2
);
4083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4093 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4094 if (!SWIG_IsOK(ecode5
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4097 arg5
= static_cast< long >(val5
);
4101 arg6
= wxString_in_helper(obj5
);
4102 if (arg6
== NULL
) SWIG_fail
;
4107 if (!wxPyCheckForApp()) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4128 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxScrolledWindow
*result
= 0 ;
4132 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
= 0;
4149 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4150 wxWindow
*arg2
= (wxWindow
*) 0 ;
4151 int arg3
= (int) (int)-1 ;
4152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4156 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4157 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4170 bool temp7
= false ;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 PyObject
* obj2
= 0 ;
4174 PyObject
* obj3
= 0 ;
4175 PyObject
* obj4
= 0 ;
4176 PyObject
* obj5
= 0 ;
4177 PyObject
* obj6
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4184 if (!SWIG_IsOK(res1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4187 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4189 if (!SWIG_IsOK(res2
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4195 if (!SWIG_IsOK(ecode3
)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4198 arg3
= static_cast< int >(val3
);
4203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4214 if (!SWIG_IsOK(ecode6
)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4217 arg6
= static_cast< long >(val6
);
4221 arg7
= wxString_in_helper(obj6
);
4222 if (arg7
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4256 int arg6
= (int) 0 ;
4257 int arg7
= (int) 0 ;
4258 bool arg8
= (bool) false ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 PyObject
* obj2
= 0 ;
4278 PyObject
* obj3
= 0 ;
4279 PyObject
* obj4
= 0 ;
4280 PyObject
* obj5
= 0 ;
4281 PyObject
* obj6
= 0 ;
4282 PyObject
* obj7
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4292 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4294 if (!SWIG_IsOK(ecode2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4297 arg2
= static_cast< int >(val2
);
4298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4299 if (!SWIG_IsOK(ecode3
)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4302 arg3
= static_cast< int >(val3
);
4303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4304 if (!SWIG_IsOK(ecode4
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4307 arg4
= static_cast< int >(val4
);
4308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4309 if (!SWIG_IsOK(ecode5
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4312 arg5
= static_cast< int >(val5
);
4314 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4315 if (!SWIG_IsOK(ecode6
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4318 arg6
= static_cast< int >(val6
);
4321 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4322 if (!SWIG_IsOK(ecode7
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4325 arg7
= static_cast< int >(val7
);
4328 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4329 if (!SWIG_IsOK(ecode8
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4332 arg8
= static_cast< bool >(val8
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_Py_Void();
4347 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
= 0;
4349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 char * kwnames
[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4370 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4372 if (!SWIG_IsOK(ecode2
)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4375 arg2
= static_cast< int >(val2
);
4376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4377 if (!SWIG_IsOK(ecode3
)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4380 arg3
= static_cast< int >(val3
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->Scroll(arg2
,arg3
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_Py_Void();
4394 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "self",(char *) "orient", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4414 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4416 if (!SWIG_IsOK(ecode2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4419 arg2
= static_cast< int >(val2
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_int(static_cast< int >(result
));
4433 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 PyObject
* obj2
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4456 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4458 if (!SWIG_IsOK(ecode2
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4461 arg2
= static_cast< int >(val2
);
4462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4463 if (!SWIG_IsOK(ecode3
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4466 arg3
= static_cast< int >(val3
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
= 0;
4482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4494 char * kwnames
[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4503 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4505 if (!SWIG_IsOK(ecode2
)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4508 arg2
= static_cast< int >(val2
);
4509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4510 if (!SWIG_IsOK(ecode3
)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4513 arg3
= static_cast< int >(val3
);
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->SetScrollRate(arg2
,arg3
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_Py_Void();
4527 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4528 PyObject
*resultobj
= 0;
4529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4530 int *arg2
= (int *) 0 ;
4531 int *arg3
= (int *) 0 ;
4535 int res2
= SWIG_TMPOBJ
;
4537 int res3
= SWIG_TMPOBJ
;
4538 PyObject
*swig_obj
[1] ;
4542 if (!args
) SWIG_fail
;
4544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4545 if (!SWIG_IsOK(res1
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4548 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2
)) {
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4559 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4562 if (SWIG_IsTmpObj(res3
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4574 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 char * kwnames
[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4597 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4599 if (!SWIG_IsOK(ecode2
)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4602 arg2
= static_cast< bool >(val2
);
4603 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4604 if (!SWIG_IsOK(ecode3
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4607 arg3
= static_cast< bool >(val3
);
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->EnableScrolling(arg2
,arg3
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_Py_Void();
4621 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4622 PyObject
*resultobj
= 0;
4623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4624 int *arg2
= (int *) 0 ;
4625 int *arg3
= (int *) 0 ;
4629 int res2
= SWIG_TMPOBJ
;
4631 int res3
= SWIG_TMPOBJ
;
4632 PyObject
*swig_obj
[1] ;
4636 if (!args
) SWIG_fail
;
4638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4639 if (!SWIG_IsOK(res1
)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4642 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2
)) {
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4653 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4656 if (SWIG_IsTmpObj(res3
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4659 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4668 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4691 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4693 if (!SWIG_IsOK(ecode2
)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4696 arg2
= static_cast< double >(val2
);
4697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4698 if (!SWIG_IsOK(ecode3
)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4701 arg3
= static_cast< double >(val3
);
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 (arg1
)->SetScale(arg2
,arg3
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_Py_Void();
4715 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4716 PyObject
*resultobj
= 0;
4717 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4721 PyObject
*swig_obj
[1] ;
4723 if (!args
) SWIG_fail
;
4725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4726 if (!SWIG_IsOK(res1
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4729 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= SWIG_From_double(static_cast< double >(result
));
4743 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 PyObject
*resultobj
= 0;
4745 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4749 PyObject
*swig_obj
[1] ;
4751 if (!args
) SWIG_fail
;
4753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4754 if (!SWIG_IsOK(res1
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4757 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_From_double(static_cast< double >(result
));
4771 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4772 PyObject
*resultobj
= 0;
4773 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4780 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4782 if (!SWIG_IsOK(res1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4785 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4788 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4803 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4804 PyObject
*resultobj
= 0;
4805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4808 int *arg4
= (int *) 0 ;
4809 int *arg5
= (int *) 0 ;
4817 int res4
= SWIG_TMPOBJ
;
4819 int res5
= SWIG_TMPOBJ
;
4823 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4828 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4829 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4830 if (!SWIG_IsOK(ecode2
)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4833 arg2
= static_cast< int >(val2
);
4834 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4835 if (!SWIG_IsOK(ecode3
)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4838 arg3
= static_cast< int >(val3
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4
)) {
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4849 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4852 if (SWIG_IsTmpObj(res5
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4855 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4864 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4883 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4884 PyObject
*resultobj
= 0;
4885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4892 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4897 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4900 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4915 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4916 PyObject
*resultobj
= 0;
4917 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4920 int *arg4
= (int *) 0 ;
4921 int *arg5
= (int *) 0 ;
4929 int res4
= SWIG_TMPOBJ
;
4931 int res5
= SWIG_TMPOBJ
;
4935 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4937 if (!SWIG_IsOK(res1
)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4940 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4941 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4942 if (!SWIG_IsOK(ecode2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4945 arg2
= static_cast< int >(val2
);
4946 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4947 if (!SWIG_IsOK(ecode3
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4950 arg3
= static_cast< int >(val3
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4
)) {
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4961 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4964 if (SWIG_IsTmpObj(res5
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4967 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4976 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4980 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4995 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5008 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= 0;
5024 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5025 wxScrollWinEvent
*arg2
= 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "event", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5042 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5044 if (!SWIG_IsOK(res2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5050 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_From_int(static_cast< int >(result
));
5064 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5067 wxWindow
*arg2
= (wxWindow
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "target", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5083 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5085 if (!SWIG_IsOK(res2
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetTargetWindow(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5102 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5103 PyObject
*resultobj
= 0;
5104 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5105 wxWindow
*result
= 0 ;
5108 PyObject
*swig_obj
[1] ;
5110 if (!args
) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5116 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= wxPyMake_wxObject(result
, 0);
5132 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "rect", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5182 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5196 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
= 0;
5198 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "self",(char *) "dc", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5215 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5217 if (!SWIG_IsOK(res2
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5223 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->DoPrepareDC(*arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_Py_Void();
5237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
= 0;
5239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5240 SwigValueWrapper
<wxVisualAttributes
> result
;
5243 PyObject
* obj0
= 0 ;
5244 char * kwnames
[] = {
5245 (char *) "variant", NULL
5248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5251 if (!SWIG_IsOK(ecode1
)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5254 arg1
= static_cast< wxWindowVariant
>(val1
);
5257 if (!wxPyCheckForApp()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5270 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5274 return SWIG_Py_Void();
5277 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 return SWIG_Python_InitShadowInstance(args
);
5281 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5282 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5287 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5288 PyObject
*pyobj
= 0;
5292 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5294 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5301 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5302 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5307 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5308 PyObject
*pyobj
= 0;
5312 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5314 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5321 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5322 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5327 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5328 PyObject
*pyobj
= 0;
5332 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5334 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5341 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5342 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5347 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5348 PyObject
*pyobj
= 0;
5352 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5354 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5361 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5364 bool arg2
= (bool) true ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "maximize", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5380 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5386 arg2
= static_cast< bool >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->Maximize(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 PyObject
*resultobj
= 0;
5403 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5414 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_Py_Void();
5428 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5431 bool arg2
= (bool) true ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5438 char * kwnames
[] = {
5439 (char *) "self",(char *) "iconize", NULL
5442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5450 if (!SWIG_IsOK(ecode2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5453 arg2
= static_cast< bool >(val2
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->Iconize(arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_Py_Void();
5468 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 PyObject
*resultobj
= 0;
5470 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5474 PyObject
*swig_obj
[1] ;
5476 if (!args
) SWIG_fail
;
5478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5479 if (!SWIG_IsOK(res1
)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5482 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5498 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 PyObject
*resultobj
= 0;
5500 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5504 PyObject
*swig_obj
[1] ;
5506 if (!args
) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5512 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5529 PyObject
*resultobj
= 0;
5530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5534 PyObject
*swig_obj
[1] ;
5536 if (!args
) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5542 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5558 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 PyObject
*resultobj
= 0;
5560 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5564 PyObject
*swig_obj
[1] ;
5566 if (!args
) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5572 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5586 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "icon", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5605 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5613 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_Py_Void();
5627 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= 0;
5629 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5630 wxIconBundle
*arg2
= 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 char * kwnames
[] = {
5638 (char *) "self",(char *) "icons", NULL
5641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5643 if (!SWIG_IsOK(res1
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5646 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5648 if (!SWIG_IsOK(res2
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5654 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_Py_Void();
5668 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5672 long arg3
= (long) wxFULLSCREEN_ALL
;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5682 PyObject
* obj2
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5694 if (!SWIG_IsOK(ecode2
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5697 arg2
= static_cast< bool >(val2
);
5699 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5700 if (!SWIG_IsOK(ecode3
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5703 arg3
= static_cast< long >(val3
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5721 PyObject
*resultobj
= 0;
5722 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5726 PyObject
*swig_obj
[1] ;
5728 if (!args
) SWIG_fail
;
5730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5731 if (!SWIG_IsOK(res1
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5734 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5750 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= 0;
5752 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5753 wxString
*arg2
= 0 ;
5756 bool temp2
= false ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 char * kwnames
[] = {
5760 (char *) "self",(char *) "title", NULL
5763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5768 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5770 arg2
= wxString_in_helper(obj1
);
5771 if (arg2
== NULL
) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->SetTitle((wxString
const &)*arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_Py_Void();
5795 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5809 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 char * kwnames
[] = {
5841 (char *) "self",(char *) "enable", NULL
5844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5846 if (!SWIG_IsOK(res1
)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5849 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5850 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5851 if (!SWIG_IsOK(ecode2
)) {
5852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5854 arg2
= static_cast< bool >(val2
);
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5870 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5872 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5873 wxRegion
*arg2
= 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "region", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5890 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5892 if (!SWIG_IsOK(res2
)) {
5893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5898 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5914 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
= 0;
5916 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5917 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 char * kwnames
[] = {
5925 (char *) "self",(char *) "flags", NULL
5928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5930 if (!SWIG_IsOK(res1
)) {
5931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5933 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5936 if (!SWIG_IsOK(ecode2
)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5939 arg2
= static_cast< int >(val2
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 (arg1
)->RequestUserAttention(arg2
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5960 PyObject
*swig_obj
[1] ;
5962 if (!args
) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5968 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (bool)(arg1
)->IsActive();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5984 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5986 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "on", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6003 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6004 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6005 if (!SWIG_IsOK(ecode2
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6008 arg2
= static_cast< bool >(val2
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_Py_Void();
6022 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6036 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6052 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
= 0;
6054 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6055 int arg2
= (int) wxBOTH
;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "self",(char *) "dir", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6071 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6074 if (!SWIG_IsOK(ecode2
)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6077 arg2
= static_cast< int >(val2
);
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 (arg1
)->CenterOnScreen(arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= SWIG_Py_Void();
6092 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6095 wxWindow
*result
= 0 ;
6098 PyObject
*swig_obj
[1] ;
6100 if (!args
) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6106 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= wxPyMake_wxObject(result
, 0);
6122 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
= 0;
6124 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6125 wxWindow
*arg2
= (wxWindow
*) 0 ;
6126 wxWindow
*result
= 0 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 char * kwnames
[] = {
6134 (char *) "self",(char *) "child", NULL
6137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6139 if (!SWIG_IsOK(res1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6142 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6144 if (!SWIG_IsOK(res2
)) {
6145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= wxPyMake_wxObject(result
, 0);
6163 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
= 0;
6165 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6166 wxWindow
*arg2
= (wxWindow
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6173 char * kwnames
[] = {
6174 (char *) "self",(char *) "win", NULL
6177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6179 if (!SWIG_IsOK(res1
)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6182 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6184 if (!SWIG_IsOK(res2
)) {
6185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 (arg1
)->SetTmpDefaultItem(arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_Py_Void();
6201 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6202 PyObject
*resultobj
= 0;
6203 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6204 wxWindow
*result
= 0 ;
6207 PyObject
*swig_obj
[1] ;
6209 if (!args
) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6215 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= wxPyMake_wxObject(result
, 0);
6231 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6234 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6235 return SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
= 0;
6240 wxWindow
*arg1
= (wxWindow
*) 0 ;
6241 int arg2
= (int) (int)-1 ;
6242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6248 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6249 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6251 wxFrame
*result
= 0 ;
6256 bool temp3
= false ;
6261 bool temp7
= false ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 PyObject
* obj2
= 0 ;
6265 PyObject
* obj3
= 0 ;
6266 PyObject
* obj4
= 0 ;
6267 PyObject
* obj5
= 0 ;
6268 PyObject
* obj6
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6278 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6281 if (!SWIG_IsOK(ecode2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6284 arg2
= static_cast< int >(val2
);
6288 arg3
= wxString_in_helper(obj2
);
6289 if (arg3
== NULL
) SWIG_fail
;
6296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6306 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6307 if (!SWIG_IsOK(ecode6
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6310 arg6
= static_cast< long >(val6
);
6314 arg7
= wxString_in_helper(obj6
);
6315 if (arg7
== NULL
) SWIG_fail
;
6320 if (!wxPyCheckForApp()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6349 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6350 PyObject
*resultobj
= 0;
6351 wxFrame
*result
= 0 ;
6353 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6355 if (!wxPyCheckForApp()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (wxFrame
*)new wxFrame();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6368 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= 0;
6370 wxFrame
*arg1
= (wxFrame
*) 0 ;
6371 wxWindow
*arg2
= (wxWindow
*) 0 ;
6372 int arg3
= (int) (int)-1 ;
6373 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6374 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6375 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6376 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6377 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6378 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6379 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6380 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6389 bool temp4
= false ;
6394 bool temp8
= false ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6398 PyObject
* obj3
= 0 ;
6399 PyObject
* obj4
= 0 ;
6400 PyObject
* obj5
= 0 ;
6401 PyObject
* obj6
= 0 ;
6402 PyObject
* obj7
= 0 ;
6403 char * kwnames
[] = {
6404 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6412 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6414 if (!SWIG_IsOK(res2
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6420 if (!SWIG_IsOK(ecode3
)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6423 arg3
= static_cast< int >(val3
);
6427 arg4
= wxString_in_helper(obj3
);
6428 if (arg4
== NULL
) SWIG_fail
;
6435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6445 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6446 if (!SWIG_IsOK(ecode7
)) {
6447 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6449 arg7
= static_cast< long >(val7
);
6453 arg8
= wxString_in_helper(obj7
);
6454 if (arg8
== NULL
) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6489 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxFrame
*arg1
= (wxFrame
*) 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6502 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 (arg1
)->SendSizeEvent();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_Py_Void();
6516 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
= 0;
6518 wxFrame
*arg1
= (wxFrame
*) 0 ;
6519 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 char * kwnames
[] = {
6527 (char *) "self",(char *) "menubar", NULL
6530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6532 if (!SWIG_IsOK(res1
)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6535 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6537 if (!SWIG_IsOK(res2
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6540 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetMenuBar(arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxFrame
*arg1
= (wxFrame
*) 0 ;
6557 wxMenuBar
*result
= 0 ;
6560 PyObject
*swig_obj
[1] ;
6562 if (!args
) SWIG_fail
;
6564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6565 if (!SWIG_IsOK(res1
)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6568 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= wxPyMake_wxObject(result
, 0);
6584 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
= 0;
6586 wxFrame
*arg1
= (wxFrame
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6595 char * kwnames
[] = {
6596 (char *) "self",(char *) "winid", NULL
6599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6604 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6606 if (!SWIG_IsOK(ecode2
)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6609 arg2
= static_cast< int >(val2
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6625 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
= 0;
6627 wxFrame
*arg1
= (wxFrame
*) 0 ;
6628 int arg2
= (int) 1 ;
6629 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6630 int arg4
= (int) 0 ;
6631 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6632 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6633 wxStatusBar
*result
= 0 ;
6642 bool temp5
= false ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 PyObject
* obj2
= 0 ;
6646 PyObject
* obj3
= 0 ;
6647 PyObject
* obj4
= 0 ;
6648 char * kwnames
[] = {
6649 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6654 if (!SWIG_IsOK(res1
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6657 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6660 if (!SWIG_IsOK(ecode2
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6663 arg2
= static_cast< int >(val2
);
6666 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6667 if (!SWIG_IsOK(ecode3
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6670 arg3
= static_cast< long >(val3
);
6673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6674 if (!SWIG_IsOK(ecode4
)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6677 arg4
= static_cast< int >(val4
);
6681 arg5
= wxString_in_helper(obj4
);
6682 if (arg5
== NULL
) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6709 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6710 PyObject
*resultobj
= 0;
6711 wxFrame
*arg1
= (wxFrame
*) 0 ;
6712 wxStatusBar
*result
= 0 ;
6715 PyObject
*swig_obj
[1] ;
6717 if (!args
) SWIG_fail
;
6719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6720 if (!SWIG_IsOK(res1
)) {
6721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6723 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6739 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
= 0;
6741 wxFrame
*arg1
= (wxFrame
*) 0 ;
6742 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6749 char * kwnames
[] = {
6750 (char *) "self",(char *) "statBar", NULL
6753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6758 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6760 if (!SWIG_IsOK(res2
)) {
6761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6763 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetStatusBar(arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_Py_Void();
6777 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
= 0;
6779 wxFrame
*arg1
= (wxFrame
*) 0 ;
6780 wxString
*arg2
= 0 ;
6781 int arg3
= (int) 0 ;
6784 bool temp2
= false ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 PyObject
* obj2
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "self",(char *) "text",(char *) "number", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6799 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6801 arg2
= wxString_in_helper(obj1
);
6802 if (arg2
== NULL
) SWIG_fail
;
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_Py_Void();
6833 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
= 0;
6835 wxFrame
*arg1
= (wxFrame
*) 0 ;
6837 int *arg3
= (int *) 0 ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 char * kwnames
[] = {
6843 (char *) "self",(char *) "widths", NULL
6846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6848 if (!SWIG_IsOK(res1
)) {
6849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6851 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6853 arg2
= PyList_Size(obj1
);
6854 arg3
= int_LIST_helper(obj1
);
6855 if (arg3
== NULL
) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= SWIG_Py_Void();
6865 if (arg3
) delete [] arg3
;
6870 if (arg3
) delete [] arg3
;
6876 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
= 0;
6878 wxFrame
*arg1
= (wxFrame
*) 0 ;
6879 wxString
*arg2
= 0 ;
6880 int arg3
= (int) 0 ;
6883 bool temp2
= false ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6888 PyObject
* obj2
= 0 ;
6889 char * kwnames
[] = {
6890 (char *) "self",(char *) "text",(char *) "number", NULL
6893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6895 if (!SWIG_IsOK(res1
)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6898 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6900 arg2
= wxString_in_helper(obj1
);
6901 if (arg2
== NULL
) SWIG_fail
;
6905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6906 if (!SWIG_IsOK(ecode3
)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6909 arg3
= static_cast< int >(val3
);
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxFrame
*arg1
= (wxFrame
*) 0 ;
6935 int arg2
= (int) 0 ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 char * kwnames
[] = {
6943 (char *) "self",(char *) "number", NULL
6946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6951 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6954 if (!SWIG_IsOK(ecode2
)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6957 arg2
= static_cast< int >(val2
);
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->PopStatusText(arg2
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_Py_Void();
6972 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxFrame
*arg1
= (wxFrame
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 char * kwnames
[] = {
6983 (char *) "self",(char *) "n", NULL
6986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6991 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6993 if (!SWIG_IsOK(ecode2
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6996 arg2
= static_cast< int >(val2
);
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->SetStatusBarPane(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7010 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7011 PyObject
*resultobj
= 0;
7012 wxFrame
*arg1
= (wxFrame
*) 0 ;
7016 PyObject
*swig_obj
[1] ;
7018 if (!args
) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7024 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_From_int(static_cast< int >(result
));
7038 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxFrame
*arg1
= (wxFrame
*) 0 ;
7041 long arg2
= (long) -1 ;
7042 int arg3
= (int) -1 ;
7043 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7044 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7045 wxToolBar
*result
= 0 ;
7052 bool temp4
= false ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7056 PyObject
* obj3
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7066 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7069 if (!SWIG_IsOK(ecode2
)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7072 arg2
= static_cast< long >(val2
);
7075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7076 if (!SWIG_IsOK(ecode3
)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7079 arg3
= static_cast< int >(val3
);
7083 arg4
= wxString_in_helper(obj3
);
7084 if (arg4
== NULL
) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7111 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7112 PyObject
*resultobj
= 0;
7113 wxFrame
*arg1
= (wxFrame
*) 0 ;
7114 wxToolBar
*result
= 0 ;
7117 PyObject
*swig_obj
[1] ;
7119 if (!args
) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7125 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7141 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
= 0;
7143 wxFrame
*arg1
= (wxFrame
*) 0 ;
7144 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 char * kwnames
[] = {
7152 (char *) "self",(char *) "toolbar", NULL
7155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7160 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7162 if (!SWIG_IsOK(res2
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7165 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetToolBar(arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_Py_Void();
7179 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
= 0;
7181 wxFrame
*arg1
= (wxFrame
*) 0 ;
7182 wxString
*arg2
= 0 ;
7186 bool temp2
= false ;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7191 PyObject
* obj2
= 0 ;
7192 char * kwnames
[] = {
7193 (char *) "self",(char *) "text",(char *) "show", NULL
7196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7198 if (!SWIG_IsOK(res1
)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7201 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7203 arg2
= wxString_in_helper(obj1
);
7204 if (arg2
== NULL
) SWIG_fail
;
7207 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7208 if (!SWIG_IsOK(ecode3
)) {
7209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7211 arg3
= static_cast< bool >(val3
);
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_Py_Void();
7233 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
= 0;
7235 wxFrame
*arg1
= (wxFrame
*) 0 ;
7236 wxMenu
*arg2
= (wxMenu
*) NULL
;
7241 PyObject
* obj0
= 0 ;
7242 PyObject
* obj1
= 0 ;
7243 char * kwnames
[] = {
7244 (char *) "self",(char *) "menu", NULL
7247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7252 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7255 if (!SWIG_IsOK(res2
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7258 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 (arg1
)->DoMenuUpdates(arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_Py_Void();
7273 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= 0;
7275 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7276 SwigValueWrapper
<wxVisualAttributes
> result
;
7279 PyObject
* obj0
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "variant", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7286 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7287 if (!SWIG_IsOK(ecode1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7290 arg1
= static_cast< wxWindowVariant
>(val1
);
7293 if (!wxPyCheckForApp()) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7306 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7310 return SWIG_Py_Void();
7313 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 return SWIG_Python_InitShadowInstance(args
);
7317 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
= 0;
7319 wxWindow
*arg1
= (wxWindow
*) 0 ;
7320 int arg2
= (int) (int)-1 ;
7321 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7322 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7327 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7328 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7330 wxDialog
*result
= 0 ;
7335 bool temp3
= false ;
7340 bool temp7
= false ;
7341 PyObject
* obj0
= 0 ;
7342 PyObject
* obj1
= 0 ;
7343 PyObject
* obj2
= 0 ;
7344 PyObject
* obj3
= 0 ;
7345 PyObject
* obj4
= 0 ;
7346 PyObject
* obj5
= 0 ;
7347 PyObject
* obj6
= 0 ;
7348 char * kwnames
[] = {
7349 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7360 if (!SWIG_IsOK(ecode2
)) {
7361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7363 arg2
= static_cast< int >(val2
);
7367 arg3
= wxString_in_helper(obj2
);
7368 if (arg3
== NULL
) SWIG_fail
;
7375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7385 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7386 if (!SWIG_IsOK(ecode6
)) {
7387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7389 arg6
= static_cast< long >(val6
);
7393 arg7
= wxString_in_helper(obj6
);
7394 if (arg7
== NULL
) SWIG_fail
;
7399 if (!wxPyCheckForApp()) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7428 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 PyObject
*resultobj
= 0;
7430 wxDialog
*result
= 0 ;
7432 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7434 if (!wxPyCheckForApp()) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (wxDialog
*)new wxDialog();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7447 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7449 wxDialog
*arg1
= (wxDialog
*) 0 ;
7450 wxWindow
*arg2
= (wxWindow
*) 0 ;
7451 int arg3
= (int) (int)-1 ;
7452 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7453 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7454 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7455 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7456 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7457 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7458 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7459 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7468 bool temp4
= false ;
7473 bool temp8
= false ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 PyObject
* obj2
= 0 ;
7477 PyObject
* obj3
= 0 ;
7478 PyObject
* obj4
= 0 ;
7479 PyObject
* obj5
= 0 ;
7480 PyObject
* obj6
= 0 ;
7481 PyObject
* obj7
= 0 ;
7482 char * kwnames
[] = {
7483 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7488 if (!SWIG_IsOK(res1
)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7491 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7493 if (!SWIG_IsOK(res2
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7496 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7499 if (!SWIG_IsOK(ecode3
)) {
7500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7502 arg3
= static_cast< int >(val3
);
7506 arg4
= wxString_in_helper(obj3
);
7507 if (arg4
== NULL
) SWIG_fail
;
7514 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7520 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7524 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7525 if (!SWIG_IsOK(ecode7
)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7528 arg7
= static_cast< long >(val7
);
7532 arg8
= wxString_in_helper(obj7
);
7533 if (arg8
== NULL
) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7568 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7570 wxDialog
*arg1
= (wxDialog
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7578 char * kwnames
[] = {
7579 (char *) "self",(char *) "returnCode", NULL
7582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7584 if (!SWIG_IsOK(res1
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7587 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7589 if (!SWIG_IsOK(ecode2
)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7592 arg2
= static_cast< int >(val2
);
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 (arg1
)->SetReturnCode(arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_Py_Void();
7606 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxDialog
*arg1
= (wxDialog
*) 0 ;
7612 PyObject
*swig_obj
[1] ;
7614 if (!args
) SWIG_fail
;
7616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7617 if (!SWIG_IsOK(res1
)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7620 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_From_int(static_cast< int >(result
));
7634 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= 0;
7636 wxDialog
*arg1
= (wxDialog
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 char * kwnames
[] = {
7645 (char *) "self",(char *) "affirmativeId", NULL
7648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7653 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7655 if (!SWIG_IsOK(ecode2
)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7658 arg2
= static_cast< int >(val2
);
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->SetAffirmativeId(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_Py_Void();
7672 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7673 PyObject
*resultobj
= 0;
7674 wxDialog
*arg1
= (wxDialog
*) 0 ;
7678 PyObject
*swig_obj
[1] ;
7680 if (!args
) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7686 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_From_int(static_cast< int >(result
));
7700 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxDialog
*arg1
= (wxDialog
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "escapeId", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7719 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7724 arg2
= static_cast< int >(val2
);
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetEscapeId(arg2
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7739 PyObject
*resultobj
= 0;
7740 wxDialog
*arg1
= (wxDialog
*) 0 ;
7744 PyObject
*swig_obj
[1] ;
7746 if (!args
) SWIG_fail
;
7748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7749 if (!SWIG_IsOK(res1
)) {
7750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7752 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= SWIG_From_int(static_cast< int >(result
));
7766 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
= 0;
7768 wxDialog
*arg1
= (wxDialog
*) 0 ;
7769 wxString
*arg2
= 0 ;
7770 wxSizer
*result
= 0 ;
7773 bool temp2
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 char * kwnames
[] = {
7777 (char *) "self",(char *) "message", NULL
7780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7782 if (!SWIG_IsOK(res1
)) {
7783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7785 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7787 arg2
= wxString_in_helper(obj1
);
7788 if (arg2
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7814 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxDialog
*arg1
= (wxDialog
*) 0 ;
7818 wxSizer
*result
= 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 char * kwnames
[] = {
7826 (char *) "self",(char *) "flags", NULL
7829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7831 if (!SWIG_IsOK(res1
)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7834 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7835 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7836 if (!SWIG_IsOK(ecode2
)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7839 arg2
= static_cast< long >(val2
);
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7855 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
= 0;
7857 wxDialog
*arg1
= (wxDialog
*) 0 ;
7859 wxSizer
*result
= 0 ;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7866 char * kwnames
[] = {
7867 (char *) "self",(char *) "flags", NULL
7870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7872 if (!SWIG_IsOK(res1
)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7875 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7876 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7877 if (!SWIG_IsOK(ecode2
)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7880 arg2
= static_cast< long >(val2
);
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7896 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxDialog
*arg1
= (wxDialog
*) 0 ;
7900 wxStdDialogButtonSizer
*result
= 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 char * kwnames
[] = {
7908 (char *) "self",(char *) "flags", NULL
7911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7913 if (!SWIG_IsOK(res1
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7916 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7918 if (!SWIG_IsOK(ecode2
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7921 arg2
= static_cast< long >(val2
);
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7935 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7936 PyObject
*resultobj
= 0;
7937 wxDialog
*arg1
= (wxDialog
*) 0 ;
7941 PyObject
*swig_obj
[1] ;
7943 if (!args
) SWIG_fail
;
7945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7946 if (!SWIG_IsOK(res1
)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7949 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7965 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7966 PyObject
*resultobj
= 0;
7967 wxDialog
*arg1
= (wxDialog
*) 0 ;
7971 PyObject
*swig_obj
[1] ;
7973 if (!args
) SWIG_fail
;
7975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7976 if (!SWIG_IsOK(res1
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7979 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (int)(arg1
)->ShowModal();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_From_int(static_cast< int >(result
));
7993 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxDialog
*arg1
= (wxDialog
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 char * kwnames
[] = {
8004 (char *) "self",(char *) "retCode", NULL
8007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8009 if (!SWIG_IsOK(res1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8012 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8014 if (!SWIG_IsOK(ecode2
)) {
8015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8017 arg2
= static_cast< int >(val2
);
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 (arg1
)->EndModal(arg2
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_Py_Void();
8031 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
= 0;
8033 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8034 SwigValueWrapper
<wxVisualAttributes
> result
;
8037 PyObject
* obj0
= 0 ;
8038 char * kwnames
[] = {
8039 (char *) "variant", NULL
8042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8045 if (!SWIG_IsOK(ecode1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8048 arg1
= static_cast< wxWindowVariant
>(val1
);
8051 if (!wxPyCheckForApp()) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8064 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8067 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8068 return SWIG_Py_Void();
8071 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 return SWIG_Python_InitShadowInstance(args
);
8075 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
= 0;
8077 wxWindow
*arg1
= (wxWindow
*) 0 ;
8078 int arg2
= (int) (int)-1 ;
8079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8081 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8082 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8083 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8084 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8085 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8086 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8087 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8088 wxMiniFrame
*result
= 0 ;
8093 bool temp3
= false ;
8098 bool temp7
= false ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8101 PyObject
* obj2
= 0 ;
8102 PyObject
* obj3
= 0 ;
8103 PyObject
* obj4
= 0 ;
8104 PyObject
* obj5
= 0 ;
8105 PyObject
* obj6
= 0 ;
8106 char * kwnames
[] = {
8107 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8112 if (!SWIG_IsOK(res1
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8115 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8118 if (!SWIG_IsOK(ecode2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8121 arg2
= static_cast< int >(val2
);
8125 arg3
= wxString_in_helper(obj2
);
8126 if (arg3
== NULL
) SWIG_fail
;
8133 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8139 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8143 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8144 if (!SWIG_IsOK(ecode6
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8147 arg6
= static_cast< long >(val6
);
8151 arg7
= wxString_in_helper(obj6
);
8152 if (arg7
== NULL
) SWIG_fail
;
8157 if (!wxPyCheckForApp()) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8186 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 PyObject
*resultobj
= 0;
8188 wxMiniFrame
*result
= 0 ;
8190 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8192 if (!wxPyCheckForApp()) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (wxMiniFrame
*)new wxMiniFrame();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8205 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
= 0;
8207 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8208 wxWindow
*arg2
= (wxWindow
*) 0 ;
8209 int arg3
= (int) (int)-1 ;
8210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8212 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8213 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8214 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8215 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8216 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8217 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8218 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8226 bool temp4
= false ;
8231 bool temp8
= false ;
8232 PyObject
* obj0
= 0 ;
8233 PyObject
* obj1
= 0 ;
8234 PyObject
* obj2
= 0 ;
8235 PyObject
* obj3
= 0 ;
8236 PyObject
* obj4
= 0 ;
8237 PyObject
* obj5
= 0 ;
8238 PyObject
* obj6
= 0 ;
8239 PyObject
* obj7
= 0 ;
8240 char * kwnames
[] = {
8241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8246 if (!SWIG_IsOK(res1
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8249 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8251 if (!SWIG_IsOK(res2
)) {
8252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8254 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8257 if (!SWIG_IsOK(ecode3
)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8260 arg3
= static_cast< int >(val3
);
8264 arg4
= wxString_in_helper(obj3
);
8265 if (arg4
== NULL
) SWIG_fail
;
8272 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8278 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8282 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8283 if (!SWIG_IsOK(ecode7
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8286 arg7
= static_cast< long >(val7
);
8290 arg8
= wxString_in_helper(obj7
);
8291 if (arg8
== NULL
) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8326 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8329 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8330 return SWIG_Py_Void();
8333 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 return SWIG_Python_InitShadowInstance(args
);
8337 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
= 0;
8339 wxBitmap
*arg1
= 0 ;
8340 wxWindow
*arg2
= (wxWindow
*) 0 ;
8342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8346 long arg6
= (long) wxNO_BORDER
;
8347 wxSplashScreenWindow
*result
= 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8360 PyObject
* obj2
= 0 ;
8361 PyObject
* obj3
= 0 ;
8362 PyObject
* obj4
= 0 ;
8363 PyObject
* obj5
= 0 ;
8364 char * kwnames
[] = {
8365 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8369 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8370 if (!SWIG_IsOK(res1
)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8376 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8378 if (!SWIG_IsOK(res2
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8383 if (!SWIG_IsOK(ecode3
)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8386 arg3
= static_cast< int >(val3
);
8390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8400 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8401 if (!SWIG_IsOK(ecode6
)) {
8402 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8404 arg6
= static_cast< long >(val6
);
8407 if (!wxPyCheckForApp()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8420 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
*resultobj
= 0;
8422 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8423 wxBitmap
*arg2
= 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8430 char * kwnames
[] = {
8431 (char *) "self",(char *) "bitmap", NULL
8434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8436 if (!SWIG_IsOK(res1
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8439 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8441 if (!SWIG_IsOK(res2
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8447 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_Py_Void();
8461 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8462 PyObject
*resultobj
= 0;
8463 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8464 wxBitmap
*result
= 0 ;
8467 PyObject
*swig_obj
[1] ;
8469 if (!args
) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8475 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8480 result
= (wxBitmap
*) &_result_ref
;
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 wxBitmap
* resultptr
= new wxBitmap(*result
);
8487 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8495 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8498 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8499 return SWIG_Py_Void();
8502 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8503 return SWIG_Python_InitShadowInstance(args
);
8506 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
= 0;
8508 wxBitmap
*arg1
= 0 ;
8511 wxWindow
*arg4
= (wxWindow
*) 0 ;
8512 int arg5
= (int) -1 ;
8513 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8514 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8515 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8516 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8517 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8518 wxSplashScreen
*result
= 0 ;
8533 PyObject
* obj0
= 0 ;
8534 PyObject
* obj1
= 0 ;
8535 PyObject
* obj2
= 0 ;
8536 PyObject
* obj3
= 0 ;
8537 PyObject
* obj4
= 0 ;
8538 PyObject
* obj5
= 0 ;
8539 PyObject
* obj6
= 0 ;
8540 PyObject
* obj7
= 0 ;
8541 char * kwnames
[] = {
8542 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8553 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8555 if (!SWIG_IsOK(ecode2
)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8558 arg2
= static_cast< long >(val2
);
8559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8560 if (!SWIG_IsOK(ecode3
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8563 arg3
= static_cast< int >(val3
);
8564 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8565 if (!SWIG_IsOK(res4
)) {
8566 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8568 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8571 if (!SWIG_IsOK(ecode5
)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8574 arg5
= static_cast< int >(val5
);
8579 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8585 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8589 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8590 if (!SWIG_IsOK(ecode8
)) {
8591 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8593 arg8
= static_cast< long >(val8
);
8596 if (!wxPyCheckForApp()) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8609 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8610 PyObject
*resultobj
= 0;
8611 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8615 PyObject
*swig_obj
[1] ;
8617 if (!args
) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8623 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_From_long(static_cast< long >(result
));
8637 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8640 wxSplashScreenWindow
*result
= 0 ;
8643 PyObject
*swig_obj
[1] ;
8645 if (!args
) SWIG_fail
;
8647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8648 if (!SWIG_IsOK(res1
)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8651 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8665 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8666 PyObject
*resultobj
= 0;
8667 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8671 PyObject
*swig_obj
[1] ;
8673 if (!args
) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8679 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_From_int(static_cast< int >(result
));
8693 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8697 return SWIG_Py_Void();
8700 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8701 return SWIG_Python_InitShadowInstance(args
);
8704 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
= 0;
8706 wxWindow
*arg1
= (wxWindow
*) 0 ;
8707 int arg2
= (int) -1 ;
8708 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8709 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8710 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8711 wxStatusBar
*result
= 0 ;
8718 bool temp4
= false ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 PyObject
* obj3
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8735 if (!SWIG_IsOK(ecode2
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8738 arg2
= static_cast< int >(val2
);
8741 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8742 if (!SWIG_IsOK(ecode3
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8745 arg3
= static_cast< long >(val3
);
8749 arg4
= wxString_in_helper(obj3
);
8750 if (arg4
== NULL
) SWIG_fail
;
8755 if (!wxPyCheckForApp()) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8776 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8777 PyObject
*resultobj
= 0;
8778 wxStatusBar
*result
= 0 ;
8780 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8782 if (!wxPyCheckForApp()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (wxStatusBar
*)new wxStatusBar();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8795 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8798 wxWindow
*arg2
= (wxWindow
*) 0 ;
8799 int arg3
= (int) -1 ;
8800 long arg4
= (long) wxST_SIZEGRIP
;
8801 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8802 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8812 bool temp5
= false ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8816 PyObject
* obj3
= 0 ;
8817 PyObject
* obj4
= 0 ;
8818 char * kwnames
[] = {
8819 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8824 if (!SWIG_IsOK(res1
)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8827 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8829 if (!SWIG_IsOK(res2
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8835 if (!SWIG_IsOK(ecode3
)) {
8836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8838 arg3
= static_cast< int >(val3
);
8841 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8842 if (!SWIG_IsOK(ecode4
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8845 arg4
= static_cast< long >(val4
);
8849 arg5
= wxString_in_helper(obj4
);
8850 if (arg5
== NULL
) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8877 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
= 0;
8879 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8880 int arg2
= (int) 1 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "number", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8896 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8899 if (!SWIG_IsOK(ecode2
)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8902 arg2
= static_cast< int >(val2
);
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 (arg1
)->SetFieldsCount(arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_Py_Void();
8917 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8918 PyObject
*resultobj
= 0;
8919 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8923 PyObject
*swig_obj
[1] ;
8925 if (!args
) SWIG_fail
;
8927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8928 if (!SWIG_IsOK(res1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8931 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_From_int(static_cast< int >(result
));
8945 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= 0;
8947 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8948 wxString
*arg2
= 0 ;
8949 int arg3
= (int) 0 ;
8952 bool temp2
= false ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8957 PyObject
* obj2
= 0 ;
8958 char * kwnames
[] = {
8959 (char *) "self",(char *) "text",(char *) "number", NULL
8962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8964 if (!SWIG_IsOK(res1
)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8967 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8969 arg2
= wxString_in_helper(obj1
);
8970 if (arg2
== NULL
) SWIG_fail
;
8974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8975 if (!SWIG_IsOK(ecode3
)) {
8976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8978 arg3
= static_cast< int >(val3
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_Py_Void();
9001 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9003 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9004 int arg2
= (int) 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 char * kwnames
[] = {
9013 (char *) "self",(char *) "number", NULL
9016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9021 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9024 if (!SWIG_IsOK(ecode2
)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9027 arg2
= static_cast< int >(val2
);
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9048 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
= 0;
9050 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9051 wxString
*arg2
= 0 ;
9052 int arg3
= (int) 0 ;
9055 bool temp2
= false ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9060 PyObject
* obj2
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "self",(char *) "text",(char *) "number", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9067 if (!SWIG_IsOK(res1
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9070 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9072 arg2
= wxString_in_helper(obj1
);
9073 if (arg2
== NULL
) SWIG_fail
;
9077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9078 if (!SWIG_IsOK(ecode3
)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9081 arg3
= static_cast< int >(val3
);
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= SWIG_Py_Void();
9104 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
= 0;
9106 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9107 int arg2
= (int) 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 char * kwnames
[] = {
9115 (char *) "self",(char *) "number", NULL
9118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9123 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9126 if (!SWIG_IsOK(ecode2
)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9129 arg2
= static_cast< int >(val2
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 (arg1
)->PopStatusText(arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9144 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= 0;
9146 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9148 int *arg3
= (int *) 0 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 char * kwnames
[] = {
9154 (char *) "self",(char *) "widths", NULL
9157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9159 if (!SWIG_IsOK(res1
)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9162 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9164 arg2
= PyList_Size(obj1
);
9165 arg3
= int_LIST_helper(obj1
);
9166 if (arg3
== NULL
) SWIG_fail
;
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_Py_Void();
9176 if (arg3
) delete [] arg3
;
9181 if (arg3
) delete [] arg3
;
9187 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
= 0;
9189 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9191 int *arg3
= (int *) 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9196 char * kwnames
[] = {
9197 (char *) "self",(char *) "styles", NULL
9200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9202 if (!SWIG_IsOK(res1
)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9205 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9207 arg2
= PyList_Size(obj1
);
9208 arg3
= int_LIST_helper(obj1
);
9209 if (arg3
== NULL
) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= SWIG_Py_Void();
9219 if (arg3
) delete [] arg3
;
9224 if (arg3
) delete [] arg3
;
9230 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
= 0;
9232 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 char * kwnames
[] = {
9242 (char *) "self",(char *) "i", NULL
9245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9247 if (!SWIG_IsOK(res1
)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9250 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9252 if (!SWIG_IsOK(ecode2
)) {
9253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9255 arg2
= static_cast< int >(val2
);
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9269 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
= 0;
9271 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "height", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9288 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9290 if (!SWIG_IsOK(ecode2
)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9293 arg2
= static_cast< int >(val2
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 (arg1
)->SetMinHeight(arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_Py_Void();
9307 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9321 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_From_int(static_cast< int >(result
));
9335 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 PyObject
*resultobj
= 0;
9337 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9341 PyObject
*swig_obj
[1] ;
9343 if (!args
) SWIG_fail
;
9345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9346 if (!SWIG_IsOK(res1
)) {
9347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9349 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_From_int(static_cast< int >(result
));
9363 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
= 0;
9365 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9366 SwigValueWrapper
<wxVisualAttributes
> result
;
9369 PyObject
* obj0
= 0 ;
9370 char * kwnames
[] = {
9371 (char *) "variant", NULL
9374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9377 if (!SWIG_IsOK(ecode1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9380 arg1
= static_cast< wxWindowVariant
>(val1
);
9383 if (!wxPyCheckForApp()) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9396 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9399 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9400 return SWIG_Py_Void();
9403 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 return SWIG_Python_InitShadowInstance(args
);
9407 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9408 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9413 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9414 PyObject
*pyobj
= 0;
9418 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9420 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9427 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= 0;
9429 wxWindow
*arg1
= (wxWindow
*) 0 ;
9430 int arg2
= (int) -1 ;
9431 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9432 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9433 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9434 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9435 long arg5
= (long) wxSP_3D
;
9436 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9437 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9438 wxSplitterWindow
*result
= 0 ;
9447 bool temp6
= false ;
9448 PyObject
* obj0
= 0 ;
9449 PyObject
* obj1
= 0 ;
9450 PyObject
* obj2
= 0 ;
9451 PyObject
* obj3
= 0 ;
9452 PyObject
* obj4
= 0 ;
9453 PyObject
* obj5
= 0 ;
9454 char * kwnames
[] = {
9455 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9460 if (!SWIG_IsOK(res1
)) {
9461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9463 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9466 if (!SWIG_IsOK(ecode2
)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9469 arg2
= static_cast< int >(val2
);
9474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9480 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9484 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9485 if (!SWIG_IsOK(ecode5
)) {
9486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9488 arg5
= static_cast< long >(val5
);
9492 arg6
= wxString_in_helper(obj5
);
9493 if (arg6
== NULL
) SWIG_fail
;
9498 if (!wxPyCheckForApp()) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9519 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9520 PyObject
*resultobj
= 0;
9521 wxSplitterWindow
*result
= 0 ;
9523 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9525 if (!wxPyCheckForApp()) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9538 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
= 0;
9540 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9541 wxWindow
*arg2
= (wxWindow
*) 0 ;
9542 int arg3
= (int) -1 ;
9543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9547 long arg6
= (long) wxSP_3D
;
9548 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9561 bool temp7
= false ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 PyObject
* obj2
= 0 ;
9565 PyObject
* obj3
= 0 ;
9566 PyObject
* obj4
= 0 ;
9567 PyObject
* obj5
= 0 ;
9568 PyObject
* obj6
= 0 ;
9569 char * kwnames
[] = {
9570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9575 if (!SWIG_IsOK(res1
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9578 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9580 if (!SWIG_IsOK(res2
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9586 if (!SWIG_IsOK(ecode3
)) {
9587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9589 arg3
= static_cast< int >(val3
);
9594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9604 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9605 if (!SWIG_IsOK(ecode6
)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9608 arg6
= static_cast< long >(val6
);
9612 arg7
= wxString_in_helper(obj6
);
9613 if (arg7
== NULL
) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9640 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9641 PyObject
*resultobj
= 0;
9642 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9643 wxWindow
*result
= 0 ;
9646 PyObject
*swig_obj
[1] ;
9648 if (!args
) SWIG_fail
;
9650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9651 if (!SWIG_IsOK(res1
)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9654 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= wxPyMake_wxObject(result
, 0);
9670 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9671 PyObject
*resultobj
= 0;
9672 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9673 wxWindow
*result
= 0 ;
9676 PyObject
*swig_obj
[1] ;
9678 if (!args
) SWIG_fail
;
9680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9681 if (!SWIG_IsOK(res1
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9684 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= wxPyMake_wxObject(result
, 0);
9700 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
= 0;
9702 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "mode", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9719 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9721 if (!SWIG_IsOK(ecode2
)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9724 arg2
= static_cast< int >(val2
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->SetSplitMode(arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9738 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9744 PyObject
*swig_obj
[1] ;
9746 if (!args
) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9752 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_From_int(static_cast< int >(result
));
9766 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9769 wxWindow
*arg2
= (wxWindow
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "self",(char *) "window", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9785 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9787 if (!SWIG_IsOK(res2
)) {
9788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->Initialize(arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_Py_Void();
9804 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
= 0;
9806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9807 wxWindow
*arg2
= (wxWindow
*) 0 ;
9808 wxWindow
*arg3
= (wxWindow
*) 0 ;
9809 int arg4
= (int) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 PyObject
* obj2
= 0 ;
9822 PyObject
* obj3
= 0 ;
9823 char * kwnames
[] = {
9824 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9832 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9834 if (!SWIG_IsOK(res2
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9837 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9838 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9839 if (!SWIG_IsOK(res3
)) {
9840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9842 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9845 if (!SWIG_IsOK(ecode4
)) {
9846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9848 arg4
= static_cast< int >(val4
);
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9865 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9868 wxWindow
*arg2
= (wxWindow
*) 0 ;
9869 wxWindow
*arg3
= (wxWindow
*) 0 ;
9870 int arg4
= (int) 0 ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9882 PyObject
* obj2
= 0 ;
9883 PyObject
* obj3
= 0 ;
9884 char * kwnames
[] = {
9885 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9890 if (!SWIG_IsOK(res1
)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9893 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9895 if (!SWIG_IsOK(res2
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9898 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9899 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9900 if (!SWIG_IsOK(res3
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9903 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9906 if (!SWIG_IsOK(ecode4
)) {
9907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9909 arg4
= static_cast< int >(val4
);
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9926 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9929 wxWindow
*arg2
= (wxWindow
*) NULL
;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "self",(char *) "toRemove", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9943 if (!SWIG_IsOK(res1
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9946 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9949 if (!SWIG_IsOK(res2
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9952 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (bool)(arg1
)->Unsplit(arg2
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9969 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
= 0;
9971 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9972 wxWindow
*arg2
= (wxWindow
*) 0 ;
9973 wxWindow
*arg3
= (wxWindow
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9983 PyObject
* obj2
= 0 ;
9984 char * kwnames
[] = {
9985 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9990 if (!SWIG_IsOK(res1
)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9993 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9995 if (!SWIG_IsOK(res2
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9999 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10000 if (!SWIG_IsOK(res3
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10003 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10019 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10020 PyObject
*resultobj
= 0;
10021 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10024 PyObject
*swig_obj
[1] ;
10026 if (!args
) SWIG_fail
;
10027 swig_obj
[0] = args
;
10028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10029 if (!SWIG_IsOK(res1
)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10032 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 (arg1
)->UpdateSize();
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_Py_Void();
10046 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10047 PyObject
*resultobj
= 0;
10048 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10052 PyObject
*swig_obj
[1] ;
10054 if (!args
) SWIG_fail
;
10055 swig_obj
[0] = args
;
10056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10057 if (!SWIG_IsOK(res1
)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10060 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10076 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "width", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10095 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10097 if (!SWIG_IsOK(ecode2
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10100 arg2
= static_cast< int >(val2
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetSashSize(arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
= 0;
10116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 char * kwnames
[] = {
10125 (char *) "self",(char *) "width", NULL
10128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10130 if (!SWIG_IsOK(res1
)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10133 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10135 if (!SWIG_IsOK(ecode2
)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10138 arg2
= static_cast< int >(val2
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 (arg1
)->SetBorderSize(arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_Py_Void();
10152 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10153 PyObject
*resultobj
= 0;
10154 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10158 PyObject
*swig_obj
[1] ;
10160 if (!args
) SWIG_fail
;
10161 swig_obj
[0] = args
;
10162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10163 if (!SWIG_IsOK(res1
)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10166 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= SWIG_From_int(static_cast< int >(result
));
10180 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10181 PyObject
*resultobj
= 0;
10182 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10186 PyObject
*swig_obj
[1] ;
10188 if (!args
) SWIG_fail
;
10189 swig_obj
[0] = args
;
10190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10194 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_From_int(static_cast< int >(result
));
10208 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
= 0;
10210 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10212 bool arg3
= (bool) true ;
10219 PyObject
* obj0
= 0 ;
10220 PyObject
* obj1
= 0 ;
10221 PyObject
* obj2
= 0 ;
10222 char * kwnames
[] = {
10223 (char *) "self",(char *) "position",(char *) "redraw", NULL
10226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10228 if (!SWIG_IsOK(res1
)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10231 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10233 if (!SWIG_IsOK(ecode2
)) {
10234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10236 arg2
= static_cast< int >(val2
);
10238 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10239 if (!SWIG_IsOK(ecode3
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10242 arg3
= static_cast< bool >(val3
);
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetSashPosition(arg2
,arg3
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_Py_Void();
10257 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10258 PyObject
*resultobj
= 0;
10259 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10263 PyObject
*swig_obj
[1] ;
10265 if (!args
) SWIG_fail
;
10266 swig_obj
[0] = args
;
10267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10271 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_From_int(static_cast< int >(result
));
10285 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
= 0;
10287 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "gravity", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10304 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10305 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10306 if (!SWIG_IsOK(ecode2
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10309 arg2
= static_cast< double >(val2
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 (arg1
)->SetSashGravity(arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_Py_Void();
10323 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 PyObject
*resultobj
= 0;
10325 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10329 PyObject
*swig_obj
[1] ;
10331 if (!args
) SWIG_fail
;
10332 swig_obj
[0] = args
;
10333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10334 if (!SWIG_IsOK(res1
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10337 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_From_double(static_cast< double >(result
));
10351 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
= 0;
10353 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 char * kwnames
[] = {
10362 (char *) "self",(char *) "min", NULL
10365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10367 if (!SWIG_IsOK(res1
)) {
10368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10370 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10372 if (!SWIG_IsOK(ecode2
)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10375 arg2
= static_cast< int >(val2
);
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 (arg1
)->SetMinimumPaneSize(arg2
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_Py_Void();
10389 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10390 PyObject
*resultobj
= 0;
10391 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10395 PyObject
*swig_obj
[1] ;
10397 if (!args
) SWIG_fail
;
10398 swig_obj
[0] = args
;
10399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10400 if (!SWIG_IsOK(res1
)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10403 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_From_int(static_cast< int >(result
));
10417 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
= 0;
10419 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10422 int arg4
= (int) 5 ;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 PyObject
* obj2
= 0 ;
10435 PyObject
* obj3
= 0 ;
10436 char * kwnames
[] = {
10437 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10442 if (!SWIG_IsOK(res1
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10445 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10447 if (!SWIG_IsOK(ecode2
)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10450 arg2
= static_cast< int >(val2
);
10451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10452 if (!SWIG_IsOK(ecode3
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10455 arg3
= static_cast< int >(val3
);
10457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10458 if (!SWIG_IsOK(ecode4
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10461 arg4
= static_cast< int >(val4
);
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10478 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10479 PyObject
*resultobj
= 0;
10480 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10483 PyObject
*swig_obj
[1] ;
10485 if (!args
) SWIG_fail
;
10486 swig_obj
[0] = args
;
10487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10488 if (!SWIG_IsOK(res1
)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10491 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 (arg1
)->SizeWindows();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_Py_Void();
10505 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
= 0;
10507 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 char * kwnames
[] = {
10516 (char *) "self",(char *) "needUpdating", NULL
10519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10521 if (!SWIG_IsOK(res1
)) {
10522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10524 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10525 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10526 if (!SWIG_IsOK(ecode2
)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10529 arg2
= static_cast< bool >(val2
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 (arg1
)->SetNeedUpdating(arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_Py_Void();
10543 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10544 PyObject
*resultobj
= 0;
10545 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10549 PyObject
*swig_obj
[1] ;
10551 if (!args
) SWIG_fail
;
10552 swig_obj
[0] = args
;
10553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10554 if (!SWIG_IsOK(res1
)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10557 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10573 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10576 SwigValueWrapper
<wxVisualAttributes
> result
;
10579 PyObject
* obj0
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "variant", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10586 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10587 if (!SWIG_IsOK(ecode1
)) {
10588 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10590 arg1
= static_cast< wxWindowVariant
>(val1
);
10593 if (!wxPyCheckForApp()) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10606 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10609 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10610 return SWIG_Py_Void();
10613 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10614 return SWIG_Python_InitShadowInstance(args
);
10617 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10620 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10621 wxSplitterEvent
*result
= 0 ;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "type",(char *) "splitter", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10634 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10635 if (!SWIG_IsOK(ecode1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10638 arg1
= static_cast< wxEventType
>(val1
);
10641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10642 if (!SWIG_IsOK(res2
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10645 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10660 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
= 0;
10662 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 char * kwnames
[] = {
10671 (char *) "self",(char *) "pos", NULL
10674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10676 if (!SWIG_IsOK(res1
)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10679 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10681 if (!SWIG_IsOK(ecode2
)) {
10682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10684 arg2
= static_cast< int >(val2
);
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->SetSashPosition(arg2
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_Py_Void();
10698 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10699 PyObject
*resultobj
= 0;
10700 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10704 PyObject
*swig_obj
[1] ;
10706 if (!args
) SWIG_fail
;
10707 swig_obj
[0] = args
;
10708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10712 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int(static_cast< int >(result
));
10726 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10727 PyObject
*resultobj
= 0;
10728 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10729 wxWindow
*result
= 0 ;
10732 PyObject
*swig_obj
[1] ;
10734 if (!args
) SWIG_fail
;
10735 swig_obj
[0] = args
;
10736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10740 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= wxPyMake_wxObject(result
, 0);
10756 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 PyObject
*resultobj
= 0;
10758 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10762 PyObject
*swig_obj
[1] ;
10764 if (!args
) SWIG_fail
;
10765 swig_obj
[0] = args
;
10766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10767 if (!SWIG_IsOK(res1
)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10770 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_From_int(static_cast< int >(result
));
10784 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10785 PyObject
*resultobj
= 0;
10786 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10790 PyObject
*swig_obj
[1] ;
10792 if (!args
) SWIG_fail
;
10793 swig_obj
[0] = args
;
10794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10798 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= SWIG_From_int(static_cast< int >(result
));
10812 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10816 return SWIG_Py_Void();
10819 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 return SWIG_Python_InitShadowInstance(args
);
10823 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10824 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10829 SWIGINTERN PyObject
*SashNameStr_get(void) {
10830 PyObject
*pyobj
= 0;
10834 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10836 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10843 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10844 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10849 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10850 PyObject
*pyobj
= 0;
10854 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10856 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10863 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
= 0;
10865 wxWindow
*arg1
= (wxWindow
*) 0 ;
10866 int arg2
= (int) -1 ;
10867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10871 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10872 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10874 wxSashWindow
*result
= 0 ;
10883 bool temp6
= false ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 PyObject
* obj3
= 0 ;
10888 PyObject
* obj4
= 0 ;
10889 PyObject
* obj5
= 0 ;
10890 char * kwnames
[] = {
10891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10896 if (!SWIG_IsOK(res1
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10902 if (!SWIG_IsOK(ecode2
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10905 arg2
= static_cast< int >(val2
);
10910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10916 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10920 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10921 if (!SWIG_IsOK(ecode5
)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10924 arg5
= static_cast< long >(val5
);
10928 arg6
= wxString_in_helper(obj5
);
10929 if (arg6
== NULL
) SWIG_fail
;
10934 if (!wxPyCheckForApp()) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10955 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10956 PyObject
*resultobj
= 0;
10957 wxSashWindow
*result
= 0 ;
10959 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10961 if (!wxPyCheckForApp()) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (wxSashWindow
*)new wxSashWindow();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10974 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= 0;
10976 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10977 wxWindow
*arg2
= (wxWindow
*) 0 ;
10978 int arg3
= (int) -1 ;
10979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10983 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10984 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10997 bool temp7
= false ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 PyObject
* obj3
= 0 ;
11002 PyObject
* obj4
= 0 ;
11003 PyObject
* obj5
= 0 ;
11004 PyObject
* obj6
= 0 ;
11005 char * kwnames
[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11014 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11016 if (!SWIG_IsOK(res2
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11022 if (!SWIG_IsOK(ecode3
)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11025 arg3
= static_cast< int >(val3
);
11030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11040 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11041 if (!SWIG_IsOK(ecode6
)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11044 arg6
= static_cast< long >(val6
);
11048 arg7
= wxString_in_helper(obj6
);
11049 if (arg7
== NULL
) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11076 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
= 0;
11078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11079 wxSashEdgePosition arg2
;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 PyObject
* obj2
= 0 ;
11090 char * kwnames
[] = {
11091 (char *) "self",(char *) "edge",(char *) "sash", NULL
11094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11096 if (!SWIG_IsOK(res1
)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11099 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11101 if (!SWIG_IsOK(ecode2
)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11104 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11105 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11106 if (!SWIG_IsOK(ecode3
)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11109 arg3
= static_cast< bool >(val3
);
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->SetSashVisible(arg2
,arg3
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_Py_Void();
11123 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
= 0;
11125 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11126 wxSashEdgePosition arg2
;
11132 PyObject
* obj0
= 0 ;
11133 PyObject
* obj1
= 0 ;
11134 char * kwnames
[] = {
11135 (char *) "self",(char *) "edge", NULL
11138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11140 if (!SWIG_IsOK(res1
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11143 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11145 if (!SWIG_IsOK(ecode2
)) {
11146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11148 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11164 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
= 0;
11166 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11167 wxSashEdgePosition arg2
;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 PyObject
* obj2
= 0 ;
11178 char * kwnames
[] = {
11179 (char *) "self",(char *) "edge",(char *) "border", NULL
11182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11187 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11189 if (!SWIG_IsOK(ecode2
)) {
11190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11192 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11193 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11194 if (!SWIG_IsOK(ecode3
)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11197 arg3
= static_cast< bool >(val3
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 (arg1
)->SetSashBorder(arg2
,arg3
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11214 wxSashEdgePosition arg2
;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char * kwnames
[] = {
11223 (char *) "self",(char *) "edge", NULL
11226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11231 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11233 if (!SWIG_IsOK(ecode2
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11236 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11252 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
= 0;
11254 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11255 wxSashEdgePosition arg2
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char * kwnames
[] = {
11264 (char *) "self",(char *) "edge", NULL
11267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11272 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11274 if (!SWIG_IsOK(ecode2
)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11277 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_From_int(static_cast< int >(result
));
11291 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= 0;
11293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 char * kwnames
[] = {
11302 (char *) "self",(char *) "width", NULL
11305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11310 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11312 if (!SWIG_IsOK(ecode2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11315 arg2
= static_cast< int >(val2
);
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 (arg1
)->SetDefaultBorderSize(arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_Py_Void();
11329 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11330 PyObject
*resultobj
= 0;
11331 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11335 PyObject
*swig_obj
[1] ;
11337 if (!args
) SWIG_fail
;
11338 swig_obj
[0] = args
;
11339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11340 if (!SWIG_IsOK(res1
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11343 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_From_int(static_cast< int >(result
));
11357 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
= 0;
11359 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 char * kwnames
[] = {
11368 (char *) "self",(char *) "width", NULL
11371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11373 if (!SWIG_IsOK(res1
)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11376 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11378 if (!SWIG_IsOK(ecode2
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11381 arg2
= static_cast< int >(val2
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->SetExtraBorderSize(arg2
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= SWIG_Py_Void();
11395 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11396 PyObject
*resultobj
= 0;
11397 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11401 PyObject
*swig_obj
[1] ;
11403 if (!args
) SWIG_fail
;
11404 swig_obj
[0] = args
;
11405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11409 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= SWIG_From_int(static_cast< int >(result
));
11423 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
= 0;
11425 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char * kwnames
[] = {
11434 (char *) "self",(char *) "min", NULL
11437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11442 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11444 if (!SWIG_IsOK(ecode2
)) {
11445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11447 arg2
= static_cast< int >(val2
);
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->SetMinimumSizeX(arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_Py_Void();
11461 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
= 0;
11463 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 char * kwnames
[] = {
11472 (char *) "self",(char *) "min", NULL
11475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11477 if (!SWIG_IsOK(res1
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11480 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11482 if (!SWIG_IsOK(ecode2
)) {
11483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11485 arg2
= static_cast< int >(val2
);
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->SetMinimumSizeY(arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_Py_Void();
11499 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 PyObject
*resultobj
= 0;
11501 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11505 PyObject
*swig_obj
[1] ;
11507 if (!args
) SWIG_fail
;
11508 swig_obj
[0] = args
;
11509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11513 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_From_int(static_cast< int >(result
));
11527 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11528 PyObject
*resultobj
= 0;
11529 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11533 PyObject
*swig_obj
[1] ;
11535 if (!args
) SWIG_fail
;
11536 swig_obj
[0] = args
;
11537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11538 if (!SWIG_IsOK(res1
)) {
11539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11541 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= SWIG_From_int(static_cast< int >(result
));
11555 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= 0;
11557 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char * kwnames
[] = {
11566 (char *) "self",(char *) "max", NULL
11569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11571 if (!SWIG_IsOK(res1
)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11574 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11576 if (!SWIG_IsOK(ecode2
)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11579 arg2
= static_cast< int >(val2
);
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 (arg1
)->SetMaximumSizeX(arg2
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_Py_Void();
11593 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
= 0;
11595 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 char * kwnames
[] = {
11604 (char *) "self",(char *) "max", NULL
11607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11609 if (!SWIG_IsOK(res1
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11612 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11614 if (!SWIG_IsOK(ecode2
)) {
11615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11617 arg2
= static_cast< int >(val2
);
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 (arg1
)->SetMaximumSizeY(arg2
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= SWIG_Py_Void();
11631 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 PyObject
*resultobj
= 0;
11633 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11637 PyObject
*swig_obj
[1] ;
11639 if (!args
) SWIG_fail
;
11640 swig_obj
[0] = args
;
11641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11642 if (!SWIG_IsOK(res1
)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11645 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_From_int(static_cast< int >(result
));
11659 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11660 PyObject
*resultobj
= 0;
11661 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11665 PyObject
*swig_obj
[1] ;
11667 if (!args
) SWIG_fail
;
11668 swig_obj
[0] = args
;
11669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11670 if (!SWIG_IsOK(res1
)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11673 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_From_int(static_cast< int >(result
));
11687 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
= 0;
11689 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11692 int arg4
= (int) 2 ;
11693 wxSashEdgePosition result
;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 PyObject
* obj3
= 0 ;
11706 char * kwnames
[] = {
11707 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11712 if (!SWIG_IsOK(res1
)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11715 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11717 if (!SWIG_IsOK(ecode2
)) {
11718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11720 arg2
= static_cast< int >(val2
);
11721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11722 if (!SWIG_IsOK(ecode3
)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11725 arg3
= static_cast< int >(val3
);
11727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11728 if (!SWIG_IsOK(ecode4
)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11731 arg4
= static_cast< int >(val4
);
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_From_int(static_cast< int >(result
));
11746 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11747 PyObject
*resultobj
= 0;
11748 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11751 PyObject
*swig_obj
[1] ;
11753 if (!args
) SWIG_fail
;
11754 swig_obj
[0] = args
;
11755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11756 if (!SWIG_IsOK(res1
)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11759 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 (arg1
)->SizeWindows();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 resultobj
= SWIG_Py_Void();
11773 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11776 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11777 return SWIG_Py_Void();
11780 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11781 return SWIG_Python_InitShadowInstance(args
);
11784 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
= 0;
11786 int arg1
= (int) 0 ;
11787 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11788 wxSashEvent
*result
= 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char * kwnames
[] = {
11796 (char *) "id",(char *) "edge", NULL
11799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11802 if (!SWIG_IsOK(ecode1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11805 arg1
= static_cast< int >(val1
);
11808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11809 if (!SWIG_IsOK(ecode2
)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11812 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11827 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
= 0;
11829 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11830 wxSashEdgePosition arg2
;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 char * kwnames
[] = {
11838 (char *) "self",(char *) "edge", NULL
11841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11846 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11848 if (!SWIG_IsOK(ecode2
)) {
11849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11851 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 (arg1
)->SetEdge(arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_Py_Void();
11865 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 PyObject
*resultobj
= 0;
11867 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11868 wxSashEdgePosition result
;
11871 PyObject
*swig_obj
[1] ;
11873 if (!args
) SWIG_fail
;
11874 swig_obj
[0] = args
;
11875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11879 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_From_int(static_cast< int >(result
));
11893 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "rect", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11911 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_Py_Void();
11929 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11930 PyObject
*resultobj
= 0;
11931 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11935 PyObject
*swig_obj
[1] ;
11937 if (!args
) SWIG_fail
;
11938 swig_obj
[0] = args
;
11939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11940 if (!SWIG_IsOK(res1
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11943 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11957 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
= 0;
11959 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11960 wxSashDragStatus arg2
;
11965 PyObject
* obj0
= 0 ;
11966 PyObject
* obj1
= 0 ;
11967 char * kwnames
[] = {
11968 (char *) "self",(char *) "status", NULL
11971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11973 if (!SWIG_IsOK(res1
)) {
11974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11976 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11978 if (!SWIG_IsOK(ecode2
)) {
11979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11981 arg2
= static_cast< wxSashDragStatus
>(val2
);
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 (arg1
)->SetDragStatus(arg2
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= SWIG_Py_Void();
11995 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11996 PyObject
*resultobj
= 0;
11997 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11998 wxSashDragStatus result
;
12001 PyObject
*swig_obj
[1] ;
12003 if (!args
) SWIG_fail
;
12004 swig_obj
[0] = args
;
12005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12009 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_From_int(static_cast< int >(result
));
12023 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12026 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12027 return SWIG_Py_Void();
12030 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 return SWIG_Python_InitShadowInstance(args
);
12034 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
= 0;
12036 int arg1
= (int) 0 ;
12037 wxQueryLayoutInfoEvent
*result
= 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char * kwnames
[] = {
12042 (char *) "id", NULL
12045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12048 if (!SWIG_IsOK(ecode1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12051 arg1
= static_cast< int >(val1
);
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12066 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
= 0;
12068 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char * kwnames
[] = {
12077 (char *) "self",(char *) "length", NULL
12080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12082 if (!SWIG_IsOK(res1
)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12085 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12087 if (!SWIG_IsOK(ecode2
)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12090 arg2
= static_cast< int >(val2
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->SetRequestedLength(arg2
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_Py_Void();
12104 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 PyObject
*resultobj
= 0;
12106 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12118 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_From_int(static_cast< int >(result
));
12132 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
= 0;
12134 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "flags", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12151 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12153 if (!SWIG_IsOK(ecode2
)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12156 arg2
= static_cast< int >(val2
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->SetFlags(arg2
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_Py_Void();
12170 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12184 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_From_int(static_cast< int >(result
));
12198 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
= 0;
12200 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "self",(char *) "size", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12216 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12219 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetSize((wxSize
const &)*arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_Py_Void();
12234 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12235 PyObject
*resultobj
= 0;
12236 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12240 PyObject
*swig_obj
[1] ;
12242 if (!args
) SWIG_fail
;
12243 swig_obj
[0] = args
;
12244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12245 if (!SWIG_IsOK(res1
)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12248 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12262 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12265 wxLayoutOrientation arg2
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char * kwnames
[] = {
12273 (char *) "self",(char *) "orient", NULL
12276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12278 if (!SWIG_IsOK(res1
)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12281 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12283 if (!SWIG_IsOK(ecode2
)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12286 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 (arg1
)->SetOrientation(arg2
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_Py_Void();
12300 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12301 PyObject
*resultobj
= 0;
12302 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12303 wxLayoutOrientation result
;
12306 PyObject
*swig_obj
[1] ;
12308 if (!args
) SWIG_fail
;
12309 swig_obj
[0] = args
;
12310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12311 if (!SWIG_IsOK(res1
)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12314 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_From_int(static_cast< int >(result
));
12328 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
= 0;
12330 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12331 wxLayoutAlignment arg2
;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 char * kwnames
[] = {
12339 (char *) "self",(char *) "align", NULL
12342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12347 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12349 if (!SWIG_IsOK(ecode2
)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12352 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 (arg1
)->SetAlignment(arg2
);
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_Py_Void();
12366 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12367 PyObject
*resultobj
= 0;
12368 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12369 wxLayoutAlignment result
;
12372 PyObject
*swig_obj
[1] ;
12374 if (!args
) SWIG_fail
;
12375 swig_obj
[0] = args
;
12376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12377 if (!SWIG_IsOK(res1
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12380 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_From_int(static_cast< int >(result
));
12394 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12397 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12398 return SWIG_Py_Void();
12401 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12402 return SWIG_Python_InitShadowInstance(args
);
12405 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
= 0;
12407 int arg1
= (int) 0 ;
12408 wxCalculateLayoutEvent
*result
= 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char * kwnames
[] = {
12413 (char *) "id", NULL
12416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12418 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12419 if (!SWIG_IsOK(ecode1
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12422 arg1
= static_cast< int >(val1
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12437 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "flags", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12456 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12458 if (!SWIG_IsOK(ecode2
)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12461 arg2
= static_cast< int >(val2
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetFlags(arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_Py_Void();
12475 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12481 PyObject
*swig_obj
[1] ;
12483 if (!args
) SWIG_fail
;
12484 swig_obj
[0] = args
;
12485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12489 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_int(static_cast< int >(result
));
12503 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
= 0;
12505 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 char * kwnames
[] = {
12513 (char *) "self",(char *) "rect", NULL
12516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12518 if (!SWIG_IsOK(res1
)) {
12519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12521 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12524 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 (arg1
)->SetRect((wxRect
const &)*arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_Py_Void();
12539 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12545 PyObject
*swig_obj
[1] ;
12547 if (!args
) SWIG_fail
;
12548 swig_obj
[0] = args
;
12549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12550 if (!SWIG_IsOK(res1
)) {
12551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12553 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12567 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12570 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12571 return SWIG_Py_Void();
12574 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 return SWIG_Python_InitShadowInstance(args
);
12578 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
= 0;
12580 wxWindow
*arg1
= (wxWindow
*) 0 ;
12581 int arg2
= (int) -1 ;
12582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12586 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12587 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12588 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12589 wxSashLayoutWindow
*result
= 0 ;
12598 bool temp6
= false ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 PyObject
* obj2
= 0 ;
12602 PyObject
* obj3
= 0 ;
12603 PyObject
* obj4
= 0 ;
12604 PyObject
* obj5
= 0 ;
12605 char * kwnames
[] = {
12606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12611 if (!SWIG_IsOK(res1
)) {
12612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12620 arg2
= static_cast< int >(val2
);
12625 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12631 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12635 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12636 if (!SWIG_IsOK(ecode5
)) {
12637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12639 arg5
= static_cast< long >(val5
);
12643 arg6
= wxString_in_helper(obj5
);
12644 if (arg6
== NULL
) SWIG_fail
;
12649 if (!wxPyCheckForApp()) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12670 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12671 PyObject
*resultobj
= 0;
12672 wxSashLayoutWindow
*result
= 0 ;
12674 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12676 if (!wxPyCheckForApp()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12689 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
= 0;
12691 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12692 wxWindow
*arg2
= (wxWindow
*) 0 ;
12693 int arg3
= (int) -1 ;
12694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12698 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12699 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12712 bool temp7
= false ;
12713 PyObject
* obj0
= 0 ;
12714 PyObject
* obj1
= 0 ;
12715 PyObject
* obj2
= 0 ;
12716 PyObject
* obj3
= 0 ;
12717 PyObject
* obj4
= 0 ;
12718 PyObject
* obj5
= 0 ;
12719 PyObject
* obj6
= 0 ;
12720 char * kwnames
[] = {
12721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12729 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12730 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12731 if (!SWIG_IsOK(res2
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12734 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12737 if (!SWIG_IsOK(ecode3
)) {
12738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12740 arg3
= static_cast< int >(val3
);
12745 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12751 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12755 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12756 if (!SWIG_IsOK(ecode6
)) {
12757 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12759 arg6
= static_cast< long >(val6
);
12763 arg7
= wxString_in_helper(obj6
);
12764 if (arg7
== NULL
) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12791 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12792 PyObject
*resultobj
= 0;
12793 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12794 wxLayoutAlignment result
;
12797 PyObject
*swig_obj
[1] ;
12799 if (!args
) SWIG_fail
;
12800 swig_obj
[0] = args
;
12801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12805 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_From_int(static_cast< int >(result
));
12819 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12820 PyObject
*resultobj
= 0;
12821 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12822 wxLayoutOrientation result
;
12825 PyObject
*swig_obj
[1] ;
12827 if (!args
) SWIG_fail
;
12828 swig_obj
[0] = args
;
12829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12833 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_From_int(static_cast< int >(result
));
12847 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
= 0;
12849 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12850 wxLayoutAlignment arg2
;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char * kwnames
[] = {
12858 (char *) "self",(char *) "alignment", NULL
12861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12866 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12868 if (!SWIG_IsOK(ecode2
)) {
12869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12871 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->SetAlignment(arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_Py_Void();
12885 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
= 0;
12887 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char * kwnames
[] = {
12895 (char *) "self",(char *) "size", NULL
12898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12903 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12906 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= SWIG_Py_Void();
12921 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
= 0;
12923 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12924 wxLayoutOrientation arg2
;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 char * kwnames
[] = {
12932 (char *) "self",(char *) "orientation", NULL
12935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12937 if (!SWIG_IsOK(res1
)) {
12938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12940 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12942 if (!SWIG_IsOK(ecode2
)) {
12943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12945 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->SetOrientation(arg2
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_Py_Void();
12959 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12962 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12963 return SWIG_Py_Void();
12966 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 return SWIG_Python_InitShadowInstance(args
);
12970 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 PyObject
*resultobj
= 0;
12972 wxLayoutAlgorithm
*result
= 0 ;
12974 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12988 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 PyObject
*resultobj
= 0;
12990 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12993 PyObject
*swig_obj
[1] ;
12995 if (!args
) SWIG_fail
;
12996 swig_obj
[0] = args
;
12997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13001 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13016 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
= 0;
13018 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13019 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13020 wxRect
*arg3
= (wxRect
*) NULL
;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 PyObject
* obj2
= 0 ;
13031 char * kwnames
[] = {
13032 (char *) "self",(char *) "frame",(char *) "rect", NULL
13035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13037 if (!SWIG_IsOK(res1
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13040 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13042 if (!SWIG_IsOK(res2
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13045 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13047 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13048 if (!SWIG_IsOK(res3
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13051 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
= 0;
13070 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13071 wxFrame
*arg2
= (wxFrame
*) 0 ;
13072 wxWindow
*arg3
= (wxWindow
*) NULL
;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 char * kwnames
[] = {
13084 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13092 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13094 if (!SWIG_IsOK(res2
)) {
13095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13097 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13099 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13100 if (!SWIG_IsOK(res3
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13103 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13120 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
= 0;
13122 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13123 wxWindow
*arg2
= (wxWindow
*) 0 ;
13124 wxWindow
*arg3
= (wxWindow
*) NULL
;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 PyObject
* obj2
= 0 ;
13135 char * kwnames
[] = {
13136 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13144 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13146 if (!SWIG_IsOK(res2
)) {
13147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13151 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13152 if (!SWIG_IsOK(res3
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13155 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13172 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13175 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13176 return SWIG_Py_Void();
13179 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13180 return SWIG_Python_InitShadowInstance(args
);
13183 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= 0;
13185 wxWindow
*arg1
= (wxWindow
*) 0 ;
13186 int arg2
= (int) wxBORDER_NONE
;
13187 wxPopupWindow
*result
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "parent",(char *) "flags", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13206 if (!SWIG_IsOK(ecode2
)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13209 arg2
= static_cast< int >(val2
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13224 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxPopupWindow
*result
= 0 ;
13228 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxPopupWindow
*)new wxPopupWindow();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13242 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13246 return SWIG_Py_Void();
13249 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13250 return SWIG_Python_InitShadowInstance(args
);
13253 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxWindow
*arg1
= (wxWindow
*) 0 ;
13256 int arg2
= (int) wxBORDER_NONE
;
13257 wxPyPopupTransientWindow
*result
= 0 ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 char * kwnames
[] = {
13265 (char *) "parent",(char *) "style", NULL
13268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13270 if (!SWIG_IsOK(res1
)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13276 if (!SWIG_IsOK(ecode2
)) {
13277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13279 arg2
= static_cast< int >(val2
);
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13294 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13295 PyObject
*resultobj
= 0;
13296 wxPyPopupTransientWindow
*result
= 0 ;
13298 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13312 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13316 return SWIG_Py_Void();
13319 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13320 return SWIG_Python_InitShadowInstance(args
);
13323 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
= 0;
13325 wxWindow
*arg1
= (wxWindow
*) 0 ;
13326 wxString
*arg2
= 0 ;
13327 int arg3
= (int) 100 ;
13328 wxRect
*arg4
= (wxRect
*) NULL
;
13329 wxTipWindow
*result
= 0 ;
13332 bool temp2
= false ;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 PyObject
* obj2
= 0 ;
13340 PyObject
* obj3
= 0 ;
13341 char * kwnames
[] = {
13342 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13352 arg2
= wxString_in_helper(obj1
);
13353 if (arg2
== NULL
) SWIG_fail
;
13357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13358 if (!SWIG_IsOK(ecode3
)) {
13359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13361 arg3
= static_cast< int >(val3
);
13364 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13365 if (!SWIG_IsOK(res4
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13368 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13371 if (!wxPyCheckForApp()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13392 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char * kwnames
[] = {
13402 (char *) "self",(char *) "rectBound", NULL
13405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13407 if (!SWIG_IsOK(res1
)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13410 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13413 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_Py_Void();
13428 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13430 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13433 PyObject
*swig_obj
[1] ;
13435 if (!args
) SWIG_fail
;
13436 swig_obj
[0] = args
;
13437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13441 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_Py_Void();
13455 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13458 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13459 return SWIG_Py_Void();
13462 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13463 return SWIG_Python_InitShadowInstance(args
);
13466 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxWindow
*arg1
= (wxWindow
*) 0 ;
13469 int arg2
= (int) wxID_ANY
;
13470 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13471 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13472 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13473 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13474 long arg5
= (long) 0 ;
13475 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13476 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13477 wxPyVScrolledWindow
*result
= 0 ;
13486 bool temp6
= false ;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 PyObject
* obj2
= 0 ;
13490 PyObject
* obj3
= 0 ;
13491 PyObject
* obj4
= 0 ;
13492 PyObject
* obj5
= 0 ;
13493 char * kwnames
[] = {
13494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13499 if (!SWIG_IsOK(res1
)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13505 if (!SWIG_IsOK(ecode2
)) {
13506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13508 arg2
= static_cast< int >(val2
);
13513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13519 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13523 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13524 if (!SWIG_IsOK(ecode5
)) {
13525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13527 arg5
= static_cast< long >(val5
);
13531 arg6
= wxString_in_helper(obj5
);
13532 if (arg6
== NULL
) SWIG_fail
;
13537 if (!wxPyCheckForApp()) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13558 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 PyObject
*resultobj
= 0;
13560 wxPyVScrolledWindow
*result
= 0 ;
13562 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13564 if (!wxPyCheckForApp()) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13577 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= 0;
13579 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13580 PyObject
*arg2
= (PyObject
*) 0 ;
13581 PyObject
*arg3
= (PyObject
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 PyObject
* obj1
= 0 ;
13586 PyObject
* obj2
= 0 ;
13587 char * kwnames
[] = {
13588 (char *) "self",(char *) "self",(char *) "_class", NULL
13591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13593 if (!SWIG_IsOK(res1
)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13596 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_Py_Void();
13612 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
= 0;
13614 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13615 wxWindow
*arg2
= (wxWindow
*) 0 ;
13616 int arg3
= (int) wxID_ANY
;
13617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13621 long arg6
= (long) 0 ;
13622 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13635 bool temp7
= false ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 PyObject
* obj3
= 0 ;
13640 PyObject
* obj4
= 0 ;
13641 PyObject
* obj5
= 0 ;
13642 PyObject
* obj6
= 0 ;
13643 char * kwnames
[] = {
13644 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13652 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13654 if (!SWIG_IsOK(res2
)) {
13655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13657 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13660 if (!SWIG_IsOK(ecode3
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13663 arg3
= static_cast< int >(val3
);
13668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13674 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13678 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13679 if (!SWIG_IsOK(ecode6
)) {
13680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13682 arg6
= static_cast< long >(val6
);
13686 arg7
= wxString_in_helper(obj6
);
13687 if (arg7
== NULL
) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13714 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
= 0;
13716 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13722 PyObject
* obj0
= 0 ;
13723 PyObject
* obj1
= 0 ;
13724 char * kwnames
[] = {
13725 (char *) "self",(char *) "count", NULL
13728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13730 if (!SWIG_IsOK(res1
)) {
13731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13733 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13734 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13735 if (!SWIG_IsOK(ecode2
)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13738 arg2
= static_cast< size_t >(val2
);
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 (arg1
)->SetLineCount(arg2
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_Py_Void();
13752 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
= 0;
13754 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 char * kwnames
[] = {
13764 (char *) "self",(char *) "line", NULL
13767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13769 if (!SWIG_IsOK(res1
)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13772 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13773 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13774 if (!SWIG_IsOK(ecode2
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13777 arg2
= static_cast< size_t >(val2
);
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13793 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13795 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 char * kwnames
[] = {
13804 (char *) "self",(char *) "line", NULL
13807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13809 if (!SWIG_IsOK(res1
)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13812 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13813 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13814 if (!SWIG_IsOK(ecode2
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13817 arg2
= static_cast< size_t >(val2
);
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->RefreshLine(arg2
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_Py_Void();
13831 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
= 0;
13833 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 PyObject
* obj2
= 0 ;
13845 char * kwnames
[] = {
13846 (char *) "self",(char *) "from",(char *) "to", NULL
13849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13854 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13855 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13856 if (!SWIG_IsOK(ecode2
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13859 arg2
= static_cast< size_t >(val2
);
13860 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13861 if (!SWIG_IsOK(ecode3
)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13864 arg3
= static_cast< size_t >(val3
);
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 (arg1
)->RefreshLines(arg2
,arg3
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_Py_Void();
13878 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
= 0;
13880 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13890 PyObject
* obj0
= 0 ;
13891 PyObject
* obj1
= 0 ;
13892 PyObject
* obj2
= 0 ;
13893 char * kwnames
[] = {
13894 (char *) "self",(char *) "x",(char *) "y", NULL
13897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13902 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13904 if (!SWIG_IsOK(ecode2
)) {
13905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13907 arg2
= static_cast< int >(val2
);
13908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13909 if (!SWIG_IsOK(ecode3
)) {
13910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13912 arg3
= static_cast< int >(val3
);
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= SWIG_From_int(static_cast< int >(result
));
13926 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
= 0;
13928 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13929 wxPoint
*arg2
= 0 ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char * kwnames
[] = {
13937 (char *) "self",(char *) "pt", NULL
13940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13942 if (!SWIG_IsOK(res1
)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13945 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_From_int(static_cast< int >(result
));
13963 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13964 PyObject
*resultobj
= 0;
13965 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13968 PyObject
*swig_obj
[1] ;
13970 if (!args
) SWIG_fail
;
13971 swig_obj
[0] = args
;
13972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13973 if (!SWIG_IsOK(res1
)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13976 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 (arg1
)->RefreshAll();
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_Py_Void();
13990 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13991 PyObject
*resultobj
= 0;
13992 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13996 PyObject
*swig_obj
[1] ;
13998 if (!args
) SWIG_fail
;
13999 swig_obj
[0] = args
;
14000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14001 if (!SWIG_IsOK(res1
)) {
14002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14004 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14018 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14019 PyObject
*resultobj
= 0;
14020 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14024 PyObject
*swig_obj
[1] ;
14026 if (!args
) SWIG_fail
;
14027 swig_obj
[0] = args
;
14028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14029 if (!SWIG_IsOK(res1
)) {
14030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14032 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14046 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14047 PyObject
*resultobj
= 0;
14048 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14052 PyObject
*swig_obj
[1] ;
14054 if (!args
) SWIG_fail
;
14055 swig_obj
[0] = args
;
14056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14057 if (!SWIG_IsOK(res1
)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14060 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14064 wxPyEndAllowThreads(__tstate
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14074 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
= 0;
14076 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 char * kwnames
[] = {
14086 (char *) "self",(char *) "line", NULL
14089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14091 if (!SWIG_IsOK(res1
)) {
14092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14094 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14095 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14096 if (!SWIG_IsOK(ecode2
)) {
14097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14099 arg2
= static_cast< size_t >(val2
);
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14115 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 PyObject
*resultobj
= 0;
14117 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14121 PyObject
*swig_obj
[1] ;
14123 if (!args
) SWIG_fail
;
14124 swig_obj
[0] = args
;
14125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14129 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14143 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 PyObject
*resultobj
= 0;
14145 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14149 PyObject
*swig_obj
[1] ;
14151 if (!args
) SWIG_fail
;
14152 swig_obj
[0] = args
;
14153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14154 if (!SWIG_IsOK(res1
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14157 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14171 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14175 bool arg3
= (bool) false ;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 PyObject
* obj2
= 0 ;
14186 char * kwnames
[] = {
14187 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14192 if (!SWIG_IsOK(res1
)) {
14193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14195 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14196 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14197 if (!SWIG_IsOK(ecode2
)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14200 arg2
= static_cast< size_t >(val2
);
14202 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14203 if (!SWIG_IsOK(ecode3
)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14206 arg3
= static_cast< bool >(val3
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14221 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
= 0;
14223 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 char * kwnames
[] = {
14237 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14245 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14246 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14247 if (!SWIG_IsOK(ecode2
)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14250 arg2
= static_cast< size_t >(val2
);
14251 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14252 if (!SWIG_IsOK(ecode3
)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14255 arg3
= static_cast< size_t >(val3
);
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= SWIG_From_int(static_cast< int >(result
));
14269 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14272 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14273 return SWIG_Py_Void();
14276 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14277 return SWIG_Python_InitShadowInstance(args
);
14280 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14281 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14286 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14287 PyObject
*pyobj
= 0;
14291 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14293 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14300 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
= 0;
14302 wxWindow
*arg1
= (wxWindow
*) 0 ;
14303 int arg2
= (int) wxID_ANY
;
14304 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14305 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14306 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14307 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14308 long arg5
= (long) 0 ;
14309 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14310 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14311 wxPyVListBox
*result
= 0 ;
14320 bool temp6
= false ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 PyObject
* obj3
= 0 ;
14325 PyObject
* obj4
= 0 ;
14326 PyObject
* obj5
= 0 ;
14327 char * kwnames
[] = {
14328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14339 if (!SWIG_IsOK(ecode2
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14342 arg2
= static_cast< int >(val2
);
14347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14353 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14357 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14358 if (!SWIG_IsOK(ecode5
)) {
14359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14361 arg5
= static_cast< long >(val5
);
14365 arg6
= wxString_in_helper(obj5
);
14366 if (arg6
== NULL
) SWIG_fail
;
14371 if (!wxPyCheckForApp()) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14392 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14393 PyObject
*resultobj
= 0;
14394 wxPyVListBox
*result
= 0 ;
14396 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14398 if (!wxPyCheckForApp()) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (wxPyVListBox
*)new wxPyVListBox();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14411 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
= 0;
14413 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14414 PyObject
*arg2
= (PyObject
*) 0 ;
14415 PyObject
*arg3
= (PyObject
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 PyObject
* obj2
= 0 ;
14421 char * kwnames
[] = {
14422 (char *) "self",(char *) "self",(char *) "_class", NULL
14425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14430 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_Py_Void();
14446 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
= 0;
14448 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14449 wxWindow
*arg2
= (wxWindow
*) 0 ;
14450 int arg3
= (int) wxID_ANY
;
14451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14455 long arg6
= (long) 0 ;
14456 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14469 bool temp7
= false ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 PyObject
* obj2
= 0 ;
14473 PyObject
* obj3
= 0 ;
14474 PyObject
* obj4
= 0 ;
14475 PyObject
* obj5
= 0 ;
14476 PyObject
* obj6
= 0 ;
14477 char * kwnames
[] = {
14478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14486 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14488 if (!SWIG_IsOK(res2
)) {
14489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14491 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14494 if (!SWIG_IsOK(ecode3
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14497 arg3
= static_cast< int >(val3
);
14502 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14508 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14512 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14513 if (!SWIG_IsOK(ecode6
)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14516 arg6
= static_cast< long >(val6
);
14520 arg7
= wxString_in_helper(obj6
);
14521 if (arg7
== NULL
) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14549 PyObject
*resultobj
= 0;
14550 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14554 PyObject
*swig_obj
[1] ;
14556 if (!args
) SWIG_fail
;
14557 swig_obj
[0] = args
;
14558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14562 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14576 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14590 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14606 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14607 PyObject
*resultobj
= 0;
14608 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14612 PyObject
*swig_obj
[1] ;
14614 if (!args
) SWIG_fail
;
14615 swig_obj
[0] = args
;
14616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14620 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_From_int(static_cast< int >(result
));
14634 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
= 0;
14636 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 PyObject
* obj1
= 0 ;
14645 char * kwnames
[] = {
14646 (char *) "self",(char *) "item", NULL
14649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14651 if (!SWIG_IsOK(res1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14654 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14655 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14656 if (!SWIG_IsOK(ecode2
)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14659 arg2
= static_cast< size_t >(val2
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14675 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
= 0;
14677 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 PyObject
* obj1
= 0 ;
14686 char * kwnames
[] = {
14687 (char *) "self",(char *) "item", NULL
14690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14695 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14696 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14697 if (!SWIG_IsOK(ecode2
)) {
14698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14700 arg2
= static_cast< size_t >(val2
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14716 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14717 PyObject
*resultobj
= 0;
14718 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14722 PyObject
*swig_obj
[1] ;
14724 if (!args
) SWIG_fail
;
14725 swig_obj
[0] = args
;
14726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14727 if (!SWIG_IsOK(res1
)) {
14728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14730 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14744 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14745 PyObject
*resultobj
= 0;
14746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14747 PyObject
*result
= 0 ;
14750 PyObject
*swig_obj
[1] ;
14752 if (!args
) SWIG_fail
;
14753 swig_obj
[0] = args
;
14754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14755 if (!SWIG_IsOK(res1
)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14758 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= result
;
14772 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14775 unsigned long arg2
;
14776 PyObject
*result
= 0 ;
14779 unsigned long val2
;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 char * kwnames
[] = {
14784 (char *) "self",(char *) "cookie", NULL
14787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14789 if (!SWIG_IsOK(res1
)) {
14790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14792 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14793 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14794 if (!SWIG_IsOK(ecode2
)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14797 arg2
= static_cast< unsigned long >(val2
);
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= result
;
14811 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14812 PyObject
*resultobj
= 0;
14813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14817 PyObject
*swig_obj
[1] ;
14819 if (!args
) SWIG_fail
;
14820 swig_obj
[0] = args
;
14821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14825 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14839 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14840 PyObject
*resultobj
= 0;
14841 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14842 wxColour
*result
= 0 ;
14845 PyObject
*swig_obj
[1] ;
14847 if (!args
) SWIG_fail
;
14848 swig_obj
[0] = args
;
14849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14853 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14858 result
= (wxColour
*) &_result_ref
;
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14870 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
= 0;
14872 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 char * kwnames
[] = {
14881 (char *) "self",(char *) "count", NULL
14884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14889 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14890 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14891 if (!SWIG_IsOK(ecode2
)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14894 arg2
= static_cast< size_t >(val2
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 (arg1
)->SetItemCount(arg2
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_Py_Void();
14908 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14909 PyObject
*resultobj
= 0;
14910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14913 PyObject
*swig_obj
[1] ;
14915 if (!args
) SWIG_fail
;
14916 swig_obj
[0] = args
;
14917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14918 if (!SWIG_IsOK(res1
)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14921 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_Py_Void();
14935 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
= 0;
14937 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 char * kwnames
[] = {
14946 (char *) "self",(char *) "selection", NULL
14949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14951 if (!SWIG_IsOK(res1
)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14954 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14956 if (!SWIG_IsOK(ecode2
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14959 arg2
= static_cast< int >(val2
);
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 (arg1
)->SetSelection(arg2
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_Py_Void();
14973 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
= 0;
14975 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14977 bool arg3
= (bool) true ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 PyObject
* obj2
= 0 ;
14988 char * kwnames
[] = {
14989 (char *) "self",(char *) "item",(char *) "select", NULL
14992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14994 if (!SWIG_IsOK(res1
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14997 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14998 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14999 if (!SWIG_IsOK(ecode2
)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15002 arg2
= static_cast< size_t >(val2
);
15004 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15005 if (!SWIG_IsOK(ecode3
)) {
15006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15008 arg3
= static_cast< bool >(val3
);
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15025 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= 0;
15027 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 PyObject
* obj1
= 0 ;
15039 PyObject
* obj2
= 0 ;
15040 char * kwnames
[] = {
15041 (char *) "self",(char *) "from",(char *) "to", NULL
15044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15046 if (!SWIG_IsOK(res1
)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15049 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15050 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15051 if (!SWIG_IsOK(ecode2
)) {
15052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15054 arg2
= static_cast< size_t >(val2
);
15055 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15056 if (!SWIG_IsOK(ecode3
)) {
15057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15059 arg3
= static_cast< size_t >(val3
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 char * kwnames
[] = {
15086 (char *) "self",(char *) "item", NULL
15089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15094 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15095 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15096 if (!SWIG_IsOK(ecode2
)) {
15097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15099 arg2
= static_cast< size_t >(val2
);
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->Toggle(arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_Py_Void();
15113 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15114 PyObject
*resultobj
= 0;
15115 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15119 PyObject
*swig_obj
[1] ;
15121 if (!args
) SWIG_fail
;
15122 swig_obj
[0] = args
;
15123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15124 if (!SWIG_IsOK(res1
)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15127 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (bool)(arg1
)->SelectAll();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15143 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15144 PyObject
*resultobj
= 0;
15145 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15149 PyObject
*swig_obj
[1] ;
15151 if (!args
) SWIG_fail
;
15152 swig_obj
[0] = args
;
15153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (bool)(arg1
)->DeselectAll();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15173 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
= 0;
15175 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15176 wxPoint
*arg2
= 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 char * kwnames
[] = {
15183 (char *) "self",(char *) "pt", NULL
15186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15188 if (!SWIG_IsOK(res1
)) {
15189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15191 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_Py_Void();
15209 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= 0;
15211 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "self",(char *) "x",(char *) "y", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15229 if (!SWIG_IsOK(res1
)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15232 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15234 if (!SWIG_IsOK(ecode2
)) {
15235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15237 arg2
= static_cast< int >(val2
);
15238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15239 if (!SWIG_IsOK(ecode3
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15242 arg3
= static_cast< int >(val3
);
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->SetMargins(arg2
,arg3
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_Py_Void();
15256 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
= 0;
15258 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15259 wxColour
*arg2
= 0 ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 char * kwnames
[] = {
15266 (char *) "self",(char *) "col", NULL
15269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15271 if (!SWIG_IsOK(res1
)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15274 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= SWIG_Py_Void();
15292 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
= 0;
15294 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 PyObject
* obj2
= 0 ;
15308 PyObject
* obj3
= 0 ;
15309 char * kwnames
[] = {
15310 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15318 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15320 if (!SWIG_IsOK(res2
)) {
15321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15326 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15329 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15331 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15332 if (!SWIG_IsOK(ecode4
)) {
15333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15335 arg4
= static_cast< size_t >(val4
);
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= SWIG_Py_Void();
15349 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
= 0;
15351 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 PyObject
* obj2
= 0 ;
15365 PyObject
* obj3
= 0 ;
15366 char * kwnames
[] = {
15367 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15375 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15377 if (!SWIG_IsOK(res2
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15383 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15386 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15388 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15389 if (!SWIG_IsOK(ecode4
)) {
15390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15392 arg4
= static_cast< size_t >(val4
);
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_Py_Void();
15406 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15410 return SWIG_Py_Void();
15413 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 return SWIG_Python_InitShadowInstance(args
);
15417 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
= 0;
15419 wxWindow
*arg1
= (wxWindow
*) 0 ;
15420 int arg2
= (int) wxID_ANY
;
15421 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15422 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15423 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15424 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15425 long arg5
= (long) 0 ;
15426 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15427 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15428 wxPyHtmlListBox
*result
= 0 ;
15437 bool temp6
= false ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 PyObject
* obj2
= 0 ;
15441 PyObject
* obj3
= 0 ;
15442 PyObject
* obj4
= 0 ;
15443 PyObject
* obj5
= 0 ;
15444 char * kwnames
[] = {
15445 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15453 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15456 if (!SWIG_IsOK(ecode2
)) {
15457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15459 arg2
= static_cast< int >(val2
);
15464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15470 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15474 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15475 if (!SWIG_IsOK(ecode5
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15478 arg5
= static_cast< long >(val5
);
15482 arg6
= wxString_in_helper(obj5
);
15483 if (arg6
== NULL
) SWIG_fail
;
15488 if (!wxPyCheckForApp()) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15509 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15510 PyObject
*resultobj
= 0;
15511 wxPyHtmlListBox
*result
= 0 ;
15513 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15515 if (!wxPyCheckForApp()) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15528 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
= 0;
15530 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15531 PyObject
*arg2
= (PyObject
*) 0 ;
15532 PyObject
*arg3
= (PyObject
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 char * kwnames
[] = {
15539 (char *) "self",(char *) "self",(char *) "_class", NULL
15542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15544 if (!SWIG_IsOK(res1
)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15547 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_Py_Void();
15563 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
= 0;
15565 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15566 wxWindow
*arg2
= (wxWindow
*) 0 ;
15567 int arg3
= (int) wxID_ANY
;
15568 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15569 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15570 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15571 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15572 long arg6
= (long) 0 ;
15573 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15574 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15586 bool temp7
= false ;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 PyObject
* obj2
= 0 ;
15590 PyObject
* obj3
= 0 ;
15591 PyObject
* obj4
= 0 ;
15592 PyObject
* obj5
= 0 ;
15593 PyObject
* obj6
= 0 ;
15594 char * kwnames
[] = {
15595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15600 if (!SWIG_IsOK(res1
)) {
15601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15603 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15605 if (!SWIG_IsOK(res2
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15608 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15611 if (!SWIG_IsOK(ecode3
)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15614 arg3
= static_cast< int >(val3
);
15619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15630 if (!SWIG_IsOK(ecode6
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15633 arg6
= static_cast< long >(val6
);
15637 arg7
= wxString_in_helper(obj6
);
15638 if (arg7
== NULL
) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15665 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
= 0;
15667 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char * kwnames
[] = {
15676 (char *) "self",(char *) "count", NULL
15679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15681 if (!SWIG_IsOK(res1
)) {
15682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15684 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15685 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15686 if (!SWIG_IsOK(ecode2
)) {
15687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15689 arg2
= static_cast< size_t >(val2
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetItemCount(arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 PyObject
*resultobj
= 0;
15705 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15706 wxFileSystem
*result
= 0 ;
15709 PyObject
*swig_obj
[1] ;
15711 if (!args
) SWIG_fail
;
15712 swig_obj
[0] = args
;
15713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15717 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15722 result
= (wxFileSystem
*) &_result_ref
;
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15734 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
= 0;
15736 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15738 wxHtmlLinkInfo
*arg3
= 0 ;
15745 PyObject
* obj0
= 0 ;
15746 PyObject
* obj1
= 0 ;
15747 PyObject
* obj2
= 0 ;
15748 char * kwnames
[] = {
15749 (char *) "self",(char *) "n",(char *) "link", NULL
15752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15757 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15758 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15759 if (!SWIG_IsOK(ecode2
)) {
15760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15762 arg2
= static_cast< size_t >(val2
);
15763 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15764 if (!SWIG_IsOK(res3
)) {
15765 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15770 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_Py_Void();
15784 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15787 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15788 return SWIG_Py_Void();
15791 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15792 return SWIG_Python_InitShadowInstance(args
);
15795 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15796 PyObject
*resultobj
= 0;
15797 wxPyTaskBarIcon
*result
= 0 ;
15799 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15801 if (!wxPyCheckForApp()) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15814 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 PyObject
*resultobj
= 0;
15816 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15819 PyObject
*swig_obj
[1] ;
15821 if (!args
) SWIG_fail
;
15822 swig_obj
[0] = args
;
15823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15827 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= SWIG_Py_Void();
15842 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
= 0;
15844 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15845 PyObject
*arg2
= (PyObject
*) 0 ;
15846 PyObject
*arg3
= (PyObject
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 PyObject
* obj2
= 0 ;
15855 PyObject
* obj3
= 0 ;
15856 char * kwnames
[] = {
15857 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15862 if (!SWIG_IsOK(res1
)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15865 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15869 if (!SWIG_IsOK(ecode4
)) {
15870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15872 arg4
= static_cast< int >(val4
);
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_Py_Void();
15886 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15887 PyObject
*resultobj
= 0;
15888 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15899 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 wxPyTaskBarIcon_Destroy(arg1
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_Py_Void();
15913 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15919 PyObject
*swig_obj
[1] ;
15921 if (!args
) SWIG_fail
;
15922 swig_obj
[0] = args
;
15923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15927 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15943 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15944 PyObject
*resultobj
= 0;
15945 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15949 PyObject
*swig_obj
[1] ;
15951 if (!args
) SWIG_fail
;
15952 swig_obj
[0] = args
;
15953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15957 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15973 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
= 0;
15975 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15984 bool temp3
= false ;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 PyObject
* obj2
= 0 ;
15988 char * kwnames
[] = {
15989 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15994 if (!SWIG_IsOK(res1
)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15997 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15999 if (!SWIG_IsOK(res2
)) {
16000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16005 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16008 arg3
= wxString_in_helper(obj2
);
16009 if (arg3
== NULL
) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16036 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16037 PyObject
*resultobj
= 0;
16038 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16042 PyObject
*swig_obj
[1] ;
16044 if (!args
) SWIG_fail
;
16045 swig_obj
[0] = args
;
16046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16047 if (!SWIG_IsOK(res1
)) {
16048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16050 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (bool)(arg1
)->RemoveIcon();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= 0;
16068 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16069 wxMenu
*arg2
= (wxMenu
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 PyObject
* obj1
= 0 ;
16077 char * kwnames
[] = {
16078 (char *) "self",(char *) "menu", NULL
16081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16083 if (!SWIG_IsOK(res1
)) {
16084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16086 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16088 if (!SWIG_IsOK(res2
)) {
16089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16091 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (bool)(arg1
)->PopupMenu(arg2
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16107 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16111 return SWIG_Py_Void();
16114 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 return SWIG_Python_InitShadowInstance(args
);
16118 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
= 0;
16121 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16122 wxTaskBarIconEvent
*result
= 0 ;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 char * kwnames
[] = {
16130 (char *) "evtType",(char *) "tbIcon", NULL
16133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16134 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16135 if (!SWIG_IsOK(ecode1
)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16138 arg1
= static_cast< wxEventType
>(val1
);
16139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16140 if (!SWIG_IsOK(res2
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16143 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16157 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16160 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16161 return SWIG_Py_Void();
16164 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16165 return SWIG_Python_InitShadowInstance(args
);
16168 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16169 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16174 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16175 PyObject
*pyobj
= 0;
16179 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16181 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16188 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16189 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16194 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16195 PyObject
*pyobj
= 0;
16199 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16201 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16208 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16209 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16214 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16215 PyObject
*pyobj
= 0;
16219 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16221 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16228 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16229 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16234 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16235 PyObject
*pyobj
= 0;
16239 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16241 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16248 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16249 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16254 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16255 PyObject
*pyobj
= 0;
16259 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16261 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16268 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16269 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16274 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16275 PyObject
*pyobj
= 0;
16279 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16281 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16288 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16289 PyObject
*resultobj
= 0;
16290 wxColourData
*result
= 0 ;
16292 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (wxColourData
*)new wxColourData();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16306 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 PyObject
*resultobj
= 0;
16308 wxColourData
*arg1
= (wxColourData
*) 0 ;
16311 PyObject
*swig_obj
[1] ;
16313 if (!args
) SWIG_fail
;
16314 swig_obj
[0] = args
;
16315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16316 if (!SWIG_IsOK(res1
)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16319 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= SWIG_Py_Void();
16334 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16335 PyObject
*resultobj
= 0;
16336 wxColourData
*arg1
= (wxColourData
*) 0 ;
16340 PyObject
*swig_obj
[1] ;
16342 if (!args
) SWIG_fail
;
16343 swig_obj
[0] = args
;
16344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16345 if (!SWIG_IsOK(res1
)) {
16346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16348 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (bool)(arg1
)->GetChooseFull();
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16364 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16365 PyObject
*resultobj
= 0;
16366 wxColourData
*arg1
= (wxColourData
*) 0 ;
16370 PyObject
*swig_obj
[1] ;
16372 if (!args
) SWIG_fail
;
16373 swig_obj
[0] = args
;
16374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16375 if (!SWIG_IsOK(res1
)) {
16376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16378 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (arg1
)->GetColour();
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16392 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
= 0;
16394 wxColourData
*arg1
= (wxColourData
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char * kwnames
[] = {
16404 (char *) "self",(char *) "i", NULL
16407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16409 if (!SWIG_IsOK(res1
)) {
16410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16412 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16414 if (!SWIG_IsOK(ecode2
)) {
16415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16417 arg2
= static_cast< int >(val2
);
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (arg1
)->GetCustomColour(arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16431 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
= 0;
16433 wxColourData
*arg1
= (wxColourData
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 PyObject
* obj1
= 0 ;
16441 char * kwnames
[] = {
16442 (char *) "self",(char *) "flag", NULL
16445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16447 if (!SWIG_IsOK(res1
)) {
16448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16450 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16452 if (!SWIG_IsOK(ecode2
)) {
16453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16455 arg2
= static_cast< int >(val2
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 (arg1
)->SetChooseFull(arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_Py_Void();
16469 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
= 0;
16471 wxColourData
*arg1
= (wxColourData
*) 0 ;
16472 wxColour
*arg2
= 0 ;
16476 PyObject
* obj0
= 0 ;
16477 PyObject
* obj1
= 0 ;
16478 char * kwnames
[] = {
16479 (char *) "self",(char *) "colour", NULL
16482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16484 if (!SWIG_IsOK(res1
)) {
16485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16487 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->SetColour((wxColour
const &)*arg2
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_Py_Void();
16505 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16507 wxColourData
*arg1
= (wxColourData
*) 0 ;
16509 wxColour
*arg3
= 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 PyObject
* obj2
= 0 ;
16518 char * kwnames
[] = {
16519 (char *) "self",(char *) "i",(char *) "colour", NULL
16522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16524 if (!SWIG_IsOK(res1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16527 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16529 if (!SWIG_IsOK(ecode2
)) {
16530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16532 arg2
= static_cast< int >(val2
);
16535 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= SWIG_Py_Void();
16550 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16553 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16554 return SWIG_Py_Void();
16557 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16558 return SWIG_Python_InitShadowInstance(args
);
16561 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
= 0;
16563 wxWindow
*arg1
= (wxWindow
*) 0 ;
16564 wxColourData
*arg2
= (wxColourData
*) NULL
;
16565 wxColourDialog
*result
= 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char * kwnames
[] = {
16573 (char *) "parent",(char *) "data", NULL
16576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16578 if (!SWIG_IsOK(res1
)) {
16579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16584 if (!SWIG_IsOK(res2
)) {
16585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16587 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16590 if (!wxPyCheckForApp()) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16603 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16604 PyObject
*resultobj
= 0;
16605 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16606 wxColourData
*result
= 0 ;
16609 PyObject
*swig_obj
[1] ;
16611 if (!args
) SWIG_fail
;
16612 swig_obj
[0] = args
;
16613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16614 if (!SWIG_IsOK(res1
)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16617 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16622 result
= (wxColourData
*) &_result_ref
;
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16634 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16637 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16638 return SWIG_Py_Void();
16641 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16642 return SWIG_Python_InitShadowInstance(args
);
16645 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
= 0;
16647 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16648 wxColour
const &arg2_defvalue
= wxNullColour
;
16649 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16650 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16651 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16656 bool temp3
= false ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 PyObject
* obj2
= 0 ;
16660 char * kwnames
[] = {
16661 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16667 if (!SWIG_IsOK(res1
)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16675 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16680 arg3
= wxString_in_helper(obj2
);
16681 if (arg3
== NULL
) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16706 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
= 0;
16708 wxWindow
*arg1
= (wxWindow
*) 0 ;
16709 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16710 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16711 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16712 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16713 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16714 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16715 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16716 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16717 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16718 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16720 wxDirDialog
*result
= 0 ;
16723 bool temp2
= false ;
16724 bool temp3
= false ;
16729 bool temp7
= false ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 PyObject
* obj2
= 0 ;
16733 PyObject
* obj3
= 0 ;
16734 PyObject
* obj4
= 0 ;
16735 PyObject
* obj5
= 0 ;
16736 PyObject
* obj6
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16749 arg2
= wxString_in_helper(obj1
);
16750 if (arg2
== NULL
) SWIG_fail
;
16756 arg3
= wxString_in_helper(obj2
);
16757 if (arg3
== NULL
) SWIG_fail
;
16762 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16763 if (!SWIG_IsOK(ecode4
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16766 arg4
= static_cast< long >(val4
);
16771 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16777 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16782 arg7
= wxString_in_helper(obj6
);
16783 if (arg7
== NULL
) SWIG_fail
;
16788 if (!wxPyCheckForApp()) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16825 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16826 PyObject
*resultobj
= 0;
16827 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16831 PyObject
*swig_obj
[1] ;
16833 if (!args
) SWIG_fail
;
16834 swig_obj
[0] = args
;
16835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16836 if (!SWIG_IsOK(res1
)) {
16837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16839 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (arg1
)->GetPath();
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16859 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16860 PyObject
*resultobj
= 0;
16861 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16865 PyObject
*swig_obj
[1] ;
16867 if (!args
) SWIG_fail
;
16868 swig_obj
[0] = args
;
16869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16870 if (!SWIG_IsOK(res1
)) {
16871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16873 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (arg1
)->GetMessage();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16893 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
= 0;
16895 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16896 wxString
*arg2
= 0 ;
16899 bool temp2
= false ;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 char * kwnames
[] = {
16903 (char *) "self",(char *) "message", NULL
16906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16911 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16913 arg2
= wxString_in_helper(obj1
);
16914 if (arg2
== NULL
) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->SetMessage((wxString
const &)*arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
= 0;
16940 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16941 wxString
*arg2
= 0 ;
16944 bool temp2
= false ;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 char * kwnames
[] = {
16948 (char *) "self",(char *) "path", NULL
16951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16956 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16958 arg2
= wxString_in_helper(obj1
);
16959 if (arg2
== NULL
) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 (arg1
)->SetPath((wxString
const &)*arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_Py_Void();
16983 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16986 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16987 return SWIG_Py_Void();
16990 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16991 return SWIG_Python_InitShadowInstance(args
);
16994 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
= 0;
16996 wxWindow
*arg1
= (wxWindow
*) 0 ;
16997 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16998 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16999 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17000 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17001 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17002 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17003 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17004 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17005 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17006 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17007 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17008 wxFileDialog
*result
= 0 ;
17011 bool temp2
= false ;
17012 bool temp3
= false ;
17013 bool temp4
= false ;
17014 bool temp5
= false ;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 PyObject
* obj2
= 0 ;
17021 PyObject
* obj3
= 0 ;
17022 PyObject
* obj4
= 0 ;
17023 PyObject
* obj5
= 0 ;
17024 PyObject
* obj6
= 0 ;
17025 char * kwnames
[] = {
17026 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17034 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17037 arg2
= wxString_in_helper(obj1
);
17038 if (arg2
== NULL
) SWIG_fail
;
17044 arg3
= wxString_in_helper(obj2
);
17045 if (arg3
== NULL
) SWIG_fail
;
17051 arg4
= wxString_in_helper(obj3
);
17052 if (arg4
== NULL
) SWIG_fail
;
17058 arg5
= wxString_in_helper(obj4
);
17059 if (arg5
== NULL
) SWIG_fail
;
17064 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17065 if (!SWIG_IsOK(ecode6
)) {
17066 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17068 arg6
= static_cast< long >(val6
);
17073 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17077 if (!wxPyCheckForApp()) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17122 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= 0;
17124 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17125 wxString
*arg2
= 0 ;
17128 bool temp2
= false ;
17129 PyObject
* obj0
= 0 ;
17130 PyObject
* obj1
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "self",(char *) "message", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17140 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17142 arg2
= wxString_in_helper(obj1
);
17143 if (arg2
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->SetMessage((wxString
const &)*arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_Py_Void();
17167 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17169 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17170 wxString
*arg2
= 0 ;
17173 bool temp2
= false ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char * kwnames
[] = {
17177 (char *) "self",(char *) "path", NULL
17180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17182 if (!SWIG_IsOK(res1
)) {
17183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17185 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17187 arg2
= wxString_in_helper(obj1
);
17188 if (arg2
== NULL
) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 (arg1
)->SetPath((wxString
const &)*arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= SWIG_Py_Void();
17212 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
= 0;
17214 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17215 wxString
*arg2
= 0 ;
17218 bool temp2
= false ;
17219 PyObject
* obj0
= 0 ;
17220 PyObject
* obj1
= 0 ;
17221 char * kwnames
[] = {
17222 (char *) "self",(char *) "dir", NULL
17225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17227 if (!SWIG_IsOK(res1
)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17230 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17232 arg2
= wxString_in_helper(obj1
);
17233 if (arg2
== NULL
) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= SWIG_Py_Void();
17257 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17260 wxString
*arg2
= 0 ;
17263 bool temp2
= false ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char * kwnames
[] = {
17267 (char *) "self",(char *) "name", NULL
17270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17272 if (!SWIG_IsOK(res1
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17275 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17277 arg2
= wxString_in_helper(obj1
);
17278 if (arg2
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 (arg1
)->SetFilename((wxString
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_Py_Void();
17302 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17305 wxString
*arg2
= 0 ;
17308 bool temp2
= false ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "self",(char *) "wildCard", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17320 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17322 arg2
= wxString_in_helper(obj1
);
17323 if (arg2
== NULL
) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= SWIG_Py_Void();
17347 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
= 0;
17349 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 char * kwnames
[] = {
17358 (char *) "self",(char *) "filterIndex", NULL
17361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17363 if (!SWIG_IsOK(res1
)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17366 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17368 if (!SWIG_IsOK(ecode2
)) {
17369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17371 arg2
= static_cast< int >(val2
);
17373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17374 (arg1
)->SetFilterIndex(arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_Py_Void();
17385 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17386 PyObject
*resultobj
= 0;
17387 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17391 PyObject
*swig_obj
[1] ;
17393 if (!args
) SWIG_fail
;
17394 swig_obj
[0] = args
;
17395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17396 if (!SWIG_IsOK(res1
)) {
17397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17399 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17419 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17420 PyObject
*resultobj
= 0;
17421 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17425 PyObject
*swig_obj
[1] ;
17427 if (!args
) SWIG_fail
;
17428 swig_obj
[0] = args
;
17429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17430 if (!SWIG_IsOK(res1
)) {
17431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17433 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17453 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17454 PyObject
*resultobj
= 0;
17455 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17459 PyObject
*swig_obj
[1] ;
17461 if (!args
) SWIG_fail
;
17462 swig_obj
[0] = args
;
17463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17464 if (!SWIG_IsOK(res1
)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17467 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17487 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17488 PyObject
*resultobj
= 0;
17489 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17493 PyObject
*swig_obj
[1] ;
17495 if (!args
) SWIG_fail
;
17496 swig_obj
[0] = args
;
17497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17498 if (!SWIG_IsOK(res1
)) {
17499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17501 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17521 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 PyObject
*resultobj
= 0;
17523 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17527 PyObject
*swig_obj
[1] ;
17529 if (!args
) SWIG_fail
;
17530 swig_obj
[0] = args
;
17531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17535 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17555 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17556 PyObject
*resultobj
= 0;
17557 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17561 PyObject
*swig_obj
[1] ;
17563 if (!args
) SWIG_fail
;
17564 swig_obj
[0] = args
;
17565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17569 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_From_int(static_cast< int >(result
));
17583 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17584 PyObject
*resultobj
= 0;
17585 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17586 PyObject
*result
= 0 ;
17589 PyObject
*swig_obj
[1] ;
17591 if (!args
) SWIG_fail
;
17592 swig_obj
[0] = args
;
17593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17594 if (!SWIG_IsOK(res1
)) {
17595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17597 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= result
;
17611 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17612 PyObject
*resultobj
= 0;
17613 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17614 PyObject
*result
= 0 ;
17617 PyObject
*swig_obj
[1] ;
17619 if (!args
) SWIG_fail
;
17620 swig_obj
[0] = args
;
17621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17622 if (!SWIG_IsOK(res1
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17625 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= result
;
17639 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17642 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17643 return SWIG_Py_Void();
17646 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17647 return SWIG_Python_InitShadowInstance(args
);
17650 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
= 0;
17652 wxWindow
*arg1
= (wxWindow
*) 0 ;
17653 wxString
*arg2
= 0 ;
17654 wxString
*arg3
= 0 ;
17655 int arg4
= (int) 0 ;
17656 wxString
*arg5
= (wxString
*) NULL
;
17657 long arg6
= (long) wxCHOICEDLG_STYLE
;
17658 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17659 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17660 wxMultiChoiceDialog
*result
= 0 ;
17663 bool temp2
= false ;
17664 bool temp3
= false ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 PyObject
* obj3
= 0 ;
17672 PyObject
* obj4
= 0 ;
17673 PyObject
* obj5
= 0 ;
17674 char * kwnames
[] = {
17675 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17680 if (!SWIG_IsOK(res1
)) {
17681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17685 arg2
= wxString_in_helper(obj1
);
17686 if (arg2
== NULL
) SWIG_fail
;
17690 arg3
= wxString_in_helper(obj2
);
17691 if (arg3
== NULL
) SWIG_fail
;
17696 arg4
= PyList_Size(obj3
);
17697 arg5
= wxString_LIST_helper(obj3
);
17698 if (arg5
== NULL
) SWIG_fail
;
17702 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17703 if (!SWIG_IsOK(ecode6
)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17706 arg6
= static_cast< long >(val6
);
17711 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17715 if (!wxPyCheckForApp()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17731 if (arg5
) delete [] arg5
;
17744 if (arg5
) delete [] arg5
;
17750 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
= 0;
17752 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17753 wxArrayInt
*arg2
= 0 ;
17756 bool temp2
= false ;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 char * kwnames
[] = {
17760 (char *) "self",(char *) "selections", NULL
17763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17765 if (!SWIG_IsOK(res1
)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17768 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17770 if (! PySequence_Check(obj1
)) {
17771 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17774 arg2
= new wxArrayInt
;
17776 int i
, len
=PySequence_Length(obj1
);
17777 for (i
=0; i
<len
; i
++) {
17778 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17779 PyObject
* number
= PyNumber_Int(item
);
17780 arg2
->Add(PyInt_AS_LONG(number
));
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_Py_Void();
17793 if (temp2
) delete arg2
;
17798 if (temp2
) delete arg2
;
17804 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17805 PyObject
*resultobj
= 0;
17806 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17807 PyObject
*result
= 0 ;
17810 PyObject
*swig_obj
[1] ;
17812 if (!args
) SWIG_fail
;
17813 swig_obj
[0] = args
;
17814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17815 if (!SWIG_IsOK(res1
)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17818 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= result
;
17832 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17836 return SWIG_Py_Void();
17839 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17840 return SWIG_Python_InitShadowInstance(args
);
17843 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= 0;
17845 wxWindow
*arg1
= (wxWindow
*) 0 ;
17846 wxString
*arg2
= 0 ;
17847 wxString
*arg3
= 0 ;
17849 wxString
*arg5
= (wxString
*) 0 ;
17850 long arg6
= (long) wxCHOICEDLG_STYLE
;
17851 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17852 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17853 wxSingleChoiceDialog
*result
= 0 ;
17856 bool temp2
= false ;
17857 bool temp3
= false ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 PyObject
* obj4
= 0 ;
17866 PyObject
* obj5
= 0 ;
17867 char * kwnames
[] = {
17868 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17873 if (!SWIG_IsOK(res1
)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17876 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17878 arg2
= wxString_in_helper(obj1
);
17879 if (arg2
== NULL
) SWIG_fail
;
17883 arg3
= wxString_in_helper(obj2
);
17884 if (arg3
== NULL
) SWIG_fail
;
17888 arg4
= PyList_Size(obj3
);
17889 arg5
= wxString_LIST_helper(obj3
);
17890 if (arg5
== NULL
) SWIG_fail
;
17893 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17894 if (!SWIG_IsOK(ecode6
)) {
17895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17897 arg6
= static_cast< long >(val6
);
17902 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17906 if (!wxPyCheckForApp()) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17922 if (arg5
) delete [] arg5
;
17935 if (arg5
) delete [] arg5
;
17941 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17942 PyObject
*resultobj
= 0;
17943 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17947 PyObject
*swig_obj
[1] ;
17949 if (!args
) SWIG_fail
;
17950 swig_obj
[0] = args
;
17951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17952 if (!SWIG_IsOK(res1
)) {
17953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17955 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= (int)(arg1
)->GetSelection();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_From_int(static_cast< int >(result
));
17969 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17970 PyObject
*resultobj
= 0;
17971 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17975 PyObject
*swig_obj
[1] ;
17977 if (!args
) SWIG_fail
;
17978 swig_obj
[0] = args
;
17979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17980 if (!SWIG_IsOK(res1
)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17983 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (arg1
)->GetStringSelection();
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18003 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
= 0;
18005 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 char * kwnames
[] = {
18014 (char *) "self",(char *) "sel", NULL
18017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18019 if (!SWIG_IsOK(res1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18022 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18024 if (!SWIG_IsOK(ecode2
)) {
18025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18027 arg2
= static_cast< int >(val2
);
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 (arg1
)->SetSelection(arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= SWIG_Py_Void();
18041 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18044 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18045 return SWIG_Py_Void();
18048 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18049 return SWIG_Python_InitShadowInstance(args
);
18052 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= 0;
18054 wxWindow
*arg1
= (wxWindow
*) 0 ;
18055 wxString
*arg2
= 0 ;
18056 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18060 long arg5
= (long) wxTextEntryDialogStyle
;
18061 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18062 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18063 wxTextEntryDialog
*result
= 0 ;
18066 bool temp2
= false ;
18067 bool temp3
= false ;
18068 bool temp4
= false ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 PyObject
* obj2
= 0 ;
18075 PyObject
* obj3
= 0 ;
18076 PyObject
* obj4
= 0 ;
18077 PyObject
* obj5
= 0 ;
18078 char * kwnames
[] = {
18079 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18084 if (!SWIG_IsOK(res1
)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18089 arg2
= wxString_in_helper(obj1
);
18090 if (arg2
== NULL
) SWIG_fail
;
18095 arg3
= wxString_in_helper(obj2
);
18096 if (arg3
== NULL
) SWIG_fail
;
18102 arg4
= wxString_in_helper(obj3
);
18103 if (arg4
== NULL
) SWIG_fail
;
18108 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18109 if (!SWIG_IsOK(ecode5
)) {
18110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18112 arg5
= static_cast< long >(val5
);
18117 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18121 if (!wxPyCheckForApp()) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18158 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18159 PyObject
*resultobj
= 0;
18160 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18164 PyObject
*swig_obj
[1] ;
18166 if (!args
) SWIG_fail
;
18167 swig_obj
[0] = args
;
18168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18169 if (!SWIG_IsOK(res1
)) {
18170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18172 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (arg1
)->GetValue();
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18192 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18195 wxString
*arg2
= 0 ;
18198 bool temp2
= false ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char * kwnames
[] = {
18202 (char *) "self",(char *) "value", NULL
18205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18207 if (!SWIG_IsOK(res1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18210 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18212 arg2
= wxString_in_helper(obj1
);
18213 if (arg2
== NULL
) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->SetValue((wxString
const &)*arg2
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18237 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18240 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18241 return SWIG_Py_Void();
18244 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18245 return SWIG_Python_InitShadowInstance(args
);
18248 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18249 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18254 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18255 PyObject
*pyobj
= 0;
18259 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18261 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18268 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
= 0;
18270 wxWindow
*arg1
= (wxWindow
*) 0 ;
18271 wxString
*arg2
= 0 ;
18272 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18276 long arg5
= (long) wxTextEntryDialogStyle
;
18277 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18278 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18279 wxPasswordEntryDialog
*result
= 0 ;
18282 bool temp2
= false ;
18283 bool temp3
= false ;
18284 bool temp4
= false ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 PyObject
* obj2
= 0 ;
18291 PyObject
* obj3
= 0 ;
18292 PyObject
* obj4
= 0 ;
18293 PyObject
* obj5
= 0 ;
18294 char * kwnames
[] = {
18295 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18305 arg2
= wxString_in_helper(obj1
);
18306 if (arg2
== NULL
) SWIG_fail
;
18311 arg3
= wxString_in_helper(obj2
);
18312 if (arg3
== NULL
) SWIG_fail
;
18318 arg4
= wxString_in_helper(obj3
);
18319 if (arg4
== NULL
) SWIG_fail
;
18324 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18325 if (!SWIG_IsOK(ecode5
)) {
18326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18328 arg5
= static_cast< long >(val5
);
18333 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18373 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18377 return SWIG_Py_Void();
18380 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18381 return SWIG_Python_InitShadowInstance(args
);
18384 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= 0;
18386 wxWindow
*arg1
= (wxWindow
*) 0 ;
18387 wxString
*arg2
= 0 ;
18388 wxString
*arg3
= 0 ;
18389 wxString
*arg4
= 0 ;
18393 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18394 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18395 wxNumberEntryDialog
*result
= 0 ;
18398 bool temp2
= false ;
18399 bool temp3
= false ;
18400 bool temp4
= false ;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 PyObject
* obj2
= 0 ;
18411 PyObject
* obj3
= 0 ;
18412 PyObject
* obj4
= 0 ;
18413 PyObject
* obj5
= 0 ;
18414 PyObject
* obj6
= 0 ;
18415 PyObject
* obj7
= 0 ;
18416 char * kwnames
[] = {
18417 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18422 if (!SWIG_IsOK(res1
)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18427 arg2
= wxString_in_helper(obj1
);
18428 if (arg2
== NULL
) SWIG_fail
;
18432 arg3
= wxString_in_helper(obj2
);
18433 if (arg3
== NULL
) SWIG_fail
;
18437 arg4
= wxString_in_helper(obj3
);
18438 if (arg4
== NULL
) SWIG_fail
;
18441 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18442 if (!SWIG_IsOK(ecode5
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18445 arg5
= static_cast< long >(val5
);
18446 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18447 if (!SWIG_IsOK(ecode6
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18450 arg6
= static_cast< long >(val6
);
18451 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18452 if (!SWIG_IsOK(ecode7
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18455 arg7
= static_cast< long >(val7
);
18459 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18463 if (!wxPyCheckForApp()) SWIG_fail
;
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18500 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18501 PyObject
*resultobj
= 0;
18502 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18506 PyObject
*swig_obj
[1] ;
18508 if (!args
) SWIG_fail
;
18509 swig_obj
[0] = args
;
18510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18511 if (!SWIG_IsOK(res1
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18514 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (long)(arg1
)->GetValue();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_From_long(static_cast< long >(result
));
18528 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18531 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18532 return SWIG_Py_Void();
18535 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18536 return SWIG_Python_InitShadowInstance(args
);
18539 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18540 PyObject
*resultobj
= 0;
18541 wxFontData
*result
= 0 ;
18543 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (wxFontData
*)new wxFontData();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18557 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18558 PyObject
*resultobj
= 0;
18559 wxFontData
*arg1
= (wxFontData
*) 0 ;
18562 PyObject
*swig_obj
[1] ;
18564 if (!args
) SWIG_fail
;
18565 swig_obj
[0] = args
;
18566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18567 if (!SWIG_IsOK(res1
)) {
18568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18570 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_Py_Void();
18585 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
= 0;
18587 wxFontData
*arg1
= (wxFontData
*) 0 ;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj1
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "enable", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18604 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18606 if (!SWIG_IsOK(ecode2
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18609 arg2
= static_cast< bool >(val2
);
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 (arg1
)->EnableEffects(arg2
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_Py_Void();
18623 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18624 PyObject
*resultobj
= 0;
18625 wxFontData
*arg1
= (wxFontData
*) 0 ;
18629 PyObject
*swig_obj
[1] ;
18631 if (!args
) SWIG_fail
;
18632 swig_obj
[0] = args
;
18633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18634 if (!SWIG_IsOK(res1
)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18637 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)(arg1
)->GetAllowSymbols();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18654 PyObject
*resultobj
= 0;
18655 wxFontData
*arg1
= (wxFontData
*) 0 ;
18659 PyObject
*swig_obj
[1] ;
18661 if (!args
) SWIG_fail
;
18662 swig_obj
[0] = args
;
18663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18664 if (!SWIG_IsOK(res1
)) {
18665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18667 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (arg1
)->GetColour();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18681 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18682 PyObject
*resultobj
= 0;
18683 wxFontData
*arg1
= (wxFontData
*) 0 ;
18687 PyObject
*swig_obj
[1] ;
18689 if (!args
) SWIG_fail
;
18690 swig_obj
[0] = args
;
18691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18695 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= (arg1
)->GetChosenFont();
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18709 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18710 PyObject
*resultobj
= 0;
18711 wxFontData
*arg1
= (wxFontData
*) 0 ;
18715 PyObject
*swig_obj
[1] ;
18717 if (!args
) SWIG_fail
;
18718 swig_obj
[0] = args
;
18719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18720 if (!SWIG_IsOK(res1
)) {
18721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18723 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (bool)(arg1
)->GetEnableEffects();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18739 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18740 PyObject
*resultobj
= 0;
18741 wxFontData
*arg1
= (wxFontData
*) 0 ;
18745 PyObject
*swig_obj
[1] ;
18747 if (!args
) SWIG_fail
;
18748 swig_obj
[0] = args
;
18749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18753 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (arg1
)->GetInitialFont();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18767 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18768 PyObject
*resultobj
= 0;
18769 wxFontData
*arg1
= (wxFontData
*) 0 ;
18773 PyObject
*swig_obj
[1] ;
18775 if (!args
) SWIG_fail
;
18776 swig_obj
[0] = args
;
18777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18778 if (!SWIG_IsOK(res1
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18781 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (bool)(arg1
)->GetShowHelp();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18797 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
= 0;
18799 wxFontData
*arg1
= (wxFontData
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 PyObject
* obj1
= 0 ;
18807 char * kwnames
[] = {
18808 (char *) "self",(char *) "allowSymbols", NULL
18811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18813 if (!SWIG_IsOK(res1
)) {
18814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18816 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18818 if (!SWIG_IsOK(ecode2
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18821 arg2
= static_cast< bool >(val2
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->SetAllowSymbols(arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxFontData
*arg1
= (wxFontData
*) 0 ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 char * kwnames
[] = {
18846 (char *) "self",(char *) "font", NULL
18849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18854 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18856 if (!SWIG_IsOK(res2
)) {
18857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18862 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_Py_Void();
18876 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
= 0;
18878 wxFontData
*arg1
= (wxFontData
*) 0 ;
18879 wxColour
*arg2
= 0 ;
18883 PyObject
* obj0
= 0 ;
18884 PyObject
* obj1
= 0 ;
18885 char * kwnames
[] = {
18886 (char *) "self",(char *) "colour", NULL
18889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18891 if (!SWIG_IsOK(res1
)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18894 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18897 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 (arg1
)->SetColour((wxColour
const &)*arg2
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_Py_Void();
18912 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
= 0;
18914 wxFontData
*arg1
= (wxFontData
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 char * kwnames
[] = {
18923 (char *) "self",(char *) "font", NULL
18926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18928 if (!SWIG_IsOK(res1
)) {
18929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18931 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18933 if (!SWIG_IsOK(res2
)) {
18934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18939 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_Py_Void();
18953 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxFontData
*arg1
= (wxFontData
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 PyObject
* obj1
= 0 ;
18966 PyObject
* obj2
= 0 ;
18967 char * kwnames
[] = {
18968 (char *) "self",(char *) "min",(char *) "max", NULL
18971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18973 if (!SWIG_IsOK(res1
)) {
18974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18976 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18978 if (!SWIG_IsOK(ecode2
)) {
18979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18981 arg2
= static_cast< int >(val2
);
18982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18983 if (!SWIG_IsOK(ecode3
)) {
18984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18986 arg3
= static_cast< int >(val3
);
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 (arg1
)->SetRange(arg2
,arg3
);
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= SWIG_Py_Void();
19000 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
= 0;
19002 wxFontData
*arg1
= (wxFontData
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "showHelp", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19019 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19020 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19021 if (!SWIG_IsOK(ecode2
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19024 arg2
= static_cast< bool >(val2
);
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 (arg1
)->SetShowHelp(arg2
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_Py_Void();
19038 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19041 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19042 return SWIG_Py_Void();
19045 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19046 return SWIG_Python_InitShadowInstance(args
);
19049 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxWindow
*arg1
= (wxWindow
*) 0 ;
19052 wxFontData
*arg2
= 0 ;
19053 wxFontDialog
*result
= 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "parent",(char *) "data", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19071 if (!SWIG_IsOK(res2
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19077 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19079 if (!wxPyCheckForApp()) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19092 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19093 PyObject
*resultobj
= 0;
19094 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19095 wxFontData
*result
= 0 ;
19098 PyObject
*swig_obj
[1] ;
19100 if (!args
) SWIG_fail
;
19101 swig_obj
[0] = args
;
19102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19103 if (!SWIG_IsOK(res1
)) {
19104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19106 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19111 result
= (wxFontData
*) &_result_ref
;
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19123 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19126 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19127 return SWIG_Py_Void();
19130 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19131 return SWIG_Python_InitShadowInstance(args
);
19134 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxWindow
*arg1
= (wxWindow
*) NULL
;
19137 wxFont
const &arg2_defvalue
= wxNullFont
;
19138 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19139 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19146 bool temp3
= false ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19164 if (!SWIG_IsOK(res2
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19170 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19174 arg3
= wxString_in_helper(obj2
);
19175 if (arg3
== NULL
) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19200 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
= 0;
19202 wxWindow
*arg1
= (wxWindow
*) 0 ;
19203 wxString
*arg2
= 0 ;
19204 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19206 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19207 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19208 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19209 wxMessageDialog
*result
= 0 ;
19212 bool temp2
= false ;
19213 bool temp3
= false ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 PyObject
* obj3
= 0 ;
19221 PyObject
* obj4
= 0 ;
19222 char * kwnames
[] = {
19223 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19228 if (!SWIG_IsOK(res1
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19231 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19233 arg2
= wxString_in_helper(obj1
);
19234 if (arg2
== NULL
) SWIG_fail
;
19239 arg3
= wxString_in_helper(obj2
);
19240 if (arg3
== NULL
) SWIG_fail
;
19245 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19246 if (!SWIG_IsOK(ecode4
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19249 arg4
= static_cast< long >(val4
);
19254 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19258 if (!wxPyCheckForApp()) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19287 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19290 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19291 return SWIG_Py_Void();
19294 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19295 return SWIG_Python_InitShadowInstance(args
);
19298 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
= 0;
19300 wxString
*arg1
= 0 ;
19301 wxString
*arg2
= 0 ;
19302 int arg3
= (int) 100 ;
19303 wxWindow
*arg4
= (wxWindow
*) NULL
;
19304 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19305 wxProgressDialog
*result
= 0 ;
19306 bool temp1
= false ;
19307 bool temp2
= false ;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 PyObject
* obj2
= 0 ;
19317 PyObject
* obj3
= 0 ;
19318 PyObject
* obj4
= 0 ;
19319 char * kwnames
[] = {
19320 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19325 arg1
= wxString_in_helper(obj0
);
19326 if (arg1
== NULL
) SWIG_fail
;
19330 arg2
= wxString_in_helper(obj1
);
19331 if (arg2
== NULL
) SWIG_fail
;
19335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19336 if (!SWIG_IsOK(ecode3
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19339 arg3
= static_cast< int >(val3
);
19342 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19343 if (!SWIG_IsOK(res4
)) {
19344 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19346 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19350 if (!SWIG_IsOK(ecode5
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19353 arg5
= static_cast< int >(val5
);
19356 if (!wxPyCheckForApp()) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19385 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
= 0;
19387 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19391 bool *arg4
= (bool *) 0 ;
19397 bool temp3
= false ;
19399 int res4
= SWIG_TMPOBJ
;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 PyObject
* obj2
= 0 ;
19403 char * kwnames
[] = {
19404 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19413 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19415 if (!SWIG_IsOK(ecode2
)) {
19416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19418 arg2
= static_cast< int >(val2
);
19421 arg3
= wxString_in_helper(obj2
);
19422 if (arg3
== NULL
) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19435 if (SWIG_IsTmpObj(res4
)) {
19436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19438 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19455 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
= 0;
19457 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19458 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19459 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19460 bool *arg3
= (bool *) 0 ;
19464 bool temp2
= false ;
19466 int res3
= SWIG_TMPOBJ
;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 char * kwnames
[] = {
19470 (char *) "self",(char *) "newmsg", NULL
19474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19479 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19482 arg2
= wxString_in_helper(obj1
);
19483 if (arg2
== NULL
) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19496 if (SWIG_IsTmpObj(res3
)) {
19497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19499 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19516 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19517 PyObject
*resultobj
= 0;
19518 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19521 PyObject
*swig_obj
[1] ;
19523 if (!args
) SWIG_fail
;
19524 swig_obj
[0] = args
;
19525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19526 if (!SWIG_IsOK(res1
)) {
19527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19529 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19546 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19547 return SWIG_Py_Void();
19550 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19551 return SWIG_Python_InitShadowInstance(args
);
19554 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
= 0;
19556 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19557 int arg2
= (int) 0 ;
19558 wxFindDialogEvent
*result
= 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "commandType",(char *) "id", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19571 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19572 if (!SWIG_IsOK(ecode1
)) {
19573 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19575 arg1
= static_cast< wxEventType
>(val1
);
19578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19579 if (!SWIG_IsOK(ecode2
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19582 arg2
= static_cast< int >(val2
);
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19597 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19598 PyObject
*resultobj
= 0;
19599 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19603 PyObject
*swig_obj
[1] ;
19605 if (!args
) SWIG_fail
;
19606 swig_obj
[0] = args
;
19607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19608 if (!SWIG_IsOK(res1
)) {
19609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19611 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (int)(arg1
)->GetFlags();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_From_int(static_cast< int >(result
));
19625 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19626 PyObject
*resultobj
= 0;
19627 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19628 wxString
*result
= 0 ;
19631 PyObject
*swig_obj
[1] ;
19633 if (!args
) SWIG_fail
;
19634 swig_obj
[0] = args
;
19635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19639 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 wxString
const &_result_ref
= (arg1
)->GetFindString();
19644 result
= (wxString
*) &_result_ref
;
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19653 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19662 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19663 PyObject
*resultobj
= 0;
19664 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19665 wxString
*result
= 0 ;
19668 PyObject
*swig_obj
[1] ;
19670 if (!args
) SWIG_fail
;
19671 swig_obj
[0] = args
;
19672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19673 if (!SWIG_IsOK(res1
)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19676 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19681 result
= (wxString
*) &_result_ref
;
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19690 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19699 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19700 PyObject
*resultobj
= 0;
19701 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19702 wxFindReplaceDialog
*result
= 0 ;
19705 PyObject
*swig_obj
[1] ;
19707 if (!args
) SWIG_fail
;
19708 swig_obj
[0] = args
;
19709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19710 if (!SWIG_IsOK(res1
)) {
19711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19713 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19727 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
= 0;
19729 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj1
= 0 ;
19737 char * kwnames
[] = {
19738 (char *) "self",(char *) "flags", NULL
19741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19743 if (!SWIG_IsOK(res1
)) {
19744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19746 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19748 if (!SWIG_IsOK(ecode2
)) {
19749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19751 arg2
= static_cast< int >(val2
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 (arg1
)->SetFlags(arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_Py_Void();
19765 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
= 0;
19767 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19768 wxString
*arg2
= 0 ;
19771 bool temp2
= false ;
19772 PyObject
* obj0
= 0 ;
19773 PyObject
* obj1
= 0 ;
19774 char * kwnames
[] = {
19775 (char *) "self",(char *) "str", NULL
19778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19780 if (!SWIG_IsOK(res1
)) {
19781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19783 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19785 arg2
= wxString_in_helper(obj1
);
19786 if (arg2
== NULL
) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 (arg1
)->SetFindString((wxString
const &)*arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_Py_Void();
19810 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= 0;
19812 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19813 wxString
*arg2
= 0 ;
19816 bool temp2
= false ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 char * kwnames
[] = {
19820 (char *) "self",(char *) "str", NULL
19823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19825 if (!SWIG_IsOK(res1
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19828 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19830 arg2
= wxString_in_helper(obj1
);
19831 if (arg2
== NULL
) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= SWIG_Py_Void();
19855 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19858 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19859 return SWIG_Py_Void();
19862 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19863 return SWIG_Python_InitShadowInstance(args
);
19866 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
= 0;
19868 int arg1
= (int) 0 ;
19869 wxFindReplaceData
*result
= 0 ;
19872 PyObject
* obj0
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "flags", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19880 if (!SWIG_IsOK(ecode1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19883 arg1
= static_cast< int >(val1
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19898 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19899 PyObject
*resultobj
= 0;
19900 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19903 PyObject
*swig_obj
[1] ;
19905 if (!args
) SWIG_fail
;
19906 swig_obj
[0] = args
;
19907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19908 if (!SWIG_IsOK(res1
)) {
19909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19911 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_Py_Void();
19926 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19927 PyObject
*resultobj
= 0;
19928 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19929 wxString
*result
= 0 ;
19932 PyObject
*swig_obj
[1] ;
19934 if (!args
) SWIG_fail
;
19935 swig_obj
[0] = args
;
19936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19937 if (!SWIG_IsOK(res1
)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19940 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 wxString
const &_result_ref
= (arg1
)->GetFindString();
19945 result
= (wxString
*) &_result_ref
;
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19954 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19963 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19964 PyObject
*resultobj
= 0;
19965 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19966 wxString
*result
= 0 ;
19969 PyObject
*swig_obj
[1] ;
19971 if (!args
) SWIG_fail
;
19972 swig_obj
[0] = args
;
19973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19974 if (!SWIG_IsOK(res1
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19977 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19982 result
= (wxString
*) &_result_ref
;
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19991 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20000 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 PyObject
*resultobj
= 0;
20002 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20006 PyObject
*swig_obj
[1] ;
20008 if (!args
) SWIG_fail
;
20009 swig_obj
[0] = args
;
20010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20014 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (int)(arg1
)->GetFlags();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_From_int(static_cast< int >(result
));
20028 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= 0;
20030 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 PyObject
* obj1
= 0 ;
20038 char * kwnames
[] = {
20039 (char *) "self",(char *) "flags", NULL
20042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20047 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20049 if (!SWIG_IsOK(ecode2
)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20052 arg2
= static_cast< int >(val2
);
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 (arg1
)->SetFlags(arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_Py_Void();
20066 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
= 0;
20068 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20069 wxString
*arg2
= 0 ;
20072 bool temp2
= false ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 char * kwnames
[] = {
20076 (char *) "self",(char *) "str", NULL
20079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20084 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20086 arg2
= wxString_in_helper(obj1
);
20087 if (arg2
== NULL
) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 (arg1
)->SetFindString((wxString
const &)*arg2
);
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_Py_Void();
20111 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
= 0;
20113 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20114 wxString
*arg2
= 0 ;
20117 bool temp2
= false ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "self",(char *) "str", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20129 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20131 arg2
= wxString_in_helper(obj1
);
20132 if (arg2
== NULL
) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_Py_Void();
20156 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20159 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20160 return SWIG_Py_Void();
20163 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20164 return SWIG_Python_InitShadowInstance(args
);
20167 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
= 0;
20169 wxWindow
*arg1
= (wxWindow
*) 0 ;
20170 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20171 wxString
*arg3
= 0 ;
20172 int arg4
= (int) 0 ;
20173 wxFindReplaceDialog
*result
= 0 ;
20178 bool temp3
= false ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 PyObject
* obj2
= 0 ;
20184 PyObject
* obj3
= 0 ;
20185 char * kwnames
[] = {
20186 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20191 if (!SWIG_IsOK(res1
)) {
20192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20196 if (!SWIG_IsOK(res2
)) {
20197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20199 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20201 arg3
= wxString_in_helper(obj2
);
20202 if (arg3
== NULL
) SWIG_fail
;
20206 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20207 if (!SWIG_IsOK(ecode4
)) {
20208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20210 arg4
= static_cast< int >(val4
);
20213 if (!wxPyCheckForApp()) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20234 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20235 PyObject
*resultobj
= 0;
20236 wxFindReplaceDialog
*result
= 0 ;
20238 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20240 if (!wxPyCheckForApp()) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20253 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
= 0;
20255 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20256 wxWindow
*arg2
= (wxWindow
*) 0 ;
20257 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20258 wxString
*arg4
= 0 ;
20259 int arg5
= (int) 0 ;
20267 bool temp4
= false ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 PyObject
* obj2
= 0 ;
20273 PyObject
* obj3
= 0 ;
20274 PyObject
* obj4
= 0 ;
20275 char * kwnames
[] = {
20276 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20284 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20286 if (!SWIG_IsOK(res2
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20289 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20290 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20291 if (!SWIG_IsOK(res3
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20294 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20296 arg4
= wxString_in_helper(obj3
);
20297 if (arg4
== NULL
) SWIG_fail
;
20301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20302 if (!SWIG_IsOK(ecode5
)) {
20303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20305 arg5
= static_cast< int >(val5
);
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20330 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20331 PyObject
*resultobj
= 0;
20332 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20333 wxFindReplaceData
*result
= 0 ;
20336 PyObject
*swig_obj
[1] ;
20338 if (!args
) SWIG_fail
;
20339 swig_obj
[0] = args
;
20340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20341 if (!SWIG_IsOK(res1
)) {
20342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20344 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20358 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20361 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char * kwnames
[] = {
20369 (char *) "self",(char *) "data", NULL
20372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20377 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20379 if (!SWIG_IsOK(res2
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20382 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->SetData(arg2
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_Py_Void();
20396 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20399 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20400 return SWIG_Py_Void();
20403 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 return SWIG_Python_InitShadowInstance(args
);
20407 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
= 0;
20409 wxWindow
*arg1
= (wxWindow
*) 0 ;
20410 int arg2
= (int) (int)-1 ;
20411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20417 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20418 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20420 wxMDIParentFrame
*result
= 0 ;
20425 bool temp3
= false ;
20430 bool temp7
= false ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 PyObject
* obj2
= 0 ;
20434 PyObject
* obj3
= 0 ;
20435 PyObject
* obj4
= 0 ;
20436 PyObject
* obj5
= 0 ;
20437 PyObject
* obj6
= 0 ;
20438 char * kwnames
[] = {
20439 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20444 if (!SWIG_IsOK(res1
)) {
20445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20450 if (!SWIG_IsOK(ecode2
)) {
20451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20453 arg2
= static_cast< int >(val2
);
20457 arg3
= wxString_in_helper(obj2
);
20458 if (arg3
== NULL
) SWIG_fail
;
20465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20475 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20476 if (!SWIG_IsOK(ecode6
)) {
20477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20479 arg6
= static_cast< long >(val6
);
20483 arg7
= wxString_in_helper(obj6
);
20484 if (arg7
== NULL
) SWIG_fail
;
20489 if (!wxPyCheckForApp()) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20518 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20519 PyObject
*resultobj
= 0;
20520 wxMDIParentFrame
*result
= 0 ;
20522 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20524 if (!wxPyCheckForApp()) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20537 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
= 0;
20539 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20540 wxWindow
*arg2
= (wxWindow
*) 0 ;
20541 int arg3
= (int) (int)-1 ;
20542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20544 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20545 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20546 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20547 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20548 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20549 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20550 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20558 bool temp4
= false ;
20563 bool temp8
= false ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 PyObject
* obj2
= 0 ;
20567 PyObject
* obj3
= 0 ;
20568 PyObject
* obj4
= 0 ;
20569 PyObject
* obj5
= 0 ;
20570 PyObject
* obj6
= 0 ;
20571 PyObject
* obj7
= 0 ;
20572 char * kwnames
[] = {
20573 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20581 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20583 if (!SWIG_IsOK(res2
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20589 if (!SWIG_IsOK(ecode3
)) {
20590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20592 arg3
= static_cast< int >(val3
);
20596 arg4
= wxString_in_helper(obj3
);
20597 if (arg4
== NULL
) SWIG_fail
;
20604 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20610 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20614 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20615 if (!SWIG_IsOK(ecode7
)) {
20616 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20618 arg7
= static_cast< long >(val7
);
20622 arg8
= wxString_in_helper(obj7
);
20623 if (arg8
== NULL
) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20658 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 PyObject
*resultobj
= 0;
20660 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20663 PyObject
*swig_obj
[1] ;
20665 if (!args
) SWIG_fail
;
20666 swig_obj
[0] = args
;
20667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20668 if (!SWIG_IsOK(res1
)) {
20669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20671 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 (arg1
)->ActivateNext();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_Py_Void();
20685 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20686 PyObject
*resultobj
= 0;
20687 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20690 PyObject
*swig_obj
[1] ;
20692 if (!args
) SWIG_fail
;
20693 swig_obj
[0] = args
;
20694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20695 if (!SWIG_IsOK(res1
)) {
20696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20698 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 (arg1
)->ActivatePrevious();
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= SWIG_Py_Void();
20712 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20713 PyObject
*resultobj
= 0;
20714 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20717 PyObject
*swig_obj
[1] ;
20719 if (!args
) SWIG_fail
;
20720 swig_obj
[0] = args
;
20721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20722 if (!SWIG_IsOK(res1
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20725 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 (arg1
)->ArrangeIcons();
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= SWIG_Py_Void();
20739 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20740 PyObject
*resultobj
= 0;
20741 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20744 PyObject
*swig_obj
[1] ;
20746 if (!args
) SWIG_fail
;
20747 swig_obj
[0] = args
;
20748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20749 if (!SWIG_IsOK(res1
)) {
20750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20752 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= SWIG_Py_Void();
20766 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20767 PyObject
*resultobj
= 0;
20768 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20769 wxMDIChildFrame
*result
= 0 ;
20772 PyObject
*swig_obj
[1] ;
20774 if (!args
) SWIG_fail
;
20775 swig_obj
[0] = args
;
20776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20780 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20796 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20797 PyObject
*resultobj
= 0;
20798 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20799 wxMDIClientWindow
*result
= 0 ;
20802 PyObject
*swig_obj
[1] ;
20804 if (!args
) SWIG_fail
;
20805 swig_obj
[0] = args
;
20806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20810 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20826 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20829 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char * kwnames
[] = {
20837 (char *) "self",(char *) "orient", NULL
20840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20842 if (!SWIG_IsOK(res1
)) {
20843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20845 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20848 if (!SWIG_IsOK(ecode2
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20851 arg2
= static_cast< wxOrientation
>(val2
);
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->Tile(arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_Py_Void();
20866 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20869 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20870 return SWIG_Py_Void();
20873 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20874 return SWIG_Python_InitShadowInstance(args
);
20877 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= 0;
20879 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20880 int arg2
= (int) (int)-1 ;
20881 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20887 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20888 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20889 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20890 wxMDIChildFrame
*result
= 0 ;
20895 bool temp3
= false ;
20900 bool temp7
= false ;
20901 PyObject
* obj0
= 0 ;
20902 PyObject
* obj1
= 0 ;
20903 PyObject
* obj2
= 0 ;
20904 PyObject
* obj3
= 0 ;
20905 PyObject
* obj4
= 0 ;
20906 PyObject
* obj5
= 0 ;
20907 PyObject
* obj6
= 0 ;
20908 char * kwnames
[] = {
20909 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20914 if (!SWIG_IsOK(res1
)) {
20915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20917 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20920 if (!SWIG_IsOK(ecode2
)) {
20921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20923 arg2
= static_cast< int >(val2
);
20927 arg3
= wxString_in_helper(obj2
);
20928 if (arg3
== NULL
) SWIG_fail
;
20935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20945 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20946 if (!SWIG_IsOK(ecode6
)) {
20947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20949 arg6
= static_cast< long >(val6
);
20953 arg7
= wxString_in_helper(obj6
);
20954 if (arg7
== NULL
) SWIG_fail
;
20959 if (!wxPyCheckForApp()) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20988 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20989 PyObject
*resultobj
= 0;
20990 wxMDIChildFrame
*result
= 0 ;
20992 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20994 if (!wxPyCheckForApp()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21007 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
= 0;
21009 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21010 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21011 int arg3
= (int) (int)-1 ;
21012 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21013 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21014 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21015 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21016 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21017 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21018 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21019 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21020 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21028 bool temp4
= false ;
21033 bool temp8
= false ;
21034 PyObject
* obj0
= 0 ;
21035 PyObject
* obj1
= 0 ;
21036 PyObject
* obj2
= 0 ;
21037 PyObject
* obj3
= 0 ;
21038 PyObject
* obj4
= 0 ;
21039 PyObject
* obj5
= 0 ;
21040 PyObject
* obj6
= 0 ;
21041 PyObject
* obj7
= 0 ;
21042 char * kwnames
[] = {
21043 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21048 if (!SWIG_IsOK(res1
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21051 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21052 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21053 if (!SWIG_IsOK(res2
)) {
21054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21056 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21059 if (!SWIG_IsOK(ecode3
)) {
21060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21062 arg3
= static_cast< int >(val3
);
21066 arg4
= wxString_in_helper(obj3
);
21067 if (arg4
== NULL
) SWIG_fail
;
21074 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21080 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21084 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21085 if (!SWIG_IsOK(ecode7
)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21088 arg7
= static_cast< long >(val7
);
21092 arg8
= wxString_in_helper(obj7
);
21093 if (arg8
== NULL
) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21128 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21129 PyObject
*resultobj
= 0;
21130 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21133 PyObject
*swig_obj
[1] ;
21135 if (!args
) SWIG_fail
;
21136 swig_obj
[0] = args
;
21137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21138 if (!SWIG_IsOK(res1
)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21141 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->Activate();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_Py_Void();
21155 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21158 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21159 return SWIG_Py_Void();
21162 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21163 return SWIG_Python_InitShadowInstance(args
);
21166 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
= 0;
21168 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21169 long arg2
= (long) 0 ;
21170 wxMDIClientWindow
*result
= 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 char * kwnames
[] = {
21178 (char *) "parent",(char *) "style", NULL
21181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21183 if (!SWIG_IsOK(res1
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21186 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21189 if (!SWIG_IsOK(ecode2
)) {
21190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21192 arg2
= static_cast< long >(val2
);
21195 if (!wxPyCheckForApp()) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21208 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21209 PyObject
*resultobj
= 0;
21210 wxMDIClientWindow
*result
= 0 ;
21212 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21214 if (!wxPyCheckForApp()) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21227 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
= 0;
21229 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21230 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21231 long arg3
= (long) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 PyObject
* obj2
= 0 ;
21242 char * kwnames
[] = {
21243 (char *) "self",(char *) "parent",(char *) "style", NULL
21246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21248 if (!SWIG_IsOK(res1
)) {
21249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21251 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21253 if (!SWIG_IsOK(res2
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21256 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21258 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21259 if (!SWIG_IsOK(ecode3
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21262 arg3
= static_cast< long >(val3
);
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21279 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21282 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21283 return SWIG_Py_Void();
21286 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21287 return SWIG_Python_InitShadowInstance(args
);
21290 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
= 0;
21292 wxWindow
*arg1
= (wxWindow
*) 0 ;
21293 int arg2
= (int) (int)-1 ;
21294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21298 long arg5
= (long) 0 ;
21299 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21300 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21301 wxPyWindow
*result
= 0 ;
21310 bool temp6
= false ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 PyObject
* obj2
= 0 ;
21314 PyObject
* obj3
= 0 ;
21315 PyObject
* obj4
= 0 ;
21316 PyObject
* obj5
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21329 if (!SWIG_IsOK(ecode2
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21332 arg2
= static_cast< int >(val2
);
21337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21343 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21347 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21348 if (!SWIG_IsOK(ecode5
)) {
21349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21351 arg5
= static_cast< long >(val5
);
21355 arg6
= wxString_in_helper(obj5
);
21356 if (arg6
== NULL
) SWIG_fail
;
21361 if (!wxPyCheckForApp()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21382 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21383 PyObject
*resultobj
= 0;
21384 wxPyWindow
*result
= 0 ;
21386 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21388 if (!wxPyCheckForApp()) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxPyWindow
*)new wxPyWindow();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21401 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21404 PyObject
*arg2
= (PyObject
*) 0 ;
21405 PyObject
*arg3
= (PyObject
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "self",(char *) "_class", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21420 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_Py_Void();
21436 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
= 0;
21438 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21439 wxDC
*arg2
= (wxDC
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "dc", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21456 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21458 if (!SWIG_IsOK(res2
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21461 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21477 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
= 0;
21479 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 PyObject
* obj2
= 0 ;
21497 PyObject
* obj3
= 0 ;
21498 PyObject
* obj4
= 0 ;
21499 char * kwnames
[] = {
21500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21505 if (!SWIG_IsOK(res1
)) {
21506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21508 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21510 if (!SWIG_IsOK(ecode2
)) {
21511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21513 arg2
= static_cast< int >(val2
);
21514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21515 if (!SWIG_IsOK(ecode3
)) {
21516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21518 arg3
= static_cast< int >(val3
);
21519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21520 if (!SWIG_IsOK(ecode4
)) {
21521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21523 arg4
= static_cast< int >(val4
);
21524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21525 if (!SWIG_IsOK(ecode5
)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21528 arg5
= static_cast< int >(val5
);
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_Py_Void();
21542 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= 0;
21544 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21549 int arg6
= (int) wxSIZE_AUTO
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 PyObject
* obj2
= 0 ;
21565 PyObject
* obj3
= 0 ;
21566 PyObject
* obj4
= 0 ;
21567 PyObject
* obj5
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21577 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21579 if (!SWIG_IsOK(ecode2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21582 arg2
= static_cast< int >(val2
);
21583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21584 if (!SWIG_IsOK(ecode3
)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21587 arg3
= static_cast< int >(val3
);
21588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21589 if (!SWIG_IsOK(ecode4
)) {
21590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21592 arg4
= static_cast< int >(val4
);
21593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21594 if (!SWIG_IsOK(ecode5
)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21597 arg5
= static_cast< int >(val5
);
21599 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21600 if (!SWIG_IsOK(ecode6
)) {
21601 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21603 arg6
= static_cast< int >(val6
);
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_Py_Void();
21618 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= 0;
21620 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 PyObject
* obj2
= 0 ;
21632 char * kwnames
[] = {
21633 (char *) "self",(char *) "width",(char *) "height", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21641 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21643 if (!SWIG_IsOK(ecode2
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21646 arg2
= static_cast< int >(val2
);
21647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21648 if (!SWIG_IsOK(ecode3
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21651 arg3
= static_cast< int >(val3
);
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->DoSetClientSize(arg2
,arg3
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_Py_Void();
21665 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21666 PyObject
*resultobj
= 0;
21667 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 PyObject
* obj2
= 0 ;
21679 char * kwnames
[] = {
21680 (char *) "self",(char *) "x",(char *) "y", NULL
21683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21685 if (!SWIG_IsOK(res1
)) {
21686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21688 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21690 if (!SWIG_IsOK(ecode2
)) {
21691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21693 arg2
= static_cast< int >(val2
);
21694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21695 if (!SWIG_IsOK(ecode3
)) {
21696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21698 arg3
= static_cast< int >(val3
);
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= SWIG_Py_Void();
21712 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21713 PyObject
*resultobj
= 0;
21714 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21715 int *arg2
= (int *) 0 ;
21716 int *arg3
= (int *) 0 ;
21720 int res2
= SWIG_TMPOBJ
;
21722 int res3
= SWIG_TMPOBJ
;
21723 PyObject
*swig_obj
[1] ;
21727 if (!args
) SWIG_fail
;
21728 swig_obj
[0] = args
;
21729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21733 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_Py_Void();
21741 if (SWIG_IsTmpObj(res2
)) {
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21744 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21747 if (SWIG_IsTmpObj(res3
)) {
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21750 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21759 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21760 PyObject
*resultobj
= 0;
21761 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21762 int *arg2
= (int *) 0 ;
21763 int *arg3
= (int *) 0 ;
21767 int res2
= SWIG_TMPOBJ
;
21769 int res3
= SWIG_TMPOBJ
;
21770 PyObject
*swig_obj
[1] ;
21774 if (!args
) SWIG_fail
;
21775 swig_obj
[0] = args
;
21776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21780 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_Py_Void();
21788 if (SWIG_IsTmpObj(res2
)) {
21789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21791 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21794 if (SWIG_IsTmpObj(res3
)) {
21795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21797 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21806 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21807 PyObject
*resultobj
= 0;
21808 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21809 int *arg2
= (int *) 0 ;
21810 int *arg3
= (int *) 0 ;
21814 int res2
= SWIG_TMPOBJ
;
21816 int res3
= SWIG_TMPOBJ
;
21817 PyObject
*swig_obj
[1] ;
21821 if (!args
) SWIG_fail
;
21822 swig_obj
[0] = args
;
21823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21827 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_Py_Void();
21835 if (SWIG_IsTmpObj(res2
)) {
21836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21838 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21841 if (SWIG_IsTmpObj(res3
)) {
21842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21844 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21853 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21854 PyObject
*resultobj
= 0;
21855 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21859 PyObject
*swig_obj
[1] ;
21861 if (!args
) SWIG_fail
;
21862 swig_obj
[0] = args
;
21863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21864 if (!SWIG_IsOK(res1
)) {
21865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21867 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21881 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21882 PyObject
*resultobj
= 0;
21883 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21887 PyObject
*swig_obj
[1] ;
21889 if (!args
) SWIG_fail
;
21890 swig_obj
[0] = args
;
21891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21892 if (!SWIG_IsOK(res1
)) {
21893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21895 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21909 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21910 PyObject
*resultobj
= 0;
21911 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21912 SwigValueWrapper
<wxVisualAttributes
> result
;
21915 PyObject
*swig_obj
[1] ;
21917 if (!args
) SWIG_fail
;
21918 swig_obj
[0] = args
;
21919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21923 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (arg1
)->GetDefaultAttributes();
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21937 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21938 PyObject
*resultobj
= 0;
21939 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21942 PyObject
*swig_obj
[1] ;
21944 if (!args
) SWIG_fail
;
21945 swig_obj
[0] = args
;
21946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21947 if (!SWIG_IsOK(res1
)) {
21948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21950 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 (arg1
)->OnInternalIdle();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_Py_Void();
21964 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21968 return SWIG_Py_Void();
21971 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21972 return SWIG_Python_InitShadowInstance(args
);
21975 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
= 0;
21977 wxWindow
*arg1
= (wxWindow
*) 0 ;
21978 int arg2
= (int) (int)-1 ;
21979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21983 long arg5
= (long) 0 ;
21984 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21985 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21986 wxPyPanel
*result
= 0 ;
21995 bool temp6
= false ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 PyObject
* obj2
= 0 ;
21999 PyObject
* obj3
= 0 ;
22000 PyObject
* obj4
= 0 ;
22001 PyObject
* obj5
= 0 ;
22002 char * kwnames
[] = {
22003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22008 if (!SWIG_IsOK(res1
)) {
22009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22014 if (!SWIG_IsOK(ecode2
)) {
22015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22017 arg2
= static_cast< int >(val2
);
22022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22028 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22032 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22033 if (!SWIG_IsOK(ecode5
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22036 arg5
= static_cast< long >(val5
);
22040 arg6
= wxString_in_helper(obj5
);
22041 if (arg6
== NULL
) SWIG_fail
;
22046 if (!wxPyCheckForApp()) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22067 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22068 PyObject
*resultobj
= 0;
22069 wxPyPanel
*result
= 0 ;
22071 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22073 if (!wxPyCheckForApp()) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22075 result
= (wxPyPanel
*)new wxPyPanel();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22086 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
= 0;
22088 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22089 PyObject
*arg2
= (PyObject
*) 0 ;
22090 PyObject
*arg3
= (PyObject
*) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 PyObject
* obj2
= 0 ;
22096 char * kwnames
[] = {
22097 (char *) "self",(char *) "self",(char *) "_class", NULL
22100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22102 if (!SWIG_IsOK(res1
)) {
22103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22105 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_Py_Void();
22121 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
= 0;
22123 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22124 wxDC
*arg2
= (wxDC
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 char * kwnames
[] = {
22133 (char *) "self",(char *) "dc", NULL
22136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22138 if (!SWIG_IsOK(res1
)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22141 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22143 if (!SWIG_IsOK(res2
)) {
22144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22146 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22162 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
= 0;
22164 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 PyObject
* obj2
= 0 ;
22182 PyObject
* obj3
= 0 ;
22183 PyObject
* obj4
= 0 ;
22184 char * kwnames
[] = {
22185 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22190 if (!SWIG_IsOK(res1
)) {
22191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22193 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22195 if (!SWIG_IsOK(ecode2
)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22198 arg2
= static_cast< int >(val2
);
22199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22200 if (!SWIG_IsOK(ecode3
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22203 arg3
= static_cast< int >(val3
);
22204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22205 if (!SWIG_IsOK(ecode4
)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22208 arg4
= static_cast< int >(val4
);
22209 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22210 if (!SWIG_IsOK(ecode5
)) {
22211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22213 arg5
= static_cast< int >(val5
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_Py_Void();
22227 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
= 0;
22229 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22234 int arg6
= (int) wxSIZE_AUTO
;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 PyObject
* obj2
= 0 ;
22250 PyObject
* obj3
= 0 ;
22251 PyObject
* obj4
= 0 ;
22252 PyObject
* obj5
= 0 ;
22253 char * kwnames
[] = {
22254 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22259 if (!SWIG_IsOK(res1
)) {
22260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22262 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22264 if (!SWIG_IsOK(ecode2
)) {
22265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22267 arg2
= static_cast< int >(val2
);
22268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22269 if (!SWIG_IsOK(ecode3
)) {
22270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22272 arg3
= static_cast< int >(val3
);
22273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22274 if (!SWIG_IsOK(ecode4
)) {
22275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22277 arg4
= static_cast< int >(val4
);
22278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22279 if (!SWIG_IsOK(ecode5
)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22282 arg5
= static_cast< int >(val5
);
22284 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22285 if (!SWIG_IsOK(ecode6
)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22288 arg6
= static_cast< int >(val6
);
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_Py_Void();
22303 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
= 0;
22305 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22314 PyObject
* obj0
= 0 ;
22315 PyObject
* obj1
= 0 ;
22316 PyObject
* obj2
= 0 ;
22317 char * kwnames
[] = {
22318 (char *) "self",(char *) "width",(char *) "height", NULL
22321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22323 if (!SWIG_IsOK(res1
)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22326 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22328 if (!SWIG_IsOK(ecode2
)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22331 arg2
= static_cast< int >(val2
);
22332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22333 if (!SWIG_IsOK(ecode3
)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22336 arg3
= static_cast< int >(val3
);
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 (arg1
)->DoSetClientSize(arg2
,arg3
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_Py_Void();
22350 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
= 0;
22352 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 char * kwnames
[] = {
22365 (char *) "self",(char *) "x",(char *) "y", NULL
22368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22373 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22375 if (!SWIG_IsOK(ecode2
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22378 arg2
= static_cast< int >(val2
);
22379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22380 if (!SWIG_IsOK(ecode3
)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22383 arg3
= static_cast< int >(val3
);
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_Py_Void();
22397 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22398 PyObject
*resultobj
= 0;
22399 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22400 int *arg2
= (int *) 0 ;
22401 int *arg3
= (int *) 0 ;
22405 int res2
= SWIG_TMPOBJ
;
22407 int res3
= SWIG_TMPOBJ
;
22408 PyObject
*swig_obj
[1] ;
22412 if (!args
) SWIG_fail
;
22413 swig_obj
[0] = args
;
22414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22418 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_Py_Void();
22426 if (SWIG_IsTmpObj(res2
)) {
22427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22429 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22432 if (SWIG_IsTmpObj(res3
)) {
22433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22435 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22444 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22447 int *arg2
= (int *) 0 ;
22448 int *arg3
= (int *) 0 ;
22452 int res2
= SWIG_TMPOBJ
;
22454 int res3
= SWIG_TMPOBJ
;
22455 PyObject
*swig_obj
[1] ;
22459 if (!args
) SWIG_fail
;
22460 swig_obj
[0] = args
;
22461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22462 if (!SWIG_IsOK(res1
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22465 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_Py_Void();
22473 if (SWIG_IsTmpObj(res2
)) {
22474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22476 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22479 if (SWIG_IsTmpObj(res3
)) {
22480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22491 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22492 PyObject
*resultobj
= 0;
22493 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22494 int *arg2
= (int *) 0 ;
22495 int *arg3
= (int *) 0 ;
22499 int res2
= SWIG_TMPOBJ
;
22501 int res3
= SWIG_TMPOBJ
;
22502 PyObject
*swig_obj
[1] ;
22506 if (!args
) SWIG_fail
;
22507 swig_obj
[0] = args
;
22508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22509 if (!SWIG_IsOK(res1
)) {
22510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22512 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= SWIG_Py_Void();
22520 if (SWIG_IsTmpObj(res2
)) {
22521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22523 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22526 if (SWIG_IsTmpObj(res3
)) {
22527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22529 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22538 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22539 PyObject
*resultobj
= 0;
22540 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22544 PyObject
*swig_obj
[1] ;
22546 if (!args
) SWIG_fail
;
22547 swig_obj
[0] = args
;
22548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22549 if (!SWIG_IsOK(res1
)) {
22550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22552 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22566 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22567 PyObject
*resultobj
= 0;
22568 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22572 PyObject
*swig_obj
[1] ;
22574 if (!args
) SWIG_fail
;
22575 swig_obj
[0] = args
;
22576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22577 if (!SWIG_IsOK(res1
)) {
22578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22580 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22594 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 PyObject
*resultobj
= 0;
22596 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22597 SwigValueWrapper
<wxVisualAttributes
> result
;
22600 PyObject
*swig_obj
[1] ;
22602 if (!args
) SWIG_fail
;
22603 swig_obj
[0] = args
;
22604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22605 if (!SWIG_IsOK(res1
)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22608 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (arg1
)->GetDefaultAttributes();
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22622 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22627 PyObject
*swig_obj
[1] ;
22629 if (!args
) SWIG_fail
;
22630 swig_obj
[0] = args
;
22631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22635 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->OnInternalIdle();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_Py_Void();
22649 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22653 return SWIG_Py_Void();
22656 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22657 return SWIG_Python_InitShadowInstance(args
);
22660 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
= 0;
22662 wxWindow
*arg1
= (wxWindow
*) 0 ;
22663 int arg2
= (int) (int)-1 ;
22664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22666 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22667 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22668 long arg5
= (long) 0 ;
22669 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22670 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22671 wxPyScrolledWindow
*result
= 0 ;
22680 bool temp6
= false ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 PyObject
* obj2
= 0 ;
22684 PyObject
* obj3
= 0 ;
22685 PyObject
* obj4
= 0 ;
22686 PyObject
* obj5
= 0 ;
22687 char * kwnames
[] = {
22688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22699 if (!SWIG_IsOK(ecode2
)) {
22700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22702 arg2
= static_cast< int >(val2
);
22707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22713 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22717 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22718 if (!SWIG_IsOK(ecode5
)) {
22719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22721 arg5
= static_cast< long >(val5
);
22725 arg6
= wxString_in_helper(obj5
);
22726 if (arg6
== NULL
) SWIG_fail
;
22731 if (!wxPyCheckForApp()) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22752 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22753 PyObject
*resultobj
= 0;
22754 wxPyScrolledWindow
*result
= 0 ;
22756 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22758 if (!wxPyCheckForApp()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22771 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
= 0;
22773 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22774 PyObject
*arg2
= (PyObject
*) 0 ;
22775 PyObject
*arg3
= (PyObject
*) 0 ;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 PyObject
* obj2
= 0 ;
22781 char * kwnames
[] = {
22782 (char *) "self",(char *) "self",(char *) "_class", NULL
22785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22787 if (!SWIG_IsOK(res1
)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22790 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_Py_Void();
22806 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
= 0;
22808 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22809 wxDC
*arg2
= (wxDC
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 PyObject
* obj1
= 0 ;
22817 char * kwnames
[] = {
22818 (char *) "self",(char *) "dc", NULL
22821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22826 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22828 if (!SWIG_IsOK(res2
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22831 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22847 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
= 0;
22849 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 PyObject
* obj1
= 0 ;
22866 PyObject
* obj2
= 0 ;
22867 PyObject
* obj3
= 0 ;
22868 PyObject
* obj4
= 0 ;
22869 char * kwnames
[] = {
22870 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22878 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22880 if (!SWIG_IsOK(ecode2
)) {
22881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22883 arg2
= static_cast< int >(val2
);
22884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22885 if (!SWIG_IsOK(ecode3
)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22888 arg3
= static_cast< int >(val3
);
22889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22890 if (!SWIG_IsOK(ecode4
)) {
22891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22893 arg4
= static_cast< int >(val4
);
22894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22895 if (!SWIG_IsOK(ecode5
)) {
22896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22898 arg5
= static_cast< int >(val5
);
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_Py_Void();
22912 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
= 0;
22914 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22919 int arg6
= (int) wxSIZE_AUTO
;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 PyObject
* obj2
= 0 ;
22935 PyObject
* obj3
= 0 ;
22936 PyObject
* obj4
= 0 ;
22937 PyObject
* obj5
= 0 ;
22938 char * kwnames
[] = {
22939 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22947 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22949 if (!SWIG_IsOK(ecode2
)) {
22950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22952 arg2
= static_cast< int >(val2
);
22953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22954 if (!SWIG_IsOK(ecode3
)) {
22955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22957 arg3
= static_cast< int >(val3
);
22958 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22959 if (!SWIG_IsOK(ecode4
)) {
22960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22962 arg4
= static_cast< int >(val4
);
22963 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22964 if (!SWIG_IsOK(ecode5
)) {
22965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22967 arg5
= static_cast< int >(val5
);
22969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22970 if (!SWIG_IsOK(ecode6
)) {
22971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22973 arg6
= static_cast< int >(val6
);
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_Py_Void();
22988 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= 0;
22990 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 PyObject
* obj2
= 0 ;
23002 char * kwnames
[] = {
23003 (char *) "self",(char *) "width",(char *) "height", NULL
23006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23008 if (!SWIG_IsOK(res1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23011 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23013 if (!SWIG_IsOK(ecode2
)) {
23014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23016 arg2
= static_cast< int >(val2
);
23017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23018 if (!SWIG_IsOK(ecode3
)) {
23019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23021 arg3
= static_cast< int >(val3
);
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->DoSetClientSize(arg2
,arg3
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_Py_Void();
23035 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
= 0;
23037 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23046 PyObject
* obj0
= 0 ;
23047 PyObject
* obj1
= 0 ;
23048 PyObject
* obj2
= 0 ;
23049 char * kwnames
[] = {
23050 (char *) "self",(char *) "x",(char *) "y", NULL
23053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23058 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23060 if (!SWIG_IsOK(ecode2
)) {
23061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23063 arg2
= static_cast< int >(val2
);
23064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23065 if (!SWIG_IsOK(ecode3
)) {
23066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23068 arg3
= static_cast< int >(val3
);
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_Py_Void();
23082 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 PyObject
*resultobj
= 0;
23084 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23085 int *arg2
= (int *) 0 ;
23086 int *arg3
= (int *) 0 ;
23090 int res2
= SWIG_TMPOBJ
;
23092 int res3
= SWIG_TMPOBJ
;
23093 PyObject
*swig_obj
[1] ;
23097 if (!args
) SWIG_fail
;
23098 swig_obj
[0] = args
;
23099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23100 if (!SWIG_IsOK(res1
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23103 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_Py_Void();
23111 if (SWIG_IsTmpObj(res2
)) {
23112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23114 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23117 if (SWIG_IsTmpObj(res3
)) {
23118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23120 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23129 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23130 PyObject
*resultobj
= 0;
23131 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23132 int *arg2
= (int *) 0 ;
23133 int *arg3
= (int *) 0 ;
23137 int res2
= SWIG_TMPOBJ
;
23139 int res3
= SWIG_TMPOBJ
;
23140 PyObject
*swig_obj
[1] ;
23144 if (!args
) SWIG_fail
;
23145 swig_obj
[0] = args
;
23146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23147 if (!SWIG_IsOK(res1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23150 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_Py_Void();
23158 if (SWIG_IsTmpObj(res2
)) {
23159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23161 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23164 if (SWIG_IsTmpObj(res3
)) {
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23167 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23176 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23177 PyObject
*resultobj
= 0;
23178 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23179 int *arg2
= (int *) 0 ;
23180 int *arg3
= (int *) 0 ;
23184 int res2
= SWIG_TMPOBJ
;
23186 int res3
= SWIG_TMPOBJ
;
23187 PyObject
*swig_obj
[1] ;
23191 if (!args
) SWIG_fail
;
23192 swig_obj
[0] = args
;
23193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23194 if (!SWIG_IsOK(res1
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23197 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_Py_Void();
23205 if (SWIG_IsTmpObj(res2
)) {
23206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23208 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23211 if (SWIG_IsTmpObj(res3
)) {
23212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23214 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23223 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 PyObject
*resultobj
= 0;
23225 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23229 PyObject
*swig_obj
[1] ;
23231 if (!args
) SWIG_fail
;
23232 swig_obj
[0] = args
;
23233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23234 if (!SWIG_IsOK(res1
)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23237 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23251 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23252 PyObject
*resultobj
= 0;
23253 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23257 PyObject
*swig_obj
[1] ;
23259 if (!args
) SWIG_fail
;
23260 swig_obj
[0] = args
;
23261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23262 if (!SWIG_IsOK(res1
)) {
23263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23265 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23279 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23280 PyObject
*resultobj
= 0;
23281 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23282 SwigValueWrapper
<wxVisualAttributes
> result
;
23285 PyObject
*swig_obj
[1] ;
23287 if (!args
) SWIG_fail
;
23288 swig_obj
[0] = args
;
23289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23293 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (arg1
)->GetDefaultAttributes();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23307 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 PyObject
*resultobj
= 0;
23309 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23312 PyObject
*swig_obj
[1] ;
23314 if (!args
) SWIG_fail
;
23315 swig_obj
[0] = args
;
23316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23320 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 (arg1
)->OnInternalIdle();
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_Py_Void();
23334 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23338 return SWIG_Py_Void();
23341 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23342 return SWIG_Python_InitShadowInstance(args
);
23345 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23346 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23351 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23352 PyObject
*pyobj
= 0;
23356 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23358 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23365 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23366 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23371 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23372 PyObject
*pyobj
= 0;
23376 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23378 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23385 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23386 PyObject
*resultobj
= 0;
23387 wxPrintData
*result
= 0 ;
23389 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (wxPrintData
*)new wxPrintData();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23403 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23404 PyObject
*resultobj
= 0;
23405 wxPrintData
*arg1
= 0 ;
23406 wxPrintData
*result
= 0 ;
23410 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23412 if (!SWIG_IsOK(res1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23418 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23432 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23436 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23439 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23442 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23446 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23451 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 PyObject
*resultobj
= 0;
23453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23456 PyObject
*swig_obj
[1] ;
23458 if (!args
) SWIG_fail
;
23459 swig_obj
[0] = args
;
23460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23461 if (!SWIG_IsOK(res1
)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23464 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_Py_Void();
23479 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23480 PyObject
*resultobj
= 0;
23481 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23485 PyObject
*swig_obj
[1] ;
23487 if (!args
) SWIG_fail
;
23488 swig_obj
[0] = args
;
23489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23490 if (!SWIG_IsOK(res1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23493 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (int)(arg1
)->GetNoCopies();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_From_int(static_cast< int >(result
));
23507 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23508 PyObject
*resultobj
= 0;
23509 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23513 PyObject
*swig_obj
[1] ;
23515 if (!args
) SWIG_fail
;
23516 swig_obj
[0] = args
;
23517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23521 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (bool)(arg1
)->GetCollate();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23537 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 PyObject
*resultobj
= 0;
23539 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23543 PyObject
*swig_obj
[1] ;
23545 if (!args
) SWIG_fail
;
23546 swig_obj
[0] = args
;
23547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23551 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (int)(arg1
)->GetOrientation();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_From_int(static_cast< int >(result
));
23565 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23566 PyObject
*resultobj
= 0;
23567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23571 PyObject
*swig_obj
[1] ;
23573 if (!args
) SWIG_fail
;
23574 swig_obj
[0] = args
;
23575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23576 if (!SWIG_IsOK(res1
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23579 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (bool)(arg1
)->IsOk();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23595 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23596 PyObject
*resultobj
= 0;
23597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23598 wxString
*result
= 0 ;
23601 PyObject
*swig_obj
[1] ;
23603 if (!args
) SWIG_fail
;
23604 swig_obj
[0] = args
;
23605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23606 if (!SWIG_IsOK(res1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23609 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23614 result
= (wxString
*) &_result_ref
;
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23623 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23632 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23633 PyObject
*resultobj
= 0;
23634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23638 PyObject
*swig_obj
[1] ;
23640 if (!args
) SWIG_fail
;
23641 swig_obj
[0] = args
;
23642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23646 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (bool)(arg1
)->GetColour();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23662 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23663 PyObject
*resultobj
= 0;
23664 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23665 wxDuplexMode result
;
23668 PyObject
*swig_obj
[1] ;
23670 if (!args
) SWIG_fail
;
23671 swig_obj
[0] = args
;
23672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23676 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_From_int(static_cast< int >(result
));
23690 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23691 PyObject
*resultobj
= 0;
23692 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23693 wxPaperSize result
;
23696 PyObject
*swig_obj
[1] ;
23698 if (!args
) SWIG_fail
;
23699 swig_obj
[0] = args
;
23700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23701 if (!SWIG_IsOK(res1
)) {
23702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23704 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= SWIG_From_int(static_cast< int >(result
));
23718 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23719 PyObject
*resultobj
= 0;
23720 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23721 wxSize
*result
= 0 ;
23724 PyObject
*swig_obj
[1] ;
23726 if (!args
) SWIG_fail
;
23727 swig_obj
[0] = args
;
23728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23729 if (!SWIG_IsOK(res1
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23732 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23737 result
= (wxSize
*) &_result_ref
;
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23749 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23750 PyObject
*resultobj
= 0;
23751 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23755 PyObject
*swig_obj
[1] ;
23757 if (!args
) SWIG_fail
;
23758 swig_obj
[0] = args
;
23759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23763 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (int)(arg1
)->GetQuality();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= SWIG_From_int(static_cast< int >(result
));
23777 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23778 PyObject
*resultobj
= 0;
23779 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23783 PyObject
*swig_obj
[1] ;
23785 if (!args
) SWIG_fail
;
23786 swig_obj
[0] = args
;
23787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23788 if (!SWIG_IsOK(res1
)) {
23789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23791 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (wxPrintBin
)(arg1
)->GetBin();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_From_int(static_cast< int >(result
));
23805 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23806 PyObject
*resultobj
= 0;
23807 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23808 wxPrintMode result
;
23811 PyObject
*swig_obj
[1] ;
23813 if (!args
) SWIG_fail
;
23814 swig_obj
[0] = args
;
23815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23816 if (!SWIG_IsOK(res1
)) {
23817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23819 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_From_int(static_cast< int >(result
));
23833 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23834 PyObject
*resultobj
= 0;
23835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23839 PyObject
*swig_obj
[1] ;
23841 if (!args
) SWIG_fail
;
23842 swig_obj
[0] = args
;
23843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23844 if (!SWIG_IsOK(res1
)) {
23845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23847 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_From_int(static_cast< int >(result
));
23861 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
= 0;
23863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "self",(char *) "v", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23880 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23882 if (!SWIG_IsOK(ecode2
)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23885 arg2
= static_cast< int >(val2
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->SetNoCopies(arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_Py_Void();
23899 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
= 0;
23901 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23907 PyObject
* obj0
= 0 ;
23908 PyObject
* obj1
= 0 ;
23909 char * kwnames
[] = {
23910 (char *) "self",(char *) "flag", NULL
23913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23915 if (!SWIG_IsOK(res1
)) {
23916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23918 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23920 if (!SWIG_IsOK(ecode2
)) {
23921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23923 arg2
= static_cast< bool >(val2
);
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->SetCollate(arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_Py_Void();
23937 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= 0;
23939 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char * kwnames
[] = {
23948 (char *) "self",(char *) "orient", NULL
23951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23956 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23958 if (!SWIG_IsOK(ecode2
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23961 arg2
= static_cast< int >(val2
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 (arg1
)->SetOrientation(arg2
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_Py_Void();
23975 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
= 0;
23977 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23978 wxString
*arg2
= 0 ;
23981 bool temp2
= false ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 char * kwnames
[] = {
23985 (char *) "self",(char *) "name", NULL
23988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23990 if (!SWIG_IsOK(res1
)) {
23991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23993 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23995 arg2
= wxString_in_helper(obj1
);
23996 if (arg2
== NULL
) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= SWIG_Py_Void();
24020 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
= 0;
24022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char * kwnames
[] = {
24031 (char *) "self",(char *) "colour", NULL
24034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24036 if (!SWIG_IsOK(res1
)) {
24037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24039 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24040 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24041 if (!SWIG_IsOK(ecode2
)) {
24042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24044 arg2
= static_cast< bool >(val2
);
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 (arg1
)->SetColour(arg2
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_Py_Void();
24058 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
= 0;
24060 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24061 wxDuplexMode arg2
;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char * kwnames
[] = {
24069 (char *) "self",(char *) "duplex", NULL
24072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24077 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24079 if (!SWIG_IsOK(ecode2
)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24082 arg2
= static_cast< wxDuplexMode
>(val2
);
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 (arg1
)->SetDuplex(arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_Py_Void();
24096 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
= 0;
24098 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char * kwnames
[] = {
24107 (char *) "self",(char *) "sizeId", NULL
24110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24112 if (!SWIG_IsOK(res1
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24115 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24117 if (!SWIG_IsOK(ecode2
)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24120 arg2
= static_cast< wxPaperSize
>(val2
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 (arg1
)->SetPaperId(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_Py_Void();
24134 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
= 0;
24136 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char * kwnames
[] = {
24144 (char *) "self",(char *) "sz", NULL
24147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24149 if (!SWIG_IsOK(res1
)) {
24150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24152 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24155 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_Py_Void();
24170 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24178 PyObject
* obj0
= 0 ;
24179 PyObject
* obj1
= 0 ;
24180 char * kwnames
[] = {
24181 (char *) "self",(char *) "quality", NULL
24184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24186 if (!SWIG_IsOK(res1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24189 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24191 if (!SWIG_IsOK(ecode2
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24194 arg2
= static_cast< int >(val2
);
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 (arg1
)->SetQuality(arg2
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= SWIG_Py_Void();
24208 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
= 0;
24210 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char * kwnames
[] = {
24219 (char *) "self",(char *) "bin", NULL
24222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24224 if (!SWIG_IsOK(res1
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24227 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24229 if (!SWIG_IsOK(ecode2
)) {
24230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24232 arg2
= static_cast< wxPrintBin
>(val2
);
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 (arg1
)->SetBin(arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_Py_Void();
24246 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= 0;
24248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 PyObject
* obj1
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "self",(char *) "printMode", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24265 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24267 if (!SWIG_IsOK(ecode2
)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24270 arg2
= static_cast< wxPrintMode
>(val2
);
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetPrintMode(arg2
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= 0;
24286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "media", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24308 arg2
= static_cast< int >(val2
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 (arg1
)->SetMedia(arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_Py_Void();
24322 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24323 PyObject
*resultobj
= 0;
24324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24328 PyObject
*swig_obj
[1] ;
24330 if (!args
) SWIG_fail
;
24331 swig_obj
[0] = args
;
24332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24333 if (!SWIG_IsOK(res1
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24336 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24356 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24359 wxString
*arg2
= 0 ;
24362 bool temp2
= false ;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 char * kwnames
[] = {
24366 (char *) "self",(char *) "filename", NULL
24369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24374 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24376 arg2
= wxString_in_helper(obj1
);
24377 if (arg2
== NULL
) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 (arg1
)->SetFilename((wxString
const &)*arg2
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= SWIG_Py_Void();
24401 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24402 PyObject
*resultobj
= 0;
24403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24404 PyObject
*result
= 0 ;
24407 PyObject
*swig_obj
[1] ;
24409 if (!args
) SWIG_fail
;
24410 swig_obj
[0] = args
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24415 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= result
;
24429 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
= 0;
24431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24432 PyObject
*arg2
= (PyObject
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char * kwnames
[] = {
24438 (char *) "self",(char *) "data", NULL
24441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24443 if (!SWIG_IsOK(res1
)) {
24444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24446 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 wxPrintData_SetPrivData(arg1
,arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_Py_Void();
24461 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24465 return SWIG_Py_Void();
24468 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24469 return SWIG_Python_InitShadowInstance(args
);
24472 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24473 PyObject
*resultobj
= 0;
24474 wxPageSetupDialogData
*result
= 0 ;
24476 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24490 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24491 PyObject
*resultobj
= 0;
24492 wxPageSetupDialogData
*arg1
= 0 ;
24493 wxPageSetupDialogData
*result
= 0 ;
24497 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24505 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24519 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24520 PyObject
*resultobj
= 0;
24521 wxPrintData
*arg1
= 0 ;
24522 wxPageSetupDialogData
*result
= 0 ;
24526 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24528 if (!SWIG_IsOK(res1
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24534 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24548 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24552 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24555 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24560 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24561 _v
= SWIG_CheckState(res
);
24563 if (!_v
) goto check_2
;
24564 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24569 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24573 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24578 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24579 PyObject
*resultobj
= 0;
24580 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24583 PyObject
*swig_obj
[1] ;
24585 if (!args
) SWIG_fail
;
24586 swig_obj
[0] = args
;
24587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24591 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_Py_Void();
24606 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= 0;
24608 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char * kwnames
[] = {
24617 (char *) "self",(char *) "flag", NULL
24620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24625 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24627 if (!SWIG_IsOK(ecode2
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24630 arg2
= static_cast< bool >(val2
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->EnableHelp(arg2
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_Py_Void();
24644 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char * kwnames
[] = {
24655 (char *) "self",(char *) "flag", NULL
24658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24660 if (!SWIG_IsOK(res1
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24663 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24664 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24665 if (!SWIG_IsOK(ecode2
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24668 arg2
= static_cast< bool >(val2
);
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 (arg1
)->EnableMargins(arg2
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= SWIG_Py_Void();
24682 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
= 0;
24684 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char * kwnames
[] = {
24693 (char *) "self",(char *) "flag", NULL
24696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24698 if (!SWIG_IsOK(res1
)) {
24699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24701 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24703 if (!SWIG_IsOK(ecode2
)) {
24704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24706 arg2
= static_cast< bool >(val2
);
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 (arg1
)->EnableOrientation(arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_Py_Void();
24720 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
= 0;
24722 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 char * kwnames
[] = {
24731 (char *) "self",(char *) "flag", NULL
24734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24739 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24740 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24741 if (!SWIG_IsOK(ecode2
)) {
24742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24744 arg2
= static_cast< bool >(val2
);
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->EnablePaper(arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= SWIG_Py_Void();
24758 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
= 0;
24760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char * kwnames
[] = {
24769 (char *) "self",(char *) "flag", NULL
24772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24774 if (!SWIG_IsOK(res1
)) {
24775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24777 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24779 if (!SWIG_IsOK(ecode2
)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24782 arg2
= static_cast< bool >(val2
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 (arg1
)->EnablePrinter(arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_Py_Void();
24796 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 PyObject
*resultobj
= 0;
24798 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24802 PyObject
*swig_obj
[1] ;
24804 if (!args
) SWIG_fail
;
24805 swig_obj
[0] = args
;
24806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24810 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (bool)(arg1
)->GetDefaultMinMargins();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24827 PyObject
*resultobj
= 0;
24828 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24832 PyObject
*swig_obj
[1] ;
24834 if (!args
) SWIG_fail
;
24835 swig_obj
[0] = args
;
24836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24837 if (!SWIG_IsOK(res1
)) {
24838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24840 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 result
= (bool)(arg1
)->GetEnableMargins();
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24856 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24857 PyObject
*resultobj
= 0;
24858 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24862 PyObject
*swig_obj
[1] ;
24864 if (!args
) SWIG_fail
;
24865 swig_obj
[0] = args
;
24866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24867 if (!SWIG_IsOK(res1
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24870 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)(arg1
)->GetEnableOrientation();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24886 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24887 PyObject
*resultobj
= 0;
24888 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24892 PyObject
*swig_obj
[1] ;
24894 if (!args
) SWIG_fail
;
24895 swig_obj
[0] = args
;
24896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24900 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= (bool)(arg1
)->GetEnablePaper();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24916 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24917 PyObject
*resultobj
= 0;
24918 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24922 PyObject
*swig_obj
[1] ;
24924 if (!args
) SWIG_fail
;
24925 swig_obj
[0] = args
;
24926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24927 if (!SWIG_IsOK(res1
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24930 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 result
= (bool)(arg1
)->GetEnablePrinter();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24946 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24947 PyObject
*resultobj
= 0;
24948 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24952 PyObject
*swig_obj
[1] ;
24954 if (!args
) SWIG_fail
;
24955 swig_obj
[0] = args
;
24956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24960 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (bool)(arg1
)->GetEnableHelp();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24976 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24977 PyObject
*resultobj
= 0;
24978 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24982 PyObject
*swig_obj
[1] ;
24984 if (!args
) SWIG_fail
;
24985 swig_obj
[0] = args
;
24986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24987 if (!SWIG_IsOK(res1
)) {
24988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24990 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)(arg1
)->GetDefaultInfo();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25006 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25007 PyObject
*resultobj
= 0;
25008 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25012 PyObject
*swig_obj
[1] ;
25014 if (!args
) SWIG_fail
;
25015 swig_obj
[0] = args
;
25016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25017 if (!SWIG_IsOK(res1
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25020 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (arg1
)->GetMarginTopLeft();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25034 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25035 PyObject
*resultobj
= 0;
25036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25040 PyObject
*swig_obj
[1] ;
25042 if (!args
) SWIG_fail
;
25043 swig_obj
[0] = args
;
25044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (arg1
)->GetMarginBottomRight();
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25062 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25063 PyObject
*resultobj
= 0;
25064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25068 PyObject
*swig_obj
[1] ;
25070 if (!args
) SWIG_fail
;
25071 swig_obj
[0] = args
;
25072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25076 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (arg1
)->GetMinMarginTopLeft();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25090 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25091 PyObject
*resultobj
= 0;
25092 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25096 PyObject
*swig_obj
[1] ;
25098 if (!args
) SWIG_fail
;
25099 swig_obj
[0] = args
;
25100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25104 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (arg1
)->GetMinMarginBottomRight();
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25118 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25119 PyObject
*resultobj
= 0;
25120 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25121 wxPaperSize result
;
25124 PyObject
*swig_obj
[1] ;
25126 if (!args
) SWIG_fail
;
25127 swig_obj
[0] = args
;
25128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25129 if (!SWIG_IsOK(res1
)) {
25130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25132 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_From_int(static_cast< int >(result
));
25146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 PyObject
*resultobj
= 0;
25148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25152 PyObject
*swig_obj
[1] ;
25154 if (!args
) SWIG_fail
;
25155 swig_obj
[0] = args
;
25156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25157 if (!SWIG_IsOK(res1
)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25160 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (arg1
)->GetPaperSize();
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25174 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 PyObject
*resultobj
= 0;
25176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25177 wxPrintData
*result
= 0 ;
25180 PyObject
*swig_obj
[1] ;
25182 if (!args
) SWIG_fail
;
25183 swig_obj
[0] = args
;
25184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25188 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25193 result
= (wxPrintData
*) &_result_ref
;
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25205 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25206 PyObject
*resultobj
= 0;
25207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25211 PyObject
*swig_obj
[1] ;
25213 if (!args
) SWIG_fail
;
25214 swig_obj
[0] = args
;
25215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25219 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (bool)(arg1
)->IsOk();
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25235 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25237 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char * kwnames
[] = {
25246 (char *) "self",(char *) "flag", NULL
25249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25254 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25255 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25256 if (!SWIG_IsOK(ecode2
)) {
25257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25259 arg2
= static_cast< bool >(val2
);
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 (arg1
)->SetDefaultInfo(arg2
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_Py_Void();
25273 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
= 0;
25275 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 char * kwnames
[] = {
25284 (char *) "self",(char *) "flag", NULL
25287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25292 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25293 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25294 if (!SWIG_IsOK(ecode2
)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25297 arg2
= static_cast< bool >(val2
);
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetDefaultMinMargins(arg2
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= SWIG_Py_Void();
25311 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
= 0;
25313 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25314 wxPoint
*arg2
= 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char * kwnames
[] = {
25321 (char *) "self",(char *) "pt", NULL
25324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25329 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25332 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_Py_Void();
25347 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25350 wxPoint
*arg2
= 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 char * kwnames
[] = {
25357 (char *) "self",(char *) "pt", NULL
25360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25365 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= SWIG_Py_Void();
25383 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
= 0;
25385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25386 wxPoint
*arg2
= 0 ;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 char * kwnames
[] = {
25393 (char *) "self",(char *) "pt", NULL
25396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25398 if (!SWIG_IsOK(res1
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25401 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= SWIG_Py_Void();
25419 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
= 0;
25421 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25422 wxPoint
*arg2
= 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char * kwnames
[] = {
25429 (char *) "self",(char *) "pt", NULL
25432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25434 if (!SWIG_IsOK(res1
)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25437 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_Py_Void();
25455 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
= 0;
25457 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char * kwnames
[] = {
25466 (char *) "self",(char *) "id", NULL
25469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25474 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25476 if (!SWIG_IsOK(ecode2
)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25479 arg2
= static_cast< wxPaperSize
>(val2
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 (arg1
)->SetPaperId(arg2
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_Py_Void();
25493 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
= 0;
25495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 char * kwnames
[] = {
25503 (char *) "self",(char *) "size", NULL
25506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25508 if (!SWIG_IsOK(res1
)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25511 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_Py_Void();
25529 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
= 0;
25531 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25532 wxPrintData
*arg2
= 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char * kwnames
[] = {
25540 (char *) "self",(char *) "printData", NULL
25543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25545 if (!SWIG_IsOK(res1
)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25548 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25550 if (!SWIG_IsOK(res2
)) {
25551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25556 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_Py_Void();
25570 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25571 PyObject
*resultobj
= 0;
25572 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25575 PyObject
*swig_obj
[1] ;
25577 if (!args
) SWIG_fail
;
25578 swig_obj
[0] = args
;
25579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25580 if (!SWIG_IsOK(res1
)) {
25581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25583 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->CalculateIdFromPaperSize();
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 resultobj
= SWIG_Py_Void();
25597 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 PyObject
*resultobj
= 0;
25599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25602 PyObject
*swig_obj
[1] ;
25604 if (!args
) SWIG_fail
;
25605 swig_obj
[0] = args
;
25606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25607 if (!SWIG_IsOK(res1
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25610 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 (arg1
)->CalculatePaperSizeFromId();
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= SWIG_Py_Void();
25624 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25627 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25628 return SWIG_Py_Void();
25631 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25632 return SWIG_Python_InitShadowInstance(args
);
25635 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25637 wxWindow
*arg1
= (wxWindow
*) 0 ;
25638 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25639 wxPageSetupDialog
*result
= 0 ;
25644 PyObject
* obj0
= 0 ;
25645 PyObject
* obj1
= 0 ;
25646 char * kwnames
[] = {
25647 (char *) "parent",(char *) "data", NULL
25650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25658 if (!SWIG_IsOK(res2
)) {
25659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25661 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25664 if (!wxPyCheckForApp()) SWIG_fail
;
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25677 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25682 PyObject
*swig_obj
[1] ;
25684 if (!args
) SWIG_fail
;
25685 swig_obj
[0] = args
;
25686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25690 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25706 PyObject
*resultobj
= 0;
25707 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25708 wxPageSetupDialogData
*result
= 0 ;
25711 PyObject
*swig_obj
[1] ;
25713 if (!args
) SWIG_fail
;
25714 swig_obj
[0] = args
;
25715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25719 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25724 result
= (wxPageSetupDialogData
*) &_result_ref
;
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25736 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25739 wxPageSetupDialogData
*result
= 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25750 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25755 result
= (wxPageSetupDialogData
*) &_result_ref
;
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25767 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25773 PyObject
*swig_obj
[1] ;
25775 if (!args
) SWIG_fail
;
25776 swig_obj
[0] = args
;
25777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25781 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 result
= (int)(arg1
)->ShowModal();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_From_int(static_cast< int >(result
));
25795 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25798 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25799 return SWIG_Py_Void();
25802 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25803 return SWIG_Python_InitShadowInstance(args
);
25806 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25807 PyObject
*resultobj
= 0;
25808 wxPrintDialogData
*result
= 0 ;
25810 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25824 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25825 PyObject
*resultobj
= 0;
25826 wxPrintData
*arg1
= 0 ;
25827 wxPrintDialogData
*result
= 0 ;
25831 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25833 if (!SWIG_IsOK(res1
)) {
25834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25853 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25854 PyObject
*resultobj
= 0;
25855 wxPrintDialogData
*arg1
= 0 ;
25856 wxPrintDialogData
*result
= 0 ;
25860 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25862 if (!SWIG_IsOK(res1
)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25868 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25882 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25886 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25889 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25894 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25895 _v
= SWIG_CheckState(res
);
25897 if (!_v
) goto check_2
;
25898 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25903 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25907 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25912 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25913 PyObject
*resultobj
= 0;
25914 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25917 PyObject
*swig_obj
[1] ;
25919 if (!args
) SWIG_fail
;
25920 swig_obj
[0] = args
;
25921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25922 if (!SWIG_IsOK(res1
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25925 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_Py_Void();
25940 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 PyObject
*resultobj
= 0;
25942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25946 PyObject
*swig_obj
[1] ;
25948 if (!args
) SWIG_fail
;
25949 swig_obj
[0] = args
;
25950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25954 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_From_int(static_cast< int >(result
));
25968 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25969 PyObject
*resultobj
= 0;
25970 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25974 PyObject
*swig_obj
[1] ;
25976 if (!args
) SWIG_fail
;
25977 swig_obj
[0] = args
;
25978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25979 if (!SWIG_IsOK(res1
)) {
25980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25982 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_From_int(static_cast< int >(result
));
25996 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25997 PyObject
*resultobj
= 0;
25998 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26002 PyObject
*swig_obj
[1] ;
26004 if (!args
) SWIG_fail
;
26005 swig_obj
[0] = args
;
26006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26007 if (!SWIG_IsOK(res1
)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26010 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_From_int(static_cast< int >(result
));
26024 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26025 PyObject
*resultobj
= 0;
26026 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26030 PyObject
*swig_obj
[1] ;
26032 if (!args
) SWIG_fail
;
26033 swig_obj
[0] = args
;
26034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26035 if (!SWIG_IsOK(res1
)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26038 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_From_int(static_cast< int >(result
));
26052 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26053 PyObject
*resultobj
= 0;
26054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26058 PyObject
*swig_obj
[1] ;
26060 if (!args
) SWIG_fail
;
26061 swig_obj
[0] = args
;
26062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26066 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_From_int(static_cast< int >(result
));
26080 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26081 PyObject
*resultobj
= 0;
26082 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26086 PyObject
*swig_obj
[1] ;
26088 if (!args
) SWIG_fail
;
26089 swig_obj
[0] = args
;
26090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26094 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26110 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26111 PyObject
*resultobj
= 0;
26112 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26116 PyObject
*swig_obj
[1] ;
26118 if (!args
) SWIG_fail
;
26119 swig_obj
[0] = args
;
26120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26121 if (!SWIG_IsOK(res1
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26124 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26140 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 PyObject
*resultobj
= 0;
26142 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26146 PyObject
*swig_obj
[1] ;
26148 if (!args
) SWIG_fail
;
26149 swig_obj
[0] = args
;
26150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26154 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26170 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26171 PyObject
*resultobj
= 0;
26172 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26176 PyObject
*swig_obj
[1] ;
26178 if (!args
) SWIG_fail
;
26179 swig_obj
[0] = args
;
26180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26181 if (!SWIG_IsOK(res1
)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26184 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26200 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
= 0;
26202 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 char * kwnames
[] = {
26211 (char *) "self",(char *) "v", NULL
26214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26216 if (!SWIG_IsOK(res1
)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26219 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26221 if (!SWIG_IsOK(ecode2
)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26224 arg2
= static_cast< int >(val2
);
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->SetFromPage(arg2
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_Py_Void();
26238 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
= 0;
26240 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 char * kwnames
[] = {
26249 (char *) "self",(char *) "v", NULL
26252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26254 if (!SWIG_IsOK(res1
)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26257 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26259 if (!SWIG_IsOK(ecode2
)) {
26260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26262 arg2
= static_cast< int >(val2
);
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 (arg1
)->SetToPage(arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= SWIG_Py_Void();
26276 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
= 0;
26278 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char * kwnames
[] = {
26287 (char *) "self",(char *) "v", NULL
26290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26295 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26297 if (!SWIG_IsOK(ecode2
)) {
26298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26300 arg2
= static_cast< int >(val2
);
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->SetMinPage(arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_Py_Void();
26314 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
= 0;
26316 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 char * kwnames
[] = {
26325 (char *) "self",(char *) "v", NULL
26328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26330 if (!SWIG_IsOK(res1
)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26333 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26335 if (!SWIG_IsOK(ecode2
)) {
26336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26338 arg2
= static_cast< int >(val2
);
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 (arg1
)->SetMaxPage(arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= SWIG_Py_Void();
26352 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
= 0;
26354 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 char * kwnames
[] = {
26363 (char *) "self",(char *) "v", NULL
26366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26371 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26373 if (!SWIG_IsOK(ecode2
)) {
26374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26376 arg2
= static_cast< int >(val2
);
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 (arg1
)->SetNoCopies(arg2
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 resultobj
= SWIG_Py_Void();
26390 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
= 0;
26392 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 char * kwnames
[] = {
26401 (char *) "self",(char *) "flag", NULL
26404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26406 if (!SWIG_IsOK(res1
)) {
26407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26409 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26410 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26411 if (!SWIG_IsOK(ecode2
)) {
26412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26414 arg2
= static_cast< bool >(val2
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 (arg1
)->SetAllPages(arg2
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_Py_Void();
26428 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
= 0;
26430 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 char * kwnames
[] = {
26439 (char *) "self",(char *) "flag", NULL
26442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26444 if (!SWIG_IsOK(res1
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26447 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26449 if (!SWIG_IsOK(ecode2
)) {
26450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26452 arg2
= static_cast< bool >(val2
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->SetSelection(arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_Py_Void();
26466 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
= 0;
26468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char * kwnames
[] = {
26477 (char *) "self",(char *) "flag", NULL
26480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26485 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26487 if (!SWIG_IsOK(ecode2
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26490 arg2
= static_cast< bool >(val2
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 (arg1
)->SetCollate(arg2
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_Py_Void();
26504 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= 0;
26506 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 char * kwnames
[] = {
26515 (char *) "self",(char *) "flag", NULL
26518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26523 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26524 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26525 if (!SWIG_IsOK(ecode2
)) {
26526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26528 arg2
= static_cast< bool >(val2
);
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->SetPrintToFile(arg2
);
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= SWIG_Py_Void();
26542 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
= 0;
26544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26550 PyObject
* obj0
= 0 ;
26551 PyObject
* obj1
= 0 ;
26552 char * kwnames
[] = {
26553 (char *) "self",(char *) "flag", NULL
26556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26558 if (!SWIG_IsOK(res1
)) {
26559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26561 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26562 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26563 if (!SWIG_IsOK(ecode2
)) {
26564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26566 arg2
= static_cast< bool >(val2
);
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 (arg1
)->EnablePrintToFile(arg2
);
26570 wxPyEndAllowThreads(__tstate
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= SWIG_Py_Void();
26580 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26581 PyObject
*resultobj
= 0;
26582 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 char * kwnames
[] = {
26591 (char *) "self",(char *) "flag", NULL
26594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26596 if (!SWIG_IsOK(res1
)) {
26597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26599 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26600 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26601 if (!SWIG_IsOK(ecode2
)) {
26602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26604 arg2
= static_cast< bool >(val2
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 (arg1
)->EnableSelection(arg2
);
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 resultobj
= SWIG_Py_Void();
26618 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
= 0;
26620 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char * kwnames
[] = {
26629 (char *) "self",(char *) "flag", NULL
26632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26634 if (!SWIG_IsOK(res1
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26637 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26638 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26639 if (!SWIG_IsOK(ecode2
)) {
26640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26642 arg2
= static_cast< bool >(val2
);
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 (arg1
)->EnablePageNumbers(arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_Py_Void();
26656 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
= 0;
26658 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26666 char * kwnames
[] = {
26667 (char *) "self",(char *) "flag", NULL
26670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26675 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26676 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26677 if (!SWIG_IsOK(ecode2
)) {
26678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26680 arg2
= static_cast< bool >(val2
);
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 (arg1
)->EnableHelp(arg2
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_Py_Void();
26694 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26695 PyObject
*resultobj
= 0;
26696 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26700 PyObject
*swig_obj
[1] ;
26702 if (!args
) SWIG_fail
;
26703 swig_obj
[0] = args
;
26704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26708 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26724 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26725 PyObject
*resultobj
= 0;
26726 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26730 PyObject
*swig_obj
[1] ;
26732 if (!args
) SWIG_fail
;
26733 swig_obj
[0] = args
;
26734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26738 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26754 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26755 PyObject
*resultobj
= 0;
26756 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26760 PyObject
*swig_obj
[1] ;
26762 if (!args
) SWIG_fail
;
26763 swig_obj
[0] = args
;
26764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26768 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26784 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26785 PyObject
*resultobj
= 0;
26786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26790 PyObject
*swig_obj
[1] ;
26792 if (!args
) SWIG_fail
;
26793 swig_obj
[0] = args
;
26794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26798 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26814 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26815 PyObject
*resultobj
= 0;
26816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26820 PyObject
*swig_obj
[1] ;
26822 if (!args
) SWIG_fail
;
26823 swig_obj
[0] = args
;
26824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26825 if (!SWIG_IsOK(res1
)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26828 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26844 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26845 PyObject
*resultobj
= 0;
26846 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26847 wxPrintData
*result
= 0 ;
26850 PyObject
*swig_obj
[1] ;
26852 if (!args
) SWIG_fail
;
26853 swig_obj
[0] = args
;
26854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26855 if (!SWIG_IsOK(res1
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26858 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26863 result
= (wxPrintData
*) &_result_ref
;
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26875 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
= 0;
26877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26878 wxPrintData
*arg2
= 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char * kwnames
[] = {
26886 (char *) "self",(char *) "printData", NULL
26889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26891 if (!SWIG_IsOK(res1
)) {
26892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26894 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26896 if (!SWIG_IsOK(res2
)) {
26897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26902 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= SWIG_Py_Void();
26916 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26919 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26920 return SWIG_Py_Void();
26923 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26924 return SWIG_Python_InitShadowInstance(args
);
26927 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
= 0;
26929 wxWindow
*arg1
= (wxWindow
*) 0 ;
26930 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26931 wxPrintDialog
*result
= 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char * kwnames
[] = {
26939 (char *) "parent",(char *) "data", NULL
26942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26947 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26950 if (!SWIG_IsOK(res2
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26953 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26956 if (!wxPyCheckForApp()) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26969 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26970 PyObject
*resultobj
= 0;
26971 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26974 PyObject
*swig_obj
[1] ;
26976 if (!args
) SWIG_fail
;
26977 swig_obj
[0] = args
;
26978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26982 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_Py_Void();
26997 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26998 PyObject
*resultobj
= 0;
26999 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27003 PyObject
*swig_obj
[1] ;
27005 if (!args
) SWIG_fail
;
27006 swig_obj
[0] = args
;
27007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27008 if (!SWIG_IsOK(res1
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27011 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (int)(arg1
)->ShowModal();
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_From_int(static_cast< int >(result
));
27025 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27026 PyObject
*resultobj
= 0;
27027 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27028 wxPrintDialogData
*result
= 0 ;
27031 PyObject
*swig_obj
[1] ;
27033 if (!args
) SWIG_fail
;
27034 swig_obj
[0] = args
;
27035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27036 if (!SWIG_IsOK(res1
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27039 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27044 result
= (wxPrintDialogData
*) &_result_ref
;
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27056 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27057 PyObject
*resultobj
= 0;
27058 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27059 wxPrintData
*result
= 0 ;
27062 PyObject
*swig_obj
[1] ;
27064 if (!args
) SWIG_fail
;
27065 swig_obj
[0] = args
;
27066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27067 if (!SWIG_IsOK(res1
)) {
27068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27070 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27075 result
= (wxPrintData
*) &_result_ref
;
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27087 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27093 PyObject
*swig_obj
[1] ;
27095 if (!args
) SWIG_fail
;
27096 swig_obj
[0] = args
;
27097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27101 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (wxDC
*)(arg1
)->GetPrintDC();
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27117 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27121 return SWIG_Py_Void();
27124 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27125 return SWIG_Python_InitShadowInstance(args
);
27128 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
= 0;
27130 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27131 wxPrinter
*result
= 0 ;
27134 PyObject
* obj0
= 0 ;
27135 char * kwnames
[] = {
27136 (char *) "data", NULL
27139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27145 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27148 if (!wxPyCheckForApp()) SWIG_fail
;
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 result
= (wxPrinter
*)new wxPrinter(arg1
);
27151 wxPyEndAllowThreads(__tstate
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27161 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27162 PyObject
*resultobj
= 0;
27163 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27166 PyObject
*swig_obj
[1] ;
27168 if (!args
) SWIG_fail
;
27169 swig_obj
[0] = args
;
27170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27171 if (!SWIG_IsOK(res1
)) {
27172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27174 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= SWIG_Py_Void();
27189 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
= 0;
27191 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27192 wxWindow
*arg2
= (wxWindow
*) 0 ;
27193 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27194 wxWindow
*result
= 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 PyObject
* obj2
= 0 ;
27204 char * kwnames
[] = {
27205 (char *) "self",(char *) "parent",(char *) "printout", NULL
27208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27213 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27215 if (!SWIG_IsOK(res2
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27219 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27220 if (!SWIG_IsOK(res3
)) {
27221 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27223 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27231 resultobj
= wxPyMake_wxObject(result
, 0);
27239 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
= 0;
27241 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27242 wxWindow
*arg2
= (wxWindow
*) 0 ;
27243 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27244 wxString
*arg4
= 0 ;
27251 bool temp4
= false ;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 PyObject
* obj2
= 0 ;
27255 PyObject
* obj3
= 0 ;
27256 char * kwnames
[] = {
27257 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27262 if (!SWIG_IsOK(res1
)) {
27263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27265 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27267 if (!SWIG_IsOK(res2
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27270 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27271 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27272 if (!SWIG_IsOK(res3
)) {
27273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27275 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27277 arg4
= wxString_in_helper(obj3
);
27278 if (arg4
== NULL
) SWIG_fail
;
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 resultobj
= SWIG_Py_Void();
27302 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
= 0;
27304 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27305 wxWindow
*arg2
= (wxWindow
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 char * kwnames
[] = {
27314 (char *) "self",(char *) "parent", NULL
27317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27322 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27324 if (!SWIG_IsOK(res2
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27327 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (bool)(arg1
)->Setup(arg2
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27343 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
= 0;
27345 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27346 wxWindow
*arg2
= (wxWindow
*) 0 ;
27347 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27348 bool arg4
= (bool) true ;
27358 PyObject
* obj0
= 0 ;
27359 PyObject
* obj1
= 0 ;
27360 PyObject
* obj2
= 0 ;
27361 PyObject
* obj3
= 0 ;
27362 char * kwnames
[] = {
27363 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27368 if (!SWIG_IsOK(res1
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27371 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27373 if (!SWIG_IsOK(res2
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27377 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27378 if (!SWIG_IsOK(res3
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27381 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27383 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27384 if (!SWIG_IsOK(ecode4
)) {
27385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27387 arg4
= static_cast< bool >(val4
);
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27404 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
= 0;
27406 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27407 wxWindow
*arg2
= (wxWindow
*) 0 ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 char * kwnames
[] = {
27416 (char *) "self",(char *) "parent", NULL
27419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27421 if (!SWIG_IsOK(res1
)) {
27422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27424 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27426 if (!SWIG_IsOK(res2
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27429 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27445 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27447 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27448 wxPrintDialogData
*result
= 0 ;
27451 PyObject
*swig_obj
[1] ;
27453 if (!args
) SWIG_fail
;
27454 swig_obj
[0] = args
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27459 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27464 result
= (wxPrintDialogData
*) &_result_ref
;
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27476 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27477 PyObject
*resultobj
= 0;
27478 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27482 PyObject
*swig_obj
[1] ;
27484 if (!args
) SWIG_fail
;
27485 swig_obj
[0] = args
;
27486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27487 if (!SWIG_IsOK(res1
)) {
27488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27490 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 result
= (bool)(arg1
)->GetAbort();
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27506 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27507 PyObject
*resultobj
= 0;
27508 wxPrinterError result
;
27510 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= (wxPrinterError
)wxPrinter::GetLastError();
27514 wxPyEndAllowThreads(__tstate
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= SWIG_From_int(static_cast< int >(result
));
27524 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27527 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27528 return SWIG_Py_Void();
27531 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 return SWIG_Python_InitShadowInstance(args
);
27535 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
= 0;
27537 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27538 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27539 wxPyPrintout
*result
= 0 ;
27540 bool temp1
= false ;
27541 PyObject
* obj0
= 0 ;
27542 char * kwnames
[] = {
27543 (char *) "title", NULL
27546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27549 arg1
= wxString_in_helper(obj0
);
27550 if (arg1
== NULL
) SWIG_fail
;
27555 if (!wxPyCheckForApp()) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27576 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 PyObject
*resultobj
= 0;
27578 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27589 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_Py_Void();
27604 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
= 0;
27606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27607 PyObject
*arg2
= (PyObject
*) 0 ;
27608 PyObject
*arg3
= (PyObject
*) 0 ;
27611 PyObject
* obj0
= 0 ;
27612 PyObject
* obj1
= 0 ;
27613 PyObject
* obj2
= 0 ;
27614 char * kwnames
[] = {
27615 (char *) "self",(char *) "self",(char *) "_class", NULL
27618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27620 if (!SWIG_IsOK(res1
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27623 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= SWIG_Py_Void();
27639 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27645 PyObject
*swig_obj
[1] ;
27647 if (!args
) SWIG_fail
;
27648 swig_obj
[0] = args
;
27649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27650 if (!SWIG_IsOK(res1
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27653 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27673 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 PyObject
*resultobj
= 0;
27675 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27679 PyObject
*swig_obj
[1] ;
27681 if (!args
) SWIG_fail
;
27682 swig_obj
[0] = args
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27687 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (wxDC
*)(arg1
)->GetDC();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27703 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
= 0;
27705 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27706 wxDC
*arg2
= (wxDC
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 char * kwnames
[] = {
27714 (char *) "self",(char *) "dc", NULL
27717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27722 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27724 if (!SWIG_IsOK(res2
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27727 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->SetDC(arg2
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_Py_Void();
27741 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
= 0;
27743 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27748 PyObject
* obj0
= 0 ;
27749 PyObject
* obj1
= 0 ;
27750 char * kwnames
[] = {
27751 (char *) "self",(char *) "imageSize", NULL
27754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27759 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27762 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_Py_Void();
27777 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
= 0;
27779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27784 PyObject
* obj0
= 0 ;
27785 PyObject
* obj1
= 0 ;
27786 char * kwnames
[] = {
27787 (char *) "self",(char *) "imageSize", NULL
27790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27792 if (!SWIG_IsOK(res1
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27795 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_Py_Void();
27813 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= 0;
27815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27817 wxPageSetupDialogData
*arg3
= 0 ;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 PyObject
* obj2
= 0 ;
27826 char * kwnames
[] = {
27827 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27832 if (!SWIG_IsOK(res1
)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27835 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27840 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27841 if (!SWIG_IsOK(res3
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27847 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= SWIG_Py_Void();
27861 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27862 PyObject
*resultobj
= 0;
27863 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27866 PyObject
*swig_obj
[1] ;
27868 if (!args
) SWIG_fail
;
27869 swig_obj
[0] = args
;
27870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27874 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 (arg1
)->MapScreenSizeToPaper();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_Py_Void();
27888 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27889 PyObject
*resultobj
= 0;
27890 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27893 PyObject
*swig_obj
[1] ;
27895 if (!args
) SWIG_fail
;
27896 swig_obj
[0] = args
;
27897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27898 if (!SWIG_IsOK(res1
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27901 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 (arg1
)->MapScreenSizeToPage();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
= 0;
27917 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27918 wxPageSetupDialogData
*arg2
= 0 ;
27923 PyObject
* obj0
= 0 ;
27924 PyObject
* obj1
= 0 ;
27925 char * kwnames
[] = {
27926 (char *) "self",(char *) "pageSetupData", NULL
27929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27931 if (!SWIG_IsOK(res1
)) {
27932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27934 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27936 if (!SWIG_IsOK(res2
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27942 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= SWIG_Py_Void();
27956 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27957 PyObject
*resultobj
= 0;
27958 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27961 PyObject
*swig_obj
[1] ;
27963 if (!args
) SWIG_fail
;
27964 swig_obj
[0] = args
;
27965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27966 if (!SWIG_IsOK(res1
)) {
27967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27969 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 (arg1
)->MapScreenSizeToDevice();
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= SWIG_Py_Void();
27983 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27984 PyObject
*resultobj
= 0;
27985 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27989 PyObject
*swig_obj
[1] ;
27991 if (!args
) SWIG_fail
;
27992 swig_obj
[0] = args
;
27993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27997 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28011 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28017 PyObject
*swig_obj
[1] ;
28019 if (!args
) SWIG_fail
;
28020 swig_obj
[0] = args
;
28021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28022 if (!SWIG_IsOK(res1
)) {
28023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28025 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28039 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
= 0;
28041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28042 wxPageSetupDialogData
*arg2
= 0 ;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "self",(char *) "pageSetupData", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28059 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28067 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28081 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
= 0;
28083 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 PyObject
* obj2
= 0 ;
28095 char * kwnames
[] = {
28096 (char *) "self",(char *) "x",(char *) "y", NULL
28099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28101 if (!SWIG_IsOK(res1
)) {
28102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28104 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28106 if (!SWIG_IsOK(ecode2
)) {
28107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28109 arg2
= static_cast< int >(val2
);
28110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28111 if (!SWIG_IsOK(ecode3
)) {
28112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28114 arg3
= static_cast< int >(val3
);
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= SWIG_Py_Void();
28128 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
= 0;
28130 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 PyObject
* obj2
= 0 ;
28142 char * kwnames
[] = {
28143 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28148 if (!SWIG_IsOK(res1
)) {
28149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28151 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28153 if (!SWIG_IsOK(ecode2
)) {
28154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28156 arg2
= static_cast< int >(val2
);
28157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28158 if (!SWIG_IsOK(ecode3
)) {
28159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28161 arg3
= static_cast< int >(val3
);
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= SWIG_Py_Void();
28175 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
= 0;
28177 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 PyObject
* obj1
= 0 ;
28188 PyObject
* obj2
= 0 ;
28189 char * kwnames
[] = {
28190 (char *) "self",(char *) "w",(char *) "h", NULL
28193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28195 if (!SWIG_IsOK(res1
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28198 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28200 if (!SWIG_IsOK(ecode2
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28203 arg2
= static_cast< int >(val2
);
28204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28205 if (!SWIG_IsOK(ecode3
)) {
28206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28208 arg3
= static_cast< int >(val3
);
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= SWIG_Py_Void();
28222 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28225 int *arg2
= (int *) 0 ;
28226 int *arg3
= (int *) 0 ;
28230 int res2
= SWIG_TMPOBJ
;
28232 int res3
= SWIG_TMPOBJ
;
28233 PyObject
*swig_obj
[1] ;
28237 if (!args
) SWIG_fail
;
28238 swig_obj
[0] = args
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_Py_Void();
28251 if (SWIG_IsTmpObj(res2
)) {
28252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28257 if (SWIG_IsTmpObj(res3
)) {
28258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28269 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
= 0;
28271 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28280 PyObject
* obj0
= 0 ;
28281 PyObject
* obj1
= 0 ;
28282 PyObject
* obj2
= 0 ;
28283 char * kwnames
[] = {
28284 (char *) "self",(char *) "w",(char *) "h", NULL
28287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28289 if (!SWIG_IsOK(res1
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28292 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28294 if (!SWIG_IsOK(ecode2
)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28297 arg2
= static_cast< int >(val2
);
28298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28299 if (!SWIG_IsOK(ecode3
)) {
28300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28302 arg3
= static_cast< int >(val3
);
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_Py_Void();
28316 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28317 PyObject
*resultobj
= 0;
28318 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28319 int *arg2
= (int *) 0 ;
28320 int *arg3
= (int *) 0 ;
28324 int res2
= SWIG_TMPOBJ
;
28326 int res3
= SWIG_TMPOBJ
;
28327 PyObject
*swig_obj
[1] ;
28331 if (!args
) SWIG_fail
;
28332 swig_obj
[0] = args
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28337 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_Py_Void();
28345 if (SWIG_IsTmpObj(res2
)) {
28346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28348 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28351 if (SWIG_IsTmpObj(res3
)) {
28352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28363 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 PyObject
* obj2
= 0 ;
28377 char * kwnames
[] = {
28378 (char *) "self",(char *) "x",(char *) "y", NULL
28381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28386 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28388 if (!SWIG_IsOK(ecode2
)) {
28389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28391 arg2
= static_cast< int >(val2
);
28392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28393 if (!SWIG_IsOK(ecode3
)) {
28394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28396 arg3
= static_cast< int >(val3
);
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 (arg1
)->SetPPIScreen(arg2
,arg3
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_Py_Void();
28410 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28413 int *arg2
= (int *) 0 ;
28414 int *arg3
= (int *) 0 ;
28418 int res2
= SWIG_TMPOBJ
;
28420 int res3
= SWIG_TMPOBJ
;
28421 PyObject
*swig_obj
[1] ;
28425 if (!args
) SWIG_fail
;
28426 swig_obj
[0] = args
;
28427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28428 if (!SWIG_IsOK(res1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28431 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 (arg1
)->GetPPIScreen(arg2
,arg3
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_Py_Void();
28439 if (SWIG_IsTmpObj(res2
)) {
28440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28442 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28445 if (SWIG_IsTmpObj(res3
)) {
28446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28448 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28457 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
= 0;
28459 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 PyObject
* obj2
= 0 ;
28471 char * kwnames
[] = {
28472 (char *) "self",(char *) "x",(char *) "y", NULL
28475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28477 if (!SWIG_IsOK(res1
)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28480 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28482 if (!SWIG_IsOK(ecode2
)) {
28483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28485 arg2
= static_cast< int >(val2
);
28486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28487 if (!SWIG_IsOK(ecode3
)) {
28488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28490 arg3
= static_cast< int >(val3
);
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= SWIG_Py_Void();
28504 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28505 PyObject
*resultobj
= 0;
28506 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28507 int *arg2
= (int *) 0 ;
28508 int *arg3
= (int *) 0 ;
28512 int res2
= SWIG_TMPOBJ
;
28514 int res3
= SWIG_TMPOBJ
;
28515 PyObject
*swig_obj
[1] ;
28519 if (!args
) SWIG_fail
;
28520 swig_obj
[0] = args
;
28521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28522 if (!SWIG_IsOK(res1
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28525 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_Py_Void();
28533 if (SWIG_IsTmpObj(res2
)) {
28534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28539 if (SWIG_IsTmpObj(res3
)) {
28540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28551 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
= 0;
28553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 PyObject
* obj1
= 0 ;
28560 char * kwnames
[] = {
28561 (char *) "self",(char *) "paperRectPixels", NULL
28564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28566 if (!SWIG_IsOK(res1
)) {
28567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28569 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28572 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= SWIG_Py_Void();
28587 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28588 PyObject
*resultobj
= 0;
28589 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28593 PyObject
*swig_obj
[1] ;
28595 if (!args
) SWIG_fail
;
28596 swig_obj
[0] = args
;
28597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28601 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28615 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28616 PyObject
*resultobj
= 0;
28617 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28621 PyObject
*swig_obj
[1] ;
28623 if (!args
) SWIG_fail
;
28624 swig_obj
[0] = args
;
28625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28629 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (bool)(arg1
)->IsPreview();
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28645 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
= 0;
28647 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28653 PyObject
* obj0
= 0 ;
28654 PyObject
* obj1
= 0 ;
28655 char * kwnames
[] = {
28656 (char *) "self",(char *) "p", NULL
28659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28661 if (!SWIG_IsOK(res1
)) {
28662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28664 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28666 if (!SWIG_IsOK(ecode2
)) {
28667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28669 arg2
= static_cast< bool >(val2
);
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 (arg1
)->SetIsPreview(arg2
);
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= SWIG_Py_Void();
28683 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
= 0;
28685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 PyObject
* obj2
= 0 ;
28698 char * kwnames
[] = {
28699 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28704 if (!SWIG_IsOK(res1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28707 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28709 if (!SWIG_IsOK(ecode2
)) {
28710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28712 arg2
= static_cast< int >(val2
);
28713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28714 if (!SWIG_IsOK(ecode3
)) {
28715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28717 arg3
= static_cast< int >(val3
);
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28733 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28734 PyObject
*resultobj
= 0;
28735 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28738 PyObject
*swig_obj
[1] ;
28740 if (!args
) SWIG_fail
;
28741 swig_obj
[0] = args
;
28742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28743 if (!SWIG_IsOK(res1
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28746 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 (arg1
)->OnEndDocument();
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_Py_Void();
28760 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28761 PyObject
*resultobj
= 0;
28762 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28765 PyObject
*swig_obj
[1] ;
28767 if (!args
) SWIG_fail
;
28768 swig_obj
[0] = args
;
28769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28773 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 (arg1
)->OnBeginPrinting();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_Py_Void();
28787 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28788 PyObject
*resultobj
= 0;
28789 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28792 PyObject
*swig_obj
[1] ;
28794 if (!args
) SWIG_fail
;
28795 swig_obj
[0] = args
;
28796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28797 if (!SWIG_IsOK(res1
)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28800 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 (arg1
)->OnEndPrinting();
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_Py_Void();
28814 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28815 PyObject
*resultobj
= 0;
28816 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28819 PyObject
*swig_obj
[1] ;
28821 if (!args
) SWIG_fail
;
28822 swig_obj
[0] = args
;
28823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28824 if (!SWIG_IsOK(res1
)) {
28825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28827 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 (arg1
)->OnPreparePrinting();
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_Py_Void();
28841 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
= 0;
28843 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 char * kwnames
[] = {
28853 (char *) "self",(char *) "page", NULL
28856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28858 if (!SWIG_IsOK(res1
)) {
28859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28861 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28863 if (!SWIG_IsOK(ecode2
)) {
28864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28866 arg2
= static_cast< int >(val2
);
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (bool)(arg1
)->HasPage(arg2
);
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28882 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28883 PyObject
*resultobj
= 0;
28884 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28885 int *arg2
= (int *) 0 ;
28886 int *arg3
= (int *) 0 ;
28887 int *arg4
= (int *) 0 ;
28888 int *arg5
= (int *) 0 ;
28892 int res2
= SWIG_TMPOBJ
;
28894 int res3
= SWIG_TMPOBJ
;
28896 int res4
= SWIG_TMPOBJ
;
28898 int res5
= SWIG_TMPOBJ
;
28899 PyObject
*swig_obj
[1] ;
28905 if (!args
) SWIG_fail
;
28906 swig_obj
[0] = args
;
28907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28911 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_Py_Void();
28919 if (SWIG_IsTmpObj(res2
)) {
28920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28922 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28925 if (SWIG_IsTmpObj(res3
)) {
28926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28928 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28931 if (SWIG_IsTmpObj(res4
)) {
28932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28934 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28937 if (SWIG_IsTmpObj(res5
)) {
28938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28940 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28949 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28952 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28953 return SWIG_Py_Void();
28956 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28957 return SWIG_Python_InitShadowInstance(args
);
28960 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
= 0;
28962 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28963 wxWindow
*arg2
= (wxWindow
*) 0 ;
28964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28968 long arg5
= (long) 0 ;
28969 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28970 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28971 wxPreviewCanvas
*result
= 0 ;
28980 bool temp6
= false ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 PyObject
* obj3
= 0 ;
28985 PyObject
* obj4
= 0 ;
28986 PyObject
* obj5
= 0 ;
28987 char * kwnames
[] = {
28988 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28993 if (!SWIG_IsOK(res1
)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28996 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28998 if (!SWIG_IsOK(res2
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29001 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29011 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29015 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29016 if (!SWIG_IsOK(ecode5
)) {
29017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29019 arg5
= static_cast< long >(val5
);
29023 arg6
= wxString_in_helper(obj5
);
29024 if (arg6
== NULL
) SWIG_fail
;
29029 if (!wxPyCheckForApp()) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29050 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29053 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29054 return SWIG_Py_Void();
29057 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29058 return SWIG_Python_InitShadowInstance(args
);
29061 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29062 PyObject
*resultobj
= 0;
29063 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29064 wxFrame
*arg2
= (wxFrame
*) 0 ;
29065 wxString
*arg3
= 0 ;
29066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29070 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29071 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29073 wxPreviewFrame
*result
= 0 ;
29077 bool temp3
= false ;
29082 bool temp7
= false ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 PyObject
* obj3
= 0 ;
29087 PyObject
* obj4
= 0 ;
29088 PyObject
* obj5
= 0 ;
29089 PyObject
* obj6
= 0 ;
29090 char * kwnames
[] = {
29091 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29095 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29100 if (!SWIG_IsOK(res2
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29103 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29105 arg3
= wxString_in_helper(obj2
);
29106 if (arg3
== NULL
) SWIG_fail
;
29112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29122 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29123 if (!SWIG_IsOK(ecode6
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29126 arg6
= static_cast< long >(val6
);
29130 arg7
= wxString_in_helper(obj6
);
29131 if (arg7
== NULL
) SWIG_fail
;
29136 if (!wxPyCheckForApp()) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29165 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 PyObject
*resultobj
= 0;
29167 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29170 PyObject
*swig_obj
[1] ;
29172 if (!args
) SWIG_fail
;
29173 swig_obj
[0] = args
;
29174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29175 if (!SWIG_IsOK(res1
)) {
29176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29178 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 (arg1
)->Initialize();
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= SWIG_Py_Void();
29192 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29193 PyObject
*resultobj
= 0;
29194 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29197 PyObject
*swig_obj
[1] ;
29199 if (!args
) SWIG_fail
;
29200 swig_obj
[0] = args
;
29201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29202 if (!SWIG_IsOK(res1
)) {
29203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29205 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->CreateControlBar();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29219 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29220 PyObject
*resultobj
= 0;
29221 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29224 PyObject
*swig_obj
[1] ;
29226 if (!args
) SWIG_fail
;
29227 swig_obj
[0] = args
;
29228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29232 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 (arg1
)->CreateCanvas();
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= SWIG_Py_Void();
29246 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29247 PyObject
*resultobj
= 0;
29248 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29249 wxPreviewControlBar
*result
= 0 ;
29252 PyObject
*swig_obj
[1] ;
29254 if (!args
) SWIG_fail
;
29255 swig_obj
[0] = args
;
29256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29257 if (!SWIG_IsOK(res1
)) {
29258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29260 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29274 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29278 return SWIG_Py_Void();
29281 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29282 return SWIG_Python_InitShadowInstance(args
);
29285 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
= 0;
29287 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29289 wxWindow
*arg3
= (wxWindow
*) 0 ;
29290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29294 long arg6
= (long) wxTAB_TRAVERSAL
;
29295 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29297 wxPreviewControlBar
*result
= 0 ;
29308 bool temp7
= false ;
29309 PyObject
* obj0
= 0 ;
29310 PyObject
* obj1
= 0 ;
29311 PyObject
* obj2
= 0 ;
29312 PyObject
* obj3
= 0 ;
29313 PyObject
* obj4
= 0 ;
29314 PyObject
* obj5
= 0 ;
29315 PyObject
* obj6
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29325 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29326 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29327 if (!SWIG_IsOK(ecode2
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29330 arg2
= static_cast< long >(val2
);
29331 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29332 if (!SWIG_IsOK(res3
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29335 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29349 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29350 if (!SWIG_IsOK(ecode6
)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29353 arg6
= static_cast< long >(val6
);
29357 arg7
= wxString_in_helper(obj6
);
29358 if (arg7
== NULL
) SWIG_fail
;
29363 if (!wxPyCheckForApp()) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29384 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29385 PyObject
*resultobj
= 0;
29386 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29390 PyObject
*swig_obj
[1] ;
29392 if (!args
) SWIG_fail
;
29393 swig_obj
[0] = args
;
29394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29395 if (!SWIG_IsOK(res1
)) {
29396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29398 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 result
= (int)(arg1
)->GetZoomControl();
29402 wxPyEndAllowThreads(__tstate
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29405 resultobj
= SWIG_From_int(static_cast< int >(result
));
29412 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
= 0;
29414 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "zoom", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29431 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29433 if (!SWIG_IsOK(ecode2
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29436 arg2
= static_cast< int >(val2
);
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 (arg1
)->SetZoomControl(arg2
);
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= SWIG_Py_Void();
29450 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29451 PyObject
*resultobj
= 0;
29452 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29453 wxPrintPreview
*result
= 0 ;
29456 PyObject
*swig_obj
[1] ;
29458 if (!args
) SWIG_fail
;
29459 swig_obj
[0] = args
;
29460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29461 if (!SWIG_IsOK(res1
)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29464 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29478 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29479 PyObject
*resultobj
= 0;
29480 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29483 PyObject
*swig_obj
[1] ;
29485 if (!args
) SWIG_fail
;
29486 swig_obj
[0] = args
;
29487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29488 if (!SWIG_IsOK(res1
)) {
29489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29491 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= SWIG_Py_Void();
29505 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29506 PyObject
*resultobj
= 0;
29507 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29510 PyObject
*swig_obj
[1] ;
29512 if (!args
) SWIG_fail
;
29513 swig_obj
[0] = args
;
29514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29515 if (!SWIG_IsOK(res1
)) {
29516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29518 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 (arg1
)->OnPrevious();
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_Py_Void();
29532 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29533 PyObject
*resultobj
= 0;
29534 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29537 PyObject
*swig_obj
[1] ;
29539 if (!args
) SWIG_fail
;
29540 swig_obj
[0] = args
;
29541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29542 if (!SWIG_IsOK(res1
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29545 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= SWIG_Py_Void();
29559 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29560 PyObject
*resultobj
= 0;
29561 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29564 PyObject
*swig_obj
[1] ;
29566 if (!args
) SWIG_fail
;
29567 swig_obj
[0] = args
;
29568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29572 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29587 PyObject
*resultobj
= 0;
29588 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29591 PyObject
*swig_obj
[1] ;
29593 if (!args
) SWIG_fail
;
29594 swig_obj
[0] = args
;
29595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29599 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= SWIG_Py_Void();
29613 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29616 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29617 return SWIG_Py_Void();
29620 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29621 return SWIG_Python_InitShadowInstance(args
);
29624 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29625 PyObject
*resultobj
= 0;
29626 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29627 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29628 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29629 wxPrintPreview
*result
= 0 ;
29635 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29636 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29640 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29641 if (!SWIG_IsOK(res2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29645 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29646 if (!SWIG_IsOK(res3
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29649 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29652 if (!wxPyCheckForApp()) SWIG_fail
;
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29665 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29666 PyObject
*resultobj
= 0;
29667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29668 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29669 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29670 wxPrintPreview
*result
= 0 ;
29676 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29677 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29681 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29682 if (!SWIG_IsOK(res2
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29685 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29686 if (!SWIG_IsOK(res3
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29689 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29691 if (!wxPyCheckForApp()) SWIG_fail
;
29692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29693 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29694 wxPyEndAllowThreads(__tstate
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29704 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29708 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29710 if ((argc
>= 2) && (argc
<= 3)) {
29715 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29716 _v
= SWIG_CheckState(res
);
29718 if (!_v
) goto check_1
;
29720 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29725 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29729 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29734 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29735 PyObject
*resultobj
= 0;
29736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29739 PyObject
*swig_obj
[1] ;
29741 if (!args
) SWIG_fail
;
29742 swig_obj
[0] = args
;
29743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29744 if (!SWIG_IsOK(res1
)) {
29745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29747 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= SWIG_Py_Void();
29762 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
= 0;
29764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 char * kwnames
[] = {
29774 (char *) "self",(char *) "pageNum", NULL
29777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29782 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29784 if (!SWIG_IsOK(ecode2
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29787 arg2
= static_cast< int >(val2
);
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29803 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29804 PyObject
*resultobj
= 0;
29805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29809 PyObject
*swig_obj
[1] ;
29811 if (!args
) SWIG_fail
;
29812 swig_obj
[0] = args
;
29813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29817 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (int)(arg1
)->GetCurrentPage();
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= SWIG_From_int(static_cast< int >(result
));
29831 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29832 PyObject
*resultobj
= 0;
29833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29834 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29838 PyObject
* obj0
= 0 ;
29839 PyObject
* obj1
= 0 ;
29840 char * kwnames
[] = {
29841 (char *) "self",(char *) "printout", NULL
29844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29846 if (!SWIG_IsOK(res1
)) {
29847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29849 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29850 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29851 if (!SWIG_IsOK(res2
)) {
29852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 (arg1
)->SetPrintout(arg2
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_Py_Void();
29867 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29868 PyObject
*resultobj
= 0;
29869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29870 wxPyPrintout
*result
= 0 ;
29873 PyObject
*swig_obj
[1] ;
29875 if (!args
) SWIG_fail
;
29876 swig_obj
[0] = args
;
29877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29881 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= wxPyMake_wxObject(result
, 0);
29897 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29898 PyObject
*resultobj
= 0;
29899 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29900 wxPyPrintout
*result
= 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_wxPrintPreview
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29911 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= wxPyMake_wxObject(result
, 0);
29927 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
= 0;
29929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29930 wxFrame
*arg2
= (wxFrame
*) 0 ;
29935 PyObject
* obj0
= 0 ;
29936 PyObject
* obj1
= 0 ;
29937 char * kwnames
[] = {
29938 (char *) "self",(char *) "frame", NULL
29941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29943 if (!SWIG_IsOK(res1
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29946 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29948 if (!SWIG_IsOK(res2
)) {
29949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29951 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 (arg1
)->SetFrame(arg2
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= SWIG_Py_Void();
29965 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
= 0;
29967 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29968 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 char * kwnames
[] = {
29976 (char *) "self",(char *) "canvas", NULL
29979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29981 if (!SWIG_IsOK(res1
)) {
29982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29984 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29986 if (!SWIG_IsOK(res2
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29989 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 (arg1
)->SetCanvas(arg2
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_Py_Void();
30003 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30004 PyObject
*resultobj
= 0;
30005 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30006 wxFrame
*result
= 0 ;
30009 PyObject
*swig_obj
[1] ;
30011 if (!args
) SWIG_fail
;
30012 swig_obj
[0] = args
;
30013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30017 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (wxFrame
*)(arg1
)->GetFrame();
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= wxPyMake_wxObject(result
, 0);
30033 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30034 PyObject
*resultobj
= 0;
30035 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30036 wxPreviewCanvas
*result
= 0 ;
30039 PyObject
*swig_obj
[1] ;
30041 if (!args
) SWIG_fail
;
30042 swig_obj
[0] = args
;
30043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30044 if (!SWIG_IsOK(res1
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30047 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30061 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
= 0;
30063 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30064 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30073 PyObject
* obj0
= 0 ;
30074 PyObject
* obj1
= 0 ;
30075 PyObject
* obj2
= 0 ;
30076 char * kwnames
[] = {
30077 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30082 if (!SWIG_IsOK(res1
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30085 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30087 if (!SWIG_IsOK(res2
)) {
30088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30090 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30091 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30092 if (!SWIG_IsOK(res3
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30098 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30114 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
= 0;
30116 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30117 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 char * kwnames
[] = {
30130 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30138 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30140 if (!SWIG_IsOK(res2
)) {
30141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30143 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30144 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30145 if (!SWIG_IsOK(res3
)) {
30146 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30151 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30167 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
= 0;
30169 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30176 PyObject
* obj0
= 0 ;
30177 PyObject
* obj1
= 0 ;
30178 char * kwnames
[] = {
30179 (char *) "self",(char *) "pageNum", NULL
30182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30184 if (!SWIG_IsOK(res1
)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30187 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30189 if (!SWIG_IsOK(ecode2
)) {
30190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30192 arg2
= static_cast< int >(val2
);
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (bool)(arg1
)->RenderPage(arg2
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30208 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30211 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 char * kwnames
[] = {
30219 (char *) "self",(char *) "canvas", NULL
30222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30227 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30229 if (!SWIG_IsOK(res2
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30232 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 (arg1
)->AdjustScrollbars(arg2
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_Py_Void();
30246 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30247 PyObject
*resultobj
= 0;
30248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30249 wxPrintDialogData
*result
= 0 ;
30252 PyObject
*swig_obj
[1] ;
30254 if (!args
) SWIG_fail
;
30255 swig_obj
[0] = args
;
30256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30260 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30265 result
= (wxPrintDialogData
*) &_result_ref
;
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30277 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
= 0;
30279 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30285 PyObject
* obj0
= 0 ;
30286 PyObject
* obj1
= 0 ;
30287 char * kwnames
[] = {
30288 (char *) "self",(char *) "percent", NULL
30291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30293 if (!SWIG_IsOK(res1
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30296 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30298 if (!SWIG_IsOK(ecode2
)) {
30299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30301 arg2
= static_cast< int >(val2
);
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->SetZoom(arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= SWIG_Py_Void();
30315 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30316 PyObject
*resultobj
= 0;
30317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30321 PyObject
*swig_obj
[1] ;
30323 if (!args
) SWIG_fail
;
30324 swig_obj
[0] = args
;
30325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30329 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= (int)(arg1
)->GetZoom();
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= SWIG_From_int(static_cast< int >(result
));
30343 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30344 PyObject
*resultobj
= 0;
30345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30349 PyObject
*swig_obj
[1] ;
30351 if (!args
) SWIG_fail
;
30352 swig_obj
[0] = args
;
30353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30354 if (!SWIG_IsOK(res1
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30357 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 result
= (int)(arg1
)->GetMaxPage();
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= SWIG_From_int(static_cast< int >(result
));
30371 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30372 PyObject
*resultobj
= 0;
30373 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30377 PyObject
*swig_obj
[1] ;
30379 if (!args
) SWIG_fail
;
30380 swig_obj
[0] = args
;
30381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30385 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 result
= (int)(arg1
)->GetMinPage();
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30392 resultobj
= SWIG_From_int(static_cast< int >(result
));
30399 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30400 PyObject
*resultobj
= 0;
30401 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30405 PyObject
*swig_obj
[1] ;
30407 if (!args
) SWIG_fail
;
30408 swig_obj
[0] = args
;
30409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30410 if (!SWIG_IsOK(res1
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30413 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (bool)(arg1
)->IsOk();
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30429 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
= 0;
30431 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 char * kwnames
[] = {
30440 (char *) "self",(char *) "ok", NULL
30443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30445 if (!SWIG_IsOK(res1
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30448 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30450 if (!SWIG_IsOK(ecode2
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30453 arg2
= static_cast< bool >(val2
);
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 (arg1
)->SetOk(arg2
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_Py_Void();
30467 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
= 0;
30469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30476 PyObject
* obj0
= 0 ;
30477 PyObject
* obj1
= 0 ;
30478 char * kwnames
[] = {
30479 (char *) "self",(char *) "interactive", NULL
30482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30484 if (!SWIG_IsOK(res1
)) {
30485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30487 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30488 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30489 if (!SWIG_IsOK(ecode2
)) {
30490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30492 arg2
= static_cast< bool >(val2
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= (bool)(arg1
)->Print(arg2
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30508 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30509 PyObject
*resultobj
= 0;
30510 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30513 PyObject
*swig_obj
[1] ;
30515 if (!args
) SWIG_fail
;
30516 swig_obj
[0] = args
;
30517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30521 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 (arg1
)->DetermineScaling();
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= SWIG_Py_Void();
30535 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30538 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30539 return SWIG_Py_Void();
30542 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30543 return SWIG_Python_InitShadowInstance(args
);
30546 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30547 PyObject
*resultobj
= 0;
30548 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30549 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30550 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30551 wxPyPrintPreview
*result
= 0 ;
30557 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30558 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30562 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30563 if (!SWIG_IsOK(res2
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30567 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30568 if (!SWIG_IsOK(res3
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30571 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30574 if (!wxPyCheckForApp()) SWIG_fail
;
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30587 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30588 PyObject
*resultobj
= 0;
30589 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30590 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30591 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30592 wxPyPrintPreview
*result
= 0 ;
30598 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30599 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30600 if (!SWIG_IsOK(res1
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30603 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30604 if (!SWIG_IsOK(res2
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30607 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30608 if (!SWIG_IsOK(res3
)) {
30609 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30611 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30613 if (!wxPyCheckForApp()) SWIG_fail
;
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30626 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30630 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30632 if ((argc
>= 2) && (argc
<= 3)) {
30637 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30638 _v
= SWIG_CheckState(res
);
30640 if (!_v
) goto check_1
;
30642 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30647 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30651 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30656 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
= 0;
30658 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30659 PyObject
*arg2
= (PyObject
*) 0 ;
30660 PyObject
*arg3
= (PyObject
*) 0 ;
30663 PyObject
* obj0
= 0 ;
30664 PyObject
* obj1
= 0 ;
30665 PyObject
* obj2
= 0 ;
30666 char * kwnames
[] = {
30667 (char *) "self",(char *) "self",(char *) "_class", NULL
30670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30672 if (!SWIG_IsOK(res1
)) {
30673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30675 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_Py_Void();
30691 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30695 return SWIG_Py_Void();
30698 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 return SWIG_Python_InitShadowInstance(args
);
30702 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
= 0;
30704 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30705 wxFrame
*arg2
= (wxFrame
*) 0 ;
30706 wxString
*arg3
= 0 ;
30707 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30708 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30709 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30710 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30711 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30712 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30714 wxPyPreviewFrame
*result
= 0 ;
30719 bool temp3
= false ;
30724 bool temp7
= false ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 PyObject
* obj3
= 0 ;
30729 PyObject
* obj4
= 0 ;
30730 PyObject
* obj5
= 0 ;
30731 PyObject
* obj6
= 0 ;
30732 char * kwnames
[] = {
30733 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30738 if (!SWIG_IsOK(res1
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30741 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30743 if (!SWIG_IsOK(res2
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30746 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30748 arg3
= wxString_in_helper(obj2
);
30749 if (arg3
== NULL
) SWIG_fail
;
30755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30766 if (!SWIG_IsOK(ecode6
)) {
30767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30769 arg6
= static_cast< long >(val6
);
30773 arg7
= wxString_in_helper(obj6
);
30774 if (arg7
== NULL
) SWIG_fail
;
30779 if (!wxPyCheckForApp()) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30808 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
= 0;
30810 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30811 PyObject
*arg2
= (PyObject
*) 0 ;
30812 PyObject
*arg3
= (PyObject
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 PyObject
* obj2
= 0 ;
30818 char * kwnames
[] = {
30819 (char *) "self",(char *) "self",(char *) "_class", NULL
30822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30824 if (!SWIG_IsOK(res1
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30827 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= SWIG_Py_Void();
30843 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
= 0;
30845 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30846 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 char * kwnames
[] = {
30854 (char *) "self",(char *) "canvas", NULL
30857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30862 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30864 if (!SWIG_IsOK(res2
)) {
30865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30867 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30870 (arg1
)->SetPreviewCanvas(arg2
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= SWIG_Py_Void();
30881 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
= 0;
30883 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30884 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30889 PyObject
* obj0
= 0 ;
30890 PyObject
* obj1
= 0 ;
30891 char * kwnames
[] = {
30892 (char *) "self",(char *) "bar", NULL
30895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30897 if (!SWIG_IsOK(res1
)) {
30898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30900 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30902 if (!SWIG_IsOK(res2
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30905 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 (arg1
)->SetControlBar(arg2
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= SWIG_Py_Void();
30919 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30920 PyObject
*resultobj
= 0;
30921 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30932 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->Initialize();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_Py_Void();
30946 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30947 PyObject
*resultobj
= 0;
30948 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30951 PyObject
*swig_obj
[1] ;
30953 if (!args
) SWIG_fail
;
30954 swig_obj
[0] = args
;
30955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30959 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 (arg1
)->CreateCanvas();
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 resultobj
= SWIG_Py_Void();
30973 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30974 PyObject
*resultobj
= 0;
30975 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30978 PyObject
*swig_obj
[1] ;
30980 if (!args
) SWIG_fail
;
30981 swig_obj
[0] = args
;
30982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30983 if (!SWIG_IsOK(res1
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30986 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 (arg1
)->CreateControlBar();
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= SWIG_Py_Void();
31000 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31003 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31004 return SWIG_Py_Void();
31007 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31008 return SWIG_Python_InitShadowInstance(args
);
31011 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31012 PyObject
*resultobj
= 0;
31013 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31015 wxWindow
*arg3
= (wxWindow
*) 0 ;
31016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31020 long arg6
= (long) 0 ;
31021 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31023 wxPyPreviewControlBar
*result
= 0 ;
31034 bool temp7
= false ;
31035 PyObject
* obj0
= 0 ;
31036 PyObject
* obj1
= 0 ;
31037 PyObject
* obj2
= 0 ;
31038 PyObject
* obj3
= 0 ;
31039 PyObject
* obj4
= 0 ;
31040 PyObject
* obj5
= 0 ;
31041 PyObject
* obj6
= 0 ;
31042 char * kwnames
[] = {
31043 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31051 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31052 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31053 if (!SWIG_IsOK(ecode2
)) {
31054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31056 arg2
= static_cast< long >(val2
);
31057 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31058 if (!SWIG_IsOK(res3
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31061 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31075 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31076 if (!SWIG_IsOK(ecode6
)) {
31077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31079 arg6
= static_cast< long >(val6
);
31083 arg7
= wxString_in_helper(obj6
);
31084 if (arg7
== NULL
) SWIG_fail
;
31089 if (!wxPyCheckForApp()) SWIG_fail
;
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31110 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31113 PyObject
*arg2
= (PyObject
*) 0 ;
31114 PyObject
*arg3
= (PyObject
*) 0 ;
31117 PyObject
* obj0
= 0 ;
31118 PyObject
* obj1
= 0 ;
31119 PyObject
* obj2
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "self",(char *) "_class", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31129 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= SWIG_Py_Void();
31145 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
= 0;
31147 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31148 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 char * kwnames
[] = {
31156 (char *) "self",(char *) "preview", NULL
31159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31164 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31166 if (!SWIG_IsOK(res2
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31169 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 (arg1
)->SetPrintPreview(arg2
);
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= SWIG_Py_Void();
31183 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31184 PyObject
*resultobj
= 0;
31185 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31188 PyObject
*swig_obj
[1] ;
31190 if (!args
) SWIG_fail
;
31191 swig_obj
[0] = args
;
31192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31196 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 (arg1
)->CreateButtons();
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 resultobj
= SWIG_Py_Void();
31210 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
= 0;
31212 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char * kwnames
[] = {
31221 (char *) "self",(char *) "zoom", NULL
31224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31226 if (!SWIG_IsOK(res1
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31229 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31231 if (!SWIG_IsOK(ecode2
)) {
31232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31234 arg2
= static_cast< int >(val2
);
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 (arg1
)->SetZoomControl(arg2
);
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 resultobj
= SWIG_Py_Void();
31248 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31252 return SWIG_Py_Void();
31255 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31256 return SWIG_Python_InitShadowInstance(args
);
31259 static PyMethodDef SwigMethods
[] = {
31260 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31262 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31264 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31266 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31267 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31269 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31276 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31278 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31280 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31281 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31282 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31283 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31284 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31287 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31289 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31292 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31293 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31295 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31297 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31298 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31299 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31300 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31304 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31306 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31310 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31312 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31314 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31317 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31318 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31320 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31322 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31324 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31327 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31334 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31336 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31341 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31342 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31344 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31347 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31349 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31351 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31356 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31357 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31360 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31361 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31363 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31365 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31366 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31369 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31370 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31371 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31373 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31374 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31375 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31376 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31377 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31379 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31382 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31391 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31392 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31394 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31395 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31397 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31399 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31400 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31402 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31408 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31409 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31412 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31413 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31415 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31417 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31419 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31421 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31423 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31425 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31426 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31429 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31430 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31431 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31432 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31433 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31434 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31436 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31444 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31446 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31449 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31450 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31453 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31454 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31456 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31457 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31458 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31461 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31463 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31465 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31466 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31467 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31470 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31472 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31474 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31476 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31478 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31479 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31480 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31483 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31485 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31486 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31487 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31489 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31491 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31492 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31496 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31497 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31498 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31499 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31503 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31504 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31506 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31507 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31508 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31510 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31511 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31512 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31515 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31516 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31517 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31519 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31528 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31529 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31530 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31531 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31533 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31534 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31537 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31538 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31540 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31543 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31544 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31545 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31548 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31549 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31551 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31552 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31554 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31559 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31560 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31566 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31567 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31569 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31573 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31575 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31576 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31577 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31578 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31580 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31581 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31582 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31584 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31586 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31587 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31589 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31590 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31591 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31592 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31593 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31594 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31599 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31600 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31602 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31603 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31604 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31607 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31608 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31611 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31612 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31620 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31621 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31622 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31623 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31624 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31625 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31626 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31627 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31628 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31629 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31632 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31633 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31634 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31636 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31637 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31639 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31640 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31642 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31645 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31647 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31648 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31650 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31651 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31652 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31653 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31654 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31656 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31657 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31658 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31659 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31660 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31661 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31668 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31669 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31671 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31672 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31673 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31676 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31677 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31681 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31683 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31685 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31686 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31687 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31688 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31692 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31693 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31695 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31696 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31697 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31698 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31702 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31703 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31705 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31707 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31709 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31710 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31712 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31714 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31715 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31716 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31717 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31718 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31719 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31721 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31722 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31724 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31726 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31728 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31730 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31732 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31733 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31735 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31742 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31743 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31744 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31745 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31746 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31747 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31748 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31750 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31752 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31759 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31760 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31761 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31762 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31763 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31764 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31765 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31766 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31767 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31769 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31776 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31777 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31778 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31779 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31780 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31781 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31782 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31783 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31784 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31785 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31786 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31787 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31788 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31789 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31790 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31791 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31792 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31793 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31794 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31795 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31796 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31797 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31798 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
31799 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31812 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31814 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31816 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31817 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31818 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31819 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31825 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31826 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31827 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31828 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31829 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31830 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31831 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31832 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31833 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31834 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31835 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31836 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31837 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31838 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31839 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31849 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31850 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31851 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31852 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31854 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31855 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31856 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31857 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31858 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31859 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31860 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31861 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31862 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31863 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31864 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31865 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31866 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31867 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31868 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31869 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31870 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31884 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31885 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31886 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31887 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
31888 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31889 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31891 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31892 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31894 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31895 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31896 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31897 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31898 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31899 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31900 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31902 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31908 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31909 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31910 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31911 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31912 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31914 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31916 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31917 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
31922 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
31923 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
31925 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
31926 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
31927 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31932 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31934 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31936 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31938 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
31940 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31941 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31944 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31945 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31946 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31947 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31949 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31951 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31954 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31956 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31957 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31958 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31959 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31960 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31961 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31963 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31965 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31966 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31967 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31968 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31969 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31970 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31971 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31972 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31973 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31974 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31976 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31978 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31979 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31982 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31983 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31988 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31990 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31991 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31992 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
31993 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31996 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31997 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31998 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31999 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32001 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32002 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32007 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32008 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32009 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32010 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32011 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32015 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32017 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32018 { NULL
, NULL
, 0, NULL
}
32022 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32024 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32025 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32027 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32030 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32031 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32033 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32034 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32036 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32037 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32039 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32040 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32042 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32043 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32045 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32046 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32048 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32049 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32051 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32054 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32057 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32060 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32061 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32063 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32064 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32066 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32067 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32069 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32070 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32072 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32073 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32075 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32076 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32078 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32079 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32081 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32082 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32084 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32085 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32087 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32088 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32090 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32091 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32093 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32096 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32097 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32099 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32100 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32102 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32105 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32108 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32109 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32111 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32112 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32114 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32115 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32117 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32118 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32120 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32121 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32123 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32124 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32126 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32129 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32132 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32133 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32135 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32136 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32138 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32139 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32141 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32144 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32147 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32148 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32150 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32151 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32153 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32154 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32156 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32157 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32159 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32160 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32162 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32163 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32165 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32168 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32171 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32174 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32175 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32177 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32178 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32180 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32181 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32183 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32184 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32186 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32189 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32192 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32195 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32198 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32201 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32204 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32207 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32210 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32213 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32214 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32216 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32217 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32219 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32222 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32225 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32228 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32229 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32231 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32234 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32235 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32237 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32238 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32240 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32241 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32243 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32244 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32246 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32249 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32252 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32253 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32255 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32258 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32259 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32261 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32264 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32267 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32270 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32271 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32273 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32276 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32277 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32279 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32282 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32285 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32288 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32291 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32294 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32295 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32297 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32300 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32303 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32306 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32309 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32312 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32315 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32316 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32318 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32319 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32321 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32322 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32324 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
32325 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
32327 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32328 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32330 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32331 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32333 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32334 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32336 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32337 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32339 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32340 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32342 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32343 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32345 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32346 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32348 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32351 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32354 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32355 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32357 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32358 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32360 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32363 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32364 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32366 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32367 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32369 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32370 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32372 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32373 return (void *)((wxObject
*) ((wxSizer
*) x
));
32375 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32376 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32378 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32381 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32384 static void *_p_wxEventTo_p_wxObject(void *x
) {
32385 return (void *)((wxObject
*) ((wxEvent
*) x
));
32387 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32388 return (void *)((wxObject
*) ((wxFontData
*) x
));
32390 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32391 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32393 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32394 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32396 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32397 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32399 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32400 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32402 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32405 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32408 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32411 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32414 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32417 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32420 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32423 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32426 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32429 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32432 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32435 static void *_p_wxControlTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32438 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32441 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32444 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32447 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32450 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32453 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32456 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) ((wxColourData
*) x
));
32459 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32462 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32465 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32468 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32471 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32474 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32477 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32480 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32483 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32486 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32489 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32492 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32495 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32498 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32501 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32504 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32507 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32510 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32513 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32516 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32519 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32522 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32525 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32528 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32531 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32534 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32537 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32540 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32543 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32546 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32549 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32552 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32555 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32558 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32561 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32564 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32567 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32570 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32573 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32576 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32579 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32582 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32585 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32588 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32591 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32594 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32597 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32600 static void *_p_wxImageTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) ((wxImage
*) x
));
32603 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32606 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32609 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32612 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32615 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32618 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32621 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32624 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32627 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32630 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32633 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32636 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32639 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32642 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32645 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32648 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32651 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32654 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32657 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32660 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32663 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32666 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32669 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32672 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32675 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32678 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32681 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32684 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32687 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32690 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32693 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32696 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32699 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32702 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32705 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32708 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32711 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32714 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32717 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32720 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32723 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32726 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32729 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32732 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32735 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32738 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32741 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32744 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32747 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32750 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32753 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32756 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32759 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32762 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32763 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32765 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32766 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32768 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32769 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32771 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32772 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32774 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32775 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32777 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32778 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32780 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32781 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32783 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32784 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32786 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32787 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32789 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32790 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32792 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32793 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32795 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32796 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32798 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32799 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32801 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32802 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32804 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32805 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32807 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32808 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32810 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32811 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32813 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32814 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32816 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32819 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32822 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32823 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32825 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32826 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32828 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32829 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32831 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32832 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32834 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32835 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32837 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32838 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32840 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32841 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32843 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32844 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32846 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32847 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32849 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32852 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32855 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32858 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32861 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32864 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32867 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32870 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32873 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32874 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32876 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32877 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32879 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32880 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32882 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32883 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32885 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32886 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32888 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32889 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32891 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32892 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32894 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32895 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32897 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32898 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32900 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32901 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32903 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32904 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32906 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32907 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32909 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32910 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32912 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32913 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32915 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32916 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32918 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32919 return (void *)((wxWindow
*) ((wxControl
*) x
));
32921 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32922 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32924 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32925 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32927 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32928 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32930 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32931 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32933 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32934 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32936 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32937 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32939 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32940 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32942 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32943 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32945 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32946 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32948 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32949 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32951 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32952 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32954 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32957 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32958 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32960 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32961 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32963 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32964 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32966 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32967 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32969 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32970 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32972 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32973 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32975 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32976 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32978 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32979 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32981 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32982 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32984 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32985 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32987 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32988 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32990 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32991 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32993 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32994 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32996 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32997 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32999 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33000 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33002 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33003 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33005 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33006 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33008 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33009 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33011 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33012 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33014 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33015 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33017 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33018 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33020 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33021 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33023 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33024 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33026 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33027 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33029 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33030 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33032 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33033 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33035 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33036 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33038 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33039 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33041 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33042 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33044 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33045 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33047 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33048 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33050 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33051 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33053 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33054 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33056 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33057 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33059 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33060 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33062 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33063 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33065 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33066 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33068 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33069 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33071 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33072 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33074 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33075 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33077 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33078 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33080 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33081 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33082 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};
33083 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33084 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33085 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33086 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33087 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33088 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33089 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33090 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33091 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33092 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33093 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33094 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33095 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33096 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33097 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33098 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33099 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33100 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33101 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33102 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33103 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33104 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33105 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33106 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33107 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33108 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33109 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33110 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33111 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33112 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33113 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33114 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33115 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33116 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33117 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33118 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33119 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33120 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33121 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33122 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33123 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33124 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33125 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33126 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33127 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33128 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33129 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33130 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33131 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33132 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33133 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33134 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33135 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33136 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33137 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33138 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33139 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33140 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33141 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33142 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33143 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33144 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33145 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33146 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33147 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33148 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33149 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33150 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33151 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33152 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33153 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33154 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33155 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33156 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33157 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33158 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33159 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33160 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33161 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33162 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33163 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33164 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33165 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33166 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33167 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33168 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33169 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33170 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33171 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33172 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33173 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33174 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33175 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33176 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33177 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33178 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33179 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33180 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33181 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33182 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33183 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33184 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33185 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33186 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33187 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33188 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33189 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33190 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33191 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33192 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33193 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33194 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33195 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33196 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33197 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33198 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33199 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33200 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33201 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33202 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33203 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33204 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33205 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33206 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33207 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33208 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33209 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33210 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33211 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33212 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33213 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33214 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33215 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33216 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33217 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33218 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33219 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33232 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33233 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33234 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33235 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33236 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33237 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33238 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33239 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33240 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33245 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33247 static swig_type_info
*swig_type_initial
[] = {
33250 &_swigt__p_form_ops_t
,
33252 &_swigt__p_unsigned_char
,
33253 &_swigt__p_unsigned_int
,
33254 &_swigt__p_unsigned_long
,
33255 &_swigt__p_wxANIHandler
,
33256 &_swigt__p_wxAcceleratorTable
,
33257 &_swigt__p_wxActivateEvent
,
33258 &_swigt__p_wxArrayInt
,
33259 &_swigt__p_wxBMPHandler
,
33260 &_swigt__p_wxBitmap
,
33261 &_swigt__p_wxBoxSizer
,
33262 &_swigt__p_wxCURHandler
,
33263 &_swigt__p_wxCalculateLayoutEvent
,
33264 &_swigt__p_wxChildFocusEvent
,
33265 &_swigt__p_wxClipboardTextEvent
,
33266 &_swigt__p_wxCloseEvent
,
33267 &_swigt__p_wxColour
,
33268 &_swigt__p_wxColourData
,
33269 &_swigt__p_wxColourDialog
,
33270 &_swigt__p_wxCommandEvent
,
33271 &_swigt__p_wxContextMenuEvent
,
33272 &_swigt__p_wxControl
,
33273 &_swigt__p_wxControlWithItems
,
33275 &_swigt__p_wxDateEvent
,
33276 &_swigt__p_wxDialog
,
33277 &_swigt__p_wxDirDialog
,
33278 &_swigt__p_wxDisplayChangedEvent
,
33279 &_swigt__p_wxDropFilesEvent
,
33280 &_swigt__p_wxDuplexMode
,
33281 &_swigt__p_wxEraseEvent
,
33282 &_swigt__p_wxEvent
,
33283 &_swigt__p_wxEvtHandler
,
33284 &_swigt__p_wxFSFile
,
33285 &_swigt__p_wxFileDialog
,
33286 &_swigt__p_wxFileSystem
,
33287 &_swigt__p_wxFindDialogEvent
,
33288 &_swigt__p_wxFindReplaceData
,
33289 &_swigt__p_wxFindReplaceDialog
,
33290 &_swigt__p_wxFlexGridSizer
,
33291 &_swigt__p_wxFocusEvent
,
33293 &_swigt__p_wxFontData
,
33294 &_swigt__p_wxFontDialog
,
33295 &_swigt__p_wxFrame
,
33296 &_swigt__p_wxGBSizerItem
,
33297 &_swigt__p_wxGIFHandler
,
33298 &_swigt__p_wxGridBagSizer
,
33299 &_swigt__p_wxGridSizer
,
33300 &_swigt__p_wxHtmlLinkInfo
,
33301 &_swigt__p_wxICOHandler
,
33303 &_swigt__p_wxIconBundle
,
33304 &_swigt__p_wxIconizeEvent
,
33305 &_swigt__p_wxIdleEvent
,
33306 &_swigt__p_wxImage
,
33307 &_swigt__p_wxImageHandler
,
33308 &_swigt__p_wxIndividualLayoutConstraint
,
33309 &_swigt__p_wxInitDialogEvent
,
33310 &_swigt__p_wxJPEGHandler
,
33311 &_swigt__p_wxKeyEvent
,
33312 &_swigt__p_wxLayoutAlgorithm
,
33313 &_swigt__p_wxLayoutConstraints
,
33314 &_swigt__p_wxMDIChildFrame
,
33315 &_swigt__p_wxMDIClientWindow
,
33316 &_swigt__p_wxMDIParentFrame
,
33317 &_swigt__p_wxMaximizeEvent
,
33319 &_swigt__p_wxMenuBar
,
33320 &_swigt__p_wxMenuEvent
,
33321 &_swigt__p_wxMenuItem
,
33322 &_swigt__p_wxMessageDialog
,
33323 &_swigt__p_wxMiniFrame
,
33324 &_swigt__p_wxMouseCaptureChangedEvent
,
33325 &_swigt__p_wxMouseCaptureLostEvent
,
33326 &_swigt__p_wxMouseEvent
,
33327 &_swigt__p_wxMoveEvent
,
33328 &_swigt__p_wxMultiChoiceDialog
,
33329 &_swigt__p_wxNavigationKeyEvent
,
33330 &_swigt__p_wxNcPaintEvent
,
33331 &_swigt__p_wxNotifyEvent
,
33332 &_swigt__p_wxNumberEntryDialog
,
33333 &_swigt__p_wxObject
,
33334 &_swigt__p_wxPCXHandler
,
33335 &_swigt__p_wxPNGHandler
,
33336 &_swigt__p_wxPNMHandler
,
33337 &_swigt__p_wxPageSetupDialog
,
33338 &_swigt__p_wxPageSetupDialogData
,
33339 &_swigt__p_wxPaintEvent
,
33340 &_swigt__p_wxPaletteChangedEvent
,
33341 &_swigt__p_wxPanel
,
33342 &_swigt__p_wxPaperSize
,
33343 &_swigt__p_wxPasswordEntryDialog
,
33344 &_swigt__p_wxPoint
,
33345 &_swigt__p_wxPopupWindow
,
33346 &_swigt__p_wxPreviewCanvas
,
33347 &_swigt__p_wxPreviewControlBar
,
33348 &_swigt__p_wxPreviewFrame
,
33349 &_swigt__p_wxPrintData
,
33350 &_swigt__p_wxPrintDialog
,
33351 &_swigt__p_wxPrintDialogData
,
33352 &_swigt__p_wxPrintPreview
,
33353 &_swigt__p_wxPrinter
,
33354 &_swigt__p_wxProgressDialog
,
33355 &_swigt__p_wxPyApp
,
33356 &_swigt__p_wxPyCommandEvent
,
33357 &_swigt__p_wxPyEvent
,
33358 &_swigt__p_wxPyHtmlListBox
,
33359 &_swigt__p_wxPyImageHandler
,
33360 &_swigt__p_wxPyPanel
,
33361 &_swigt__p_wxPyPopupTransientWindow
,
33362 &_swigt__p_wxPyPreviewControlBar
,
33363 &_swigt__p_wxPyPreviewFrame
,
33364 &_swigt__p_wxPyPrintPreview
,
33365 &_swigt__p_wxPyPrintout
,
33366 &_swigt__p_wxPyScrolledWindow
,
33367 &_swigt__p_wxPySizer
,
33368 &_swigt__p_wxPyTaskBarIcon
,
33369 &_swigt__p_wxPyVListBox
,
33370 &_swigt__p_wxPyVScrolledWindow
,
33371 &_swigt__p_wxPyValidator
,
33372 &_swigt__p_wxPyWindow
,
33373 &_swigt__p_wxQueryLayoutInfoEvent
,
33374 &_swigt__p_wxQueryNewPaletteEvent
,
33376 &_swigt__p_wxRegion
,
33377 &_swigt__p_wxSashEvent
,
33378 &_swigt__p_wxSashLayoutWindow
,
33379 &_swigt__p_wxSashWindow
,
33380 &_swigt__p_wxScrollEvent
,
33381 &_swigt__p_wxScrollWinEvent
,
33382 &_swigt__p_wxScrolledWindow
,
33383 &_swigt__p_wxSetCursorEvent
,
33384 &_swigt__p_wxShowEvent
,
33385 &_swigt__p_wxSingleChoiceDialog
,
33387 &_swigt__p_wxSizeEvent
,
33388 &_swigt__p_wxSizer
,
33389 &_swigt__p_wxSizerItem
,
33390 &_swigt__p_wxSplashScreen
,
33391 &_swigt__p_wxSplashScreenWindow
,
33392 &_swigt__p_wxSplitterEvent
,
33393 &_swigt__p_wxSplitterWindow
,
33394 &_swigt__p_wxStaticBoxSizer
,
33395 &_swigt__p_wxStatusBar
,
33396 &_swigt__p_wxStdDialogButtonSizer
,
33397 &_swigt__p_wxString
,
33398 &_swigt__p_wxSysColourChangedEvent
,
33399 &_swigt__p_wxTGAHandler
,
33400 &_swigt__p_wxTIFFHandler
,
33401 &_swigt__p_wxTaskBarIcon
,
33402 &_swigt__p_wxTaskBarIconEvent
,
33403 &_swigt__p_wxTextEntryDialog
,
33404 &_swigt__p_wxTipWindow
,
33405 &_swigt__p_wxToolBar
,
33406 &_swigt__p_wxTopLevelWindow
,
33407 &_swigt__p_wxUpdateUIEvent
,
33408 &_swigt__p_wxValidator
,
33409 &_swigt__p_wxVisualAttributes
,
33410 &_swigt__p_wxWindow
,
33411 &_swigt__p_wxWindowCreateEvent
,
33412 &_swigt__p_wxWindowDestroyEvent
,
33413 &_swigt__p_wxXPMHandler
,
33416 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33417 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33418 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33419 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33420 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33421 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33422 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33423 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33424 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33425 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33426 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33427 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33428 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33429 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33430 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33431 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33432 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33433 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33434 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33435 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33436 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33437 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33438 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}};
33439 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33440 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}};
33441 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33442 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33443 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33444 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33445 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33446 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33447 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33448 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33449 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33450 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33451 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33452 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33453 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33454 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33455 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33456 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33457 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33458 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33459 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33460 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33461 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33462 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33463 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33464 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33465 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33466 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33467 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33468 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33469 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}};
33470 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33471 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33472 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33473 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33474 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33475 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33476 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33477 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33478 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33479 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33480 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33481 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33482 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33483 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33484 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33485 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33486 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33487 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33488 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33489 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33490 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33491 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33492 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33493 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33494 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33495 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33496 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33497 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}};
33498 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33499 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33500 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33501 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33502 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33503 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33504 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33505 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33506 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33507 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33508 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33509 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33510 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33511 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33512 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33513 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33514 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33515 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33516 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33517 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33518 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33519 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33520 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33521 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33522 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33523 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33524 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33525 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33526 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33527 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33528 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33529 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33530 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33531 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
33532 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33533 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33534 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33535 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33536 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33537 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}};
33538 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}};
33539 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33540 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33541 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33542 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}};
33543 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33544 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33545 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33546 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33547 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33548 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33549 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33550 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33551 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33552 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33553 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33562 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}};
33563 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33564 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}};
33565 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33574 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33575 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33576 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}};
33577 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33578 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33579 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33580 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info
*swig_cast_initial
[] = {
33586 _swigc__p_form_ops_t
,
33588 _swigc__p_unsigned_char
,
33589 _swigc__p_unsigned_int
,
33590 _swigc__p_unsigned_long
,
33591 _swigc__p_wxANIHandler
,
33592 _swigc__p_wxAcceleratorTable
,
33593 _swigc__p_wxActivateEvent
,
33594 _swigc__p_wxArrayInt
,
33595 _swigc__p_wxBMPHandler
,
33596 _swigc__p_wxBitmap
,
33597 _swigc__p_wxBoxSizer
,
33598 _swigc__p_wxCURHandler
,
33599 _swigc__p_wxCalculateLayoutEvent
,
33600 _swigc__p_wxChildFocusEvent
,
33601 _swigc__p_wxClipboardTextEvent
,
33602 _swigc__p_wxCloseEvent
,
33603 _swigc__p_wxColour
,
33604 _swigc__p_wxColourData
,
33605 _swigc__p_wxColourDialog
,
33606 _swigc__p_wxCommandEvent
,
33607 _swigc__p_wxContextMenuEvent
,
33608 _swigc__p_wxControl
,
33609 _swigc__p_wxControlWithItems
,
33611 _swigc__p_wxDateEvent
,
33612 _swigc__p_wxDialog
,
33613 _swigc__p_wxDirDialog
,
33614 _swigc__p_wxDisplayChangedEvent
,
33615 _swigc__p_wxDropFilesEvent
,
33616 _swigc__p_wxDuplexMode
,
33617 _swigc__p_wxEraseEvent
,
33619 _swigc__p_wxEvtHandler
,
33620 _swigc__p_wxFSFile
,
33621 _swigc__p_wxFileDialog
,
33622 _swigc__p_wxFileSystem
,
33623 _swigc__p_wxFindDialogEvent
,
33624 _swigc__p_wxFindReplaceData
,
33625 _swigc__p_wxFindReplaceDialog
,
33626 _swigc__p_wxFlexGridSizer
,
33627 _swigc__p_wxFocusEvent
,
33629 _swigc__p_wxFontData
,
33630 _swigc__p_wxFontDialog
,
33632 _swigc__p_wxGBSizerItem
,
33633 _swigc__p_wxGIFHandler
,
33634 _swigc__p_wxGridBagSizer
,
33635 _swigc__p_wxGridSizer
,
33636 _swigc__p_wxHtmlLinkInfo
,
33637 _swigc__p_wxICOHandler
,
33639 _swigc__p_wxIconBundle
,
33640 _swigc__p_wxIconizeEvent
,
33641 _swigc__p_wxIdleEvent
,
33643 _swigc__p_wxImageHandler
,
33644 _swigc__p_wxIndividualLayoutConstraint
,
33645 _swigc__p_wxInitDialogEvent
,
33646 _swigc__p_wxJPEGHandler
,
33647 _swigc__p_wxKeyEvent
,
33648 _swigc__p_wxLayoutAlgorithm
,
33649 _swigc__p_wxLayoutConstraints
,
33650 _swigc__p_wxMDIChildFrame
,
33651 _swigc__p_wxMDIClientWindow
,
33652 _swigc__p_wxMDIParentFrame
,
33653 _swigc__p_wxMaximizeEvent
,
33655 _swigc__p_wxMenuBar
,
33656 _swigc__p_wxMenuEvent
,
33657 _swigc__p_wxMenuItem
,
33658 _swigc__p_wxMessageDialog
,
33659 _swigc__p_wxMiniFrame
,
33660 _swigc__p_wxMouseCaptureChangedEvent
,
33661 _swigc__p_wxMouseCaptureLostEvent
,
33662 _swigc__p_wxMouseEvent
,
33663 _swigc__p_wxMoveEvent
,
33664 _swigc__p_wxMultiChoiceDialog
,
33665 _swigc__p_wxNavigationKeyEvent
,
33666 _swigc__p_wxNcPaintEvent
,
33667 _swigc__p_wxNotifyEvent
,
33668 _swigc__p_wxNumberEntryDialog
,
33669 _swigc__p_wxObject
,
33670 _swigc__p_wxPCXHandler
,
33671 _swigc__p_wxPNGHandler
,
33672 _swigc__p_wxPNMHandler
,
33673 _swigc__p_wxPageSetupDialog
,
33674 _swigc__p_wxPageSetupDialogData
,
33675 _swigc__p_wxPaintEvent
,
33676 _swigc__p_wxPaletteChangedEvent
,
33678 _swigc__p_wxPaperSize
,
33679 _swigc__p_wxPasswordEntryDialog
,
33681 _swigc__p_wxPopupWindow
,
33682 _swigc__p_wxPreviewCanvas
,
33683 _swigc__p_wxPreviewControlBar
,
33684 _swigc__p_wxPreviewFrame
,
33685 _swigc__p_wxPrintData
,
33686 _swigc__p_wxPrintDialog
,
33687 _swigc__p_wxPrintDialogData
,
33688 _swigc__p_wxPrintPreview
,
33689 _swigc__p_wxPrinter
,
33690 _swigc__p_wxProgressDialog
,
33692 _swigc__p_wxPyCommandEvent
,
33693 _swigc__p_wxPyEvent
,
33694 _swigc__p_wxPyHtmlListBox
,
33695 _swigc__p_wxPyImageHandler
,
33696 _swigc__p_wxPyPanel
,
33697 _swigc__p_wxPyPopupTransientWindow
,
33698 _swigc__p_wxPyPreviewControlBar
,
33699 _swigc__p_wxPyPreviewFrame
,
33700 _swigc__p_wxPyPrintPreview
,
33701 _swigc__p_wxPyPrintout
,
33702 _swigc__p_wxPyScrolledWindow
,
33703 _swigc__p_wxPySizer
,
33704 _swigc__p_wxPyTaskBarIcon
,
33705 _swigc__p_wxPyVListBox
,
33706 _swigc__p_wxPyVScrolledWindow
,
33707 _swigc__p_wxPyValidator
,
33708 _swigc__p_wxPyWindow
,
33709 _swigc__p_wxQueryLayoutInfoEvent
,
33710 _swigc__p_wxQueryNewPaletteEvent
,
33712 _swigc__p_wxRegion
,
33713 _swigc__p_wxSashEvent
,
33714 _swigc__p_wxSashLayoutWindow
,
33715 _swigc__p_wxSashWindow
,
33716 _swigc__p_wxScrollEvent
,
33717 _swigc__p_wxScrollWinEvent
,
33718 _swigc__p_wxScrolledWindow
,
33719 _swigc__p_wxSetCursorEvent
,
33720 _swigc__p_wxShowEvent
,
33721 _swigc__p_wxSingleChoiceDialog
,
33723 _swigc__p_wxSizeEvent
,
33725 _swigc__p_wxSizerItem
,
33726 _swigc__p_wxSplashScreen
,
33727 _swigc__p_wxSplashScreenWindow
,
33728 _swigc__p_wxSplitterEvent
,
33729 _swigc__p_wxSplitterWindow
,
33730 _swigc__p_wxStaticBoxSizer
,
33731 _swigc__p_wxStatusBar
,
33732 _swigc__p_wxStdDialogButtonSizer
,
33733 _swigc__p_wxString
,
33734 _swigc__p_wxSysColourChangedEvent
,
33735 _swigc__p_wxTGAHandler
,
33736 _swigc__p_wxTIFFHandler
,
33737 _swigc__p_wxTaskBarIcon
,
33738 _swigc__p_wxTaskBarIconEvent
,
33739 _swigc__p_wxTextEntryDialog
,
33740 _swigc__p_wxTipWindow
,
33741 _swigc__p_wxToolBar
,
33742 _swigc__p_wxTopLevelWindow
,
33743 _swigc__p_wxUpdateUIEvent
,
33744 _swigc__p_wxValidator
,
33745 _swigc__p_wxVisualAttributes
,
33746 _swigc__p_wxWindow
,
33747 _swigc__p_wxWindowCreateEvent
,
33748 _swigc__p_wxWindowDestroyEvent
,
33749 _swigc__p_wxXPMHandler
,
33753 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33755 static swig_const_info swig_const_table
[] = {
33756 {0, 0, 0, 0.0, 0, 0}};
33761 /* -----------------------------------------------------------------------------
33762 * Type initialization:
33763 * This problem is tough by the requirement that no dynamic
33764 * memory is used. Also, since swig_type_info structures store pointers to
33765 * swig_cast_info structures and swig_cast_info structures store pointers back
33766 * to swig_type_info structures, we need some lookup code at initialization.
33767 * The idea is that swig generates all the structures that are needed.
33768 * The runtime then collects these partially filled structures.
33769 * The SWIG_InitializeModule function takes these initial arrays out of
33770 * swig_module, and does all the lookup, filling in the swig_module.types
33771 * array with the correct data and linking the correct swig_cast_info
33772 * structures together.
33774 * The generated swig_type_info structures are assigned staticly to an initial
33775 * array. We just loop though that array, and handle each type individually.
33776 * First we lookup if this type has been already loaded, and if so, use the
33777 * loaded structure instead of the generated one. Then we have to fill in the
33778 * cast linked list. The cast data is initially stored in something like a
33779 * two-dimensional array. Each row corresponds to a type (there are the same
33780 * number of rows as there are in the swig_type_initial array). Each entry in
33781 * a column is one of the swig_cast_info structures for that type.
33782 * The cast_initial array is actually an array of arrays, because each row has
33783 * a variable number of columns. So to actually build the cast linked list,
33784 * we find the array of casts associated with the type, and loop through it
33785 * adding the casts to the list. The one last trick we need to do is making
33786 * sure the type pointer in the swig_cast_info struct is correct.
33788 * First off, we lookup the cast->type name to see if it is already loaded.
33789 * There are three cases to handle:
33790 * 1) If the cast->type has already been loaded AND the type we are adding
33791 * casting info to has not been loaded (it is in this module), THEN we
33792 * replace the cast->type pointer with the type pointer that has already
33794 * 2) If BOTH types (the one we are adding casting info to, and the
33795 * cast->type) are loaded, THEN the cast info has already been loaded by
33796 * the previous module so we just ignore it.
33797 * 3) Finally, if cast->type has not already been loaded, then we add that
33798 * swig_cast_info to the linked list (because the cast->type) pointer will
33800 * ----------------------------------------------------------------------------- */
33810 #define SWIGRUNTIME_DEBUG
33814 SWIG_InitializeModule(void *clientdata
) {
33816 swig_module_info
*module_head
;
33817 static int init_run
= 0;
33819 clientdata
= clientdata
;
33821 if (init_run
) return;
33824 /* Initialize the swig_module */
33825 swig_module
.type_initial
= swig_type_initial
;
33826 swig_module
.cast_initial
= swig_cast_initial
;
33828 /* Try and load any already created modules */
33829 module_head
= SWIG_GetModule(clientdata
);
33831 swig_module
.next
= module_head
->next
;
33832 module_head
->next
= &swig_module
;
33834 /* This is the first module loaded */
33835 swig_module
.next
= &swig_module
;
33836 SWIG_SetModule(clientdata
, &swig_module
);
33839 /* Now work on filling in swig_module.types */
33840 #ifdef SWIGRUNTIME_DEBUG
33841 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33843 for (i
= 0; i
< swig_module
.size
; ++i
) {
33844 swig_type_info
*type
= 0;
33845 swig_type_info
*ret
;
33846 swig_cast_info
*cast
;
33848 #ifdef SWIGRUNTIME_DEBUG
33849 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33852 /* if there is another module already loaded */
33853 if (swig_module
.next
!= &swig_module
) {
33854 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33857 /* Overwrite clientdata field */
33858 #ifdef SWIGRUNTIME_DEBUG
33859 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33861 if (swig_module
.type_initial
[i
]->clientdata
) {
33862 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33863 #ifdef SWIGRUNTIME_DEBUG
33864 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33868 type
= swig_module
.type_initial
[i
];
33871 /* Insert casting types */
33872 cast
= swig_module
.cast_initial
[i
];
33873 while (cast
->type
) {
33874 /* Don't need to add information already in the list */
33876 #ifdef SWIGRUNTIME_DEBUG
33877 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33879 if (swig_module
.next
!= &swig_module
) {
33880 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33881 #ifdef SWIGRUNTIME_DEBUG
33882 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33886 if (type
== swig_module
.type_initial
[i
]) {
33887 #ifdef SWIGRUNTIME_DEBUG
33888 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33893 /* Check for casting already in the list */
33894 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33895 #ifdef SWIGRUNTIME_DEBUG
33896 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33898 if (!ocast
) ret
= 0;
33903 #ifdef SWIGRUNTIME_DEBUG
33904 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33907 type
->cast
->prev
= cast
;
33908 cast
->next
= type
->cast
;
33914 /* Set entry in modules->types array equal to the type */
33915 swig_module
.types
[i
] = type
;
33917 swig_module
.types
[i
] = 0;
33919 #ifdef SWIGRUNTIME_DEBUG
33920 printf("**** SWIG_InitializeModule: Cast List ******\n");
33921 for (i
= 0; i
< swig_module
.size
; ++i
) {
33923 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33924 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33925 while (cast
->type
) {
33926 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33930 printf("---- Total casts: %d\n",j
);
33932 printf("**** SWIG_InitializeModule: Cast List ******\n");
33936 /* This function will propagate the clientdata field of type to
33937 * any new swig_type_info structures that have been added into the list
33938 * of equivalent types. It is like calling
33939 * SWIG_TypeClientData(type, clientdata) a second time.
33942 SWIG_PropagateClientData(void) {
33944 swig_cast_info
*equiv
;
33945 static int init_run
= 0;
33947 if (init_run
) return;
33950 for (i
= 0; i
< swig_module
.size
; i
++) {
33951 if (swig_module
.types
[i
]->clientdata
) {
33952 equiv
= swig_module
.types
[i
]->cast
;
33954 if (!equiv
->converter
) {
33955 if (equiv
->type
&& !equiv
->type
->clientdata
)
33956 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33958 equiv
= equiv
->next
;
33978 /* Python-specific SWIG API */
33979 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33980 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33981 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33983 /* -----------------------------------------------------------------------------
33984 * global variable support code.
33985 * ----------------------------------------------------------------------------- */
33987 typedef struct swig_globalvar
{
33988 char *name
; /* Name of global variable */
33989 PyObject
*(*get_attr
)(void); /* Return the current value */
33990 int (*set_attr
)(PyObject
*); /* Set the value */
33991 struct swig_globalvar
*next
;
33994 typedef struct swig_varlinkobject
{
33996 swig_globalvar
*vars
;
33997 } swig_varlinkobject
;
33999 SWIGINTERN PyObject
*
34000 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34001 return PyString_FromString("<Swig global variables>");
34004 SWIGINTERN PyObject
*
34005 swig_varlink_str(swig_varlinkobject
*v
) {
34006 PyObject
*str
= PyString_FromString("(");
34007 swig_globalvar
*var
;
34008 for (var
= v
->vars
; var
; var
=var
->next
) {
34009 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34010 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34012 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34017 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34018 PyObject
*str
= swig_varlink_str(v
);
34019 fprintf(fp
,"Swig global variables ");
34020 fprintf(fp
,"%s\n", PyString_AsString(str
));
34026 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34027 swig_globalvar
*var
= v
->vars
;
34029 swig_globalvar
*n
= var
->next
;
34036 SWIGINTERN PyObject
*
34037 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34038 PyObject
*res
= NULL
;
34039 swig_globalvar
*var
= v
->vars
;
34041 if (strcmp(var
->name
,n
) == 0) {
34042 res
= (*var
->get_attr
)();
34047 if (res
== NULL
&& !PyErr_Occurred()) {
34048 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34054 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34056 swig_globalvar
*var
= v
->vars
;
34058 if (strcmp(var
->name
,n
) == 0) {
34059 res
= (*var
->set_attr
)(p
);
34064 if (res
== 1 && !PyErr_Occurred()) {
34065 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34070 SWIGINTERN PyTypeObject
*
34071 swig_varlink_type(void) {
34072 static char varlink__doc__
[] = "Swig var link object";
34073 static PyTypeObject varlink_type
;
34074 static int type_init
= 0;
34076 const PyTypeObject tmp
34078 PyObject_HEAD_INIT(NULL
)
34079 0, /* Number of items in variable part (ob_size) */
34080 (char *)"swigvarlink", /* Type name (tp_name) */
34081 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34082 0, /* Itemsize (tp_itemsize) */
34083 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34084 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34085 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34086 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34087 0, /* tp_compare */
34088 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34089 0, /* tp_as_number */
34090 0, /* tp_as_sequence */
34091 0, /* tp_as_mapping */
34094 (reprfunc
)swig_varlink_str
, /* tp_str */
34095 0, /* tp_getattro */
34096 0, /* tp_setattro */
34097 0, /* tp_as_buffer */
34099 varlink__doc__
, /* tp_doc */
34100 0, /* tp_traverse */
34102 0, /* tp_richcompare */
34103 0, /* tp_weaklistoffset */
34104 #if PY_VERSION_HEX >= 0x02020000
34105 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34107 #if PY_VERSION_HEX >= 0x02030000
34110 #ifdef COUNT_ALLOCS
34111 0,0,0,0 /* tp_alloc -> tp_next */
34114 varlink_type
= tmp
;
34115 varlink_type
.ob_type
= &PyType_Type
;
34118 return &varlink_type
;
34121 /* Create a variable linking object for use later */
34122 SWIGINTERN PyObject
*
34123 SWIG_Python_newvarlink(void) {
34124 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34128 return ((PyObject
*) result
);
34132 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34133 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34134 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34136 size_t size
= strlen(name
)+1;
34137 gv
->name
= (char *)malloc(size
);
34139 strncpy(gv
->name
,name
,size
);
34140 gv
->get_attr
= get_attr
;
34141 gv
->set_attr
= set_attr
;
34142 gv
->next
= v
->vars
;
34148 SWIGINTERN PyObject
*
34150 static PyObject
*_SWIG_globals
= 0;
34151 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34152 return _SWIG_globals
;
34155 /* -----------------------------------------------------------------------------
34156 * constants/methods manipulation
34157 * ----------------------------------------------------------------------------- */
34159 /* Install Constants */
34161 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34164 for (i
= 0; constants
[i
].type
; ++i
) {
34165 switch(constants
[i
].type
) {
34166 case SWIG_PY_POINTER
:
34167 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34169 case SWIG_PY_BINARY
:
34170 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34177 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34183 /* -----------------------------------------------------------------------------*/
34184 /* Fix SwigMethods to carry the callback ptrs when needed */
34185 /* -----------------------------------------------------------------------------*/
34188 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34189 swig_const_info
*const_table
,
34190 swig_type_info
**types
,
34191 swig_type_info
**types_initial
) {
34193 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34194 const char *c
= methods
[i
].ml_doc
;
34195 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34197 swig_const_info
*ci
= 0;
34198 const char *name
= c
+ 10;
34199 for (j
= 0; const_table
[j
].type
; ++j
) {
34200 if (strncmp(const_table
[j
].name
, name
,
34201 strlen(const_table
[j
].name
)) == 0) {
34202 ci
= &(const_table
[j
]);
34207 size_t shift
= (ci
->ptype
) - types
;
34208 swig_type_info
*ty
= types_initial
[shift
];
34209 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34210 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34211 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34214 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34216 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34218 strncpy(buff
, "swig_ptr: ", 10);
34220 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34221 methods
[i
].ml_doc
= ndoc
;
34233 /* -----------------------------------------------------------------------------*
34234 * Partial Init method
34235 * -----------------------------------------------------------------------------*/
34240 SWIGEXPORT
void SWIG_init(void) {
34243 /* Fix SwigMethods to carry the callback ptrs when needed */
34244 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34246 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34247 d
= PyModule_GetDict(m
);
34249 SWIG_InitializeModule(0);
34250 SWIG_InstallConstants(d
,swig_const_table
);
34253 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34254 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34255 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34256 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34257 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34258 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34259 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34260 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34261 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34262 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34263 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34264 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34265 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34266 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34267 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34268 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34269 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34270 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34271 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34272 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34273 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34274 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34275 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34276 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34277 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34278 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34279 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34280 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34281 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34282 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34283 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34284 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34285 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34286 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34287 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34288 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34289 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34290 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34291 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34292 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34293 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34294 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34295 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34296 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34297 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34298 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34299 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34300 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34301 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34302 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34303 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34304 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34305 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34306 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34307 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34308 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34309 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34310 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34311 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34312 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34313 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34314 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34315 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34316 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34317 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34318 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34319 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34320 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34321 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34322 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34323 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34324 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34325 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34326 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34327 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34328 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34329 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34330 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34331 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34332 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34333 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34334 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34335 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34336 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34337 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34338 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34339 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34340 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34341 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34342 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34343 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34344 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34345 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34346 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34347 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34348 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34349 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34350 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34351 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34352 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34353 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34354 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34355 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34356 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34357 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34358 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34360 // Map renamed classes back to their common name for OOR
34361 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34362 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34363 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34365 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34366 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34367 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34368 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34369 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34370 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34371 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34372 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34373 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34374 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34375 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34376 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34377 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34378 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34379 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34380 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34381 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34382 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34383 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34384 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34385 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34386 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34387 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34388 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34389 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34390 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34391 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34392 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34393 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34394 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34395 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34396 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34397 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34398 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34399 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34400 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34401 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34402 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34403 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34404 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34405 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34406 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34407 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34408 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34409 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34410 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34411 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34412 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34413 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34414 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34415 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34416 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34417 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34418 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34419 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34420 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34421 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34422 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34423 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34424 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34425 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34426 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34427 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34428 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34429 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34430 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34431 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34432 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34433 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34434 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34435 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34436 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34437 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34438 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34439 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34440 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34441 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34442 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34443 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34444 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34445 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34446 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34447 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34448 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34449 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34450 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34451 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34452 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34453 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34454 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34455 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34456 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34457 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34458 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34459 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34460 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34461 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34462 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34463 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34464 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34465 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34466 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34467 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34468 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34470 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");